Convert all missing topic flags into stub topics flagged as incomplete
View on GitHubskills/kodex-bootstrap-missing/SKILL.md
February 3, 2026
Select agents to install to:
npx add-skill https://github.com/ben-mad-jlp/claude-mermaid-collab/blob/main/skills/kodex-bootstrap-missing/SKILL.md -a claude-code --skill kodex-bootstrap-missingInstallation paths:
.claude/skills/kodex-bootstrap-missing/# Kodex Bootstrap Missing
Batch-process all "missing" topic flags by creating stub topics and flagging them as incomplete.
## Overview
This skill quickly converts all open "missing" flags into stub topics, clearing the missing queue. Unlike `kodex-fix-missing` (which does full research for one topic), this creates minimal stubs that can be filled in later.
**Use when:**
- Many missing flags have accumulated
- Want to quickly establish topic structure
- Will fill in details later with `/kodex-fix`
**Comparison with related skills:**
| Skill | Behavior |
|-------|----------|
| `kodex-fix-missing` | One flag, full research, detailed content |
| `kodex-init` | Analyzes codebase, proposes topics |
| **`kodex-bootstrap-missing`** | Batch process, minimal stubs, quick conversion |
---
## Step 1: List Missing Flags
Retrieve all open flags and filter for type "missing":
```
Tool: mcp__plugin_mermaid-collab_mermaid__kodex_list_flags
Args: {
"project": "<cwd>",
"status": "open"
}
```
Filter the results to only include flags where `type === "missing"`.
**If no missing flags found:**
```
No missing topic flags found. Nothing to bootstrap.
```
Exit skill.
---
## Step 2: Present for Confirmation
Display the missing topics to the user:
```
Found N missing topic flags to bootstrap:
1. topic-name-1: "Description from flag"
2. topic-name-2: "Description from flag"
...
This will create stub topics for each and flag them as incomplete.
```
Ask for approval:
```
Tool: AskUserQuestion
Args: {
"questions": [{
"question": "Create stub topics for all N missing flags?",
"header": "Bootstrap",
"options": [
{ "label": "Yes, create all", "description": "Create stub topics and flag as incomplete" },
{ "label": "No, cancel", "description": "Exit without changes" }
],
"multiSelect": false
}]
}
```
If user cancels, exit with:
```
Bootstrap cancelled. No topics created.
```
---
## Step 3: Create Stub Topics
For each missing flag, create