Skip to content
Agentmart
Submit a tool

wiki-migrate

One-time migration — replace raw file reads in the CLAUDE.md/AGENTS.md startup sequence with wiki articles.

Skill by askidmobile

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/askidmobile-wiki-migrate

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

One-time migration — replace raw file reads in the CLAUDE.md/AGENTS.md startup sequence with wiki articles.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/wiki-migrate

What's inside

Skill name
wiki-migrate
Description
One-time migration — replace raw file reads in the CLAUDE.md/AGENTS.md startup sequence with wiki articles.
License
MIT
Instructions
88 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Migrate to Wiki-First Startup

One-time migration command. Analyzes your AGENTS.md or CLAUDE.md session startup sequence and shows which raw file reads can be replaced by wiki articles.

## Instructions

### Step 1: Validate

- Read `.wiki-compiler.json` — if not found, tell the user to run `/wiki-init` first
- Check that the wiki has been compiled at least once (INDEX.md and topic articles exist)
- If not compiled, tell the user to run `/wiki-compile` first

### Step 2: Find startup instructions

Look for session startup instructions in this order:
1. `AGENTS.md` in the project root
2. `CLAUDE.md` in the project root
3. Any file referenced by `CLAUDE.md` that contains startup/context loading instructions

Identify the section that lists files to read at session start. Look for patterns like:
- "Read these files", "Session Startup", "Before doing any work, read..."
- Numbered lists of file paths with descriptions
- References to context files, knowledge bases, or startup sequences

### Step 3: Map raw files to wiki topics

For each file listed in the startup sequence:
1. Read the wiki INDEX.md to get the list of topics
2. For each raw file, check if its content is covered by a wiki topic:
   - Match by filename appearing in a topic's Sources section
   - Match by content overlap (the raw file's key terms appearing in a topic article)
3. Check the coverage level of the relevant topic sections

### Step 4: Present the coverage report

```
Wiki Migration Report for {project name}

Current startup: {N} file reads

✅ {filename} → covered by {topic} [coverage: high]
✅ {filename} → covered by {topic} [coverage: high]
⚠️ {filename} → partially covered by {topic} [coverage: medium]
   → Check raw source for: {what's missing}
⚠️ {filename} → partially covered by {topic} [coverage: low]
   → Read raw source directly for granular detail
❌ {filename} → not covered by any wiki topic
   → Keep this in startup, or /wiki-ingest to add it

Summary: {covered}/{total} reads can be replaced by wiki
Estimated token savings: ~{old_tokens} → ~{new_tokens} ({reduction}% reduction)
```

### Step 5: Generate replacement startup block

Based on the report, generate a replacement startup section that:
1. Reads wiki INDEX.md first
2. Lists relevant topic articles by work area
3. Keeps any ❌ items as direct file reads (operational rules, checklists)
4. Includes coverage-based fallback instructions

Present the replacement block to the user:

```
Here's a suggested replacement for your startup section:

{generated startup block}

Want me to apply this? (I'll only edit the startup section — everything else stays the same.)
```

### Step 6: Apply (with confirmation)

**Only if the user confirms:**
- Replace the startup section in AGENTS.md or CLAUDE.md
- Keep everything outside the startup section unchanged
- Show a diff of what changed

**Never auto-apply.** The user must explicitly confirm before any file is modified.

## Arguments

- No arguments: analyzes and reports
- `--apply`: skip the confirmation prompt and apply immediately (for scripting)
- `--dry-run`: just show the report, don't offer to apply

From askidmobile/ai-spec-kit, MIT.

More from askidmobile/ai-spec-kit

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Aug 9, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from askidmobile

Cite this page

wiki-migrate skill. Agent Mart. https://agentmart.dev/skills/askidmobile-wiki-migrate (last updated 2026-10-24)