wiki-migrate
Use to normalize an EXISTING wiki that predates the standard or has drifted, bringing it to the agent-wiki layout.
Skill by omnilertlabs
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/omnilertlabs-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.
About
Use cases: agent-building
Reviews
Write a reviewNo 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
- Use to normalize an EXISTING wiki that predates the standard or has drifted, bringing it to the agent-wiki layout. Triggers: 'migrate the wiki', 'normalize the wiki', 'bring this wiki up to standard', 'fix the wiki structure'.
- License
- MIT
- Instructions
- 62 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- body: contains an absolute path from the author's machine
Files (1)
- SKILL.md
SKILL.md (first lines)
# wiki-migrate
**Dry-run:** if invoked with `--dry-run` (or "dry run" / "plan"), do steps 1–2 (read +
audit) and output a CHANGE PLAN — every file you would create or modify, each with a
one-line summary and a proposed diff — then STOP without writing or committing. This is
the audit-before-you-commit path. (Without `--dry-run`, step 3 still proposes before
rewriting, but `--dry-run` guarantees a no-write report you can review in full.)
1. Read the existing wiki. Identify deviations from PROTOCOL.md (missing index
manifest entries, non-standard log format, pages not cross-linked, protocol prose
sitting in CLAUDE.md instead of pointing at the plugin).
2. Audit for knowledge stored OUTSIDE the wiki — the most common drift:
- `.claude/agents/*` persona files: these should define ROLE/BEHAVIOR and point at
the wiki (e.g. "read contracts.md"), NOT duplicate domain facts. Flag any embedded
domain knowledge, and especially STALE facts that contradict the wiki (e.g. a
persona hardcoding an old contract value). Cross-check persona claims against the
wiki pages they reference.
- Stray memory/notes files (MEMORY.md, notes*.md, scratch*.md, ad-hoc docs) holding
domain knowledge that belongs in the wiki.
- **Per-project auto-memory** at `~/.claude/projects/<ENCODED>/memory/`. The encoded
dir name is the repo's ABSOLUTE path with every `/` and `_` replaced by `-` — so it
**begins with a leading `-`** (the path starts with `/`). DON'T hand-guess it; compute
it from the repo root:
```
dir="$HOME/.claude/projects/$(cd <repo> && pwd | sed 's#[/_]#-#g')/memory"
ls -la "$dir" 2>/dev/null # if empty, fall back to: ls ~/.claude/projects/ | grep <reponame>
```
e.g. `/home/u/my_app` → `~/.claude/projects/-home-u-my-app/memory/`.
This store is per-user and NOT in git. Flag `project_*` / domain-shaped entries (facts
about the system) for wiki ingest; LEAVE `user_*` / `feedback_*` / preference entries
in memory. Propose ingest — never move personal memory into the shared wiki.
3. Propose the changes to the user BEFORE rewriting (this operation edits existing
knowledge — confirm before destructive normalization). Include persona/stray-file
findings in the proposal.
4. On approval, normalize: rebuild index.md as a complete manifest, normalize log.md to pass the ERROR-level discipline checks (one `## [date] op | subject`
line per entry; strip body content — migrate any genuine durable fact into a page via normal
routing, never silently delete knowledge; sort into non-decreasing date order; fix or drop
invalid ops; shorten over-length subjects),
replace the CLAUDE.md protocol prose with the thin snippet (replace only that section —
don't clobber other CLAUDE.md content), point personas at the wiki, and reconcile any
stale embedded facts to the wiki SSOT (move the fact into the relevant wiki page; leave
the persona referencing it).
5. **Fix `.claude/settings.json` — enable the plugin without losing anything.** This step
also REPAIRS repos migrated by older plugin versions, so re-running migrate self-heals:
- End state: `enabledPlugins` is an OBJECT/record — `{ "agent-wiki@omnilert-plugins": true, …others… }`. Add the agent-wiki entry if missing.
- **Legacy array → record:** if `enabledPlugins` is an ARRAY (old form, rejected by
current Claude Code / `/doctor`), convert it to the record object, keeping every
existing entry as `"name@marketplace": true`.
- **Merge, never overwrite:** preserve every other top-level key in the file.
- **Suspected-overwrite recovery (data loss):** if the file now contains essentially only
`enabledPlugins`, check whether it used to hold more, and restore from git if so:
```
git log -p -- .claude/settings.json # did an earlier commit have permissions/hooks/env/etc.?
git show <pre-migrate-commit>^:.claude/settings.json # the lost content
```
Merge any lost keys back in (alongside the agent-wiki entry). Note: `settings.local.json`
was never affected by the bug — leave it alone.
- If `settings.json` is absent, create it with just the agent-wiki record entry.
6. Run the linter; resolve all errors and report remaining warnings.
7. Append a `migrate` line to log.md.From omnilertlabs/agent-wiki, MIT.
More from omnilertlabs/agent-wiki
- 0.557score
wiki-ingest
omnilertlabs
Use when a PR merged, a doc changed, or a significant discovery was made and the durable knowledge should be captured into the wiki.
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
wiki-lint
omnilertlabs
Use when asked to lint the wiki, check the wiki for broken links or dead references, verify wiki integrity, find orphan pages, or check whether the wiki is…
SkillBFreshness: B★ 2Claude Code +9 - 0.554score
wiki-compact
omnilertlabs
Use to keep the wiki lean: reconcile superseded/conflicting facts and roll an oversized log into the archive.
SkillBFreshness: B★ 2Claude Code +9 - 0.554score
wiki-uninstall
omnilertlabs
Use to remove agent-wiki from a repo — the CLAUDE.md snippet, the settings.json entry, and optionally .claude/wiki/ itself.
SkillBFreshness: B★ 2Claude Code +9 - 0.552score
wiki-query
omnilertlabs
Use when answering a substantive question about how this system works, its architecture, contracts, ops, or history.
SkillBFreshness: B★ 2Claude Code +9 - 0.550score
wiki-init
omnilertlabs
Use to set up a brand-new agent-wiki in a repo that does not have one yet.
SkillBFreshness: B★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 2
- Open issues
- 0
- Last commit (this folder)
- Aug 4, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/omnilertlabs/agent-wiki
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from omnilertlabs
- 0.557score
wiki-ingest
omnilertlabs
Use when a PR merged, a doc changed, or a significant discovery was made and the durable knowledge should be captured into the wiki.
SkillBFreshness: B★ 2Claude Code +9 - 0.557score
wiki-lint
omnilertlabs
Use when asked to lint the wiki, check the wiki for broken links or dead references, verify wiki integrity, find orphan pages, or check whether the wiki is…
SkillBFreshness: B★ 2Claude Code +9 - 0.554score
wiki-compact
omnilertlabs
Use to keep the wiki lean: reconcile superseded/conflicting facts and roll an oversized log into the archive.
SkillBFreshness: B★ 2Claude Code +9 - 0.554score
wiki-uninstall
omnilertlabs
Use to remove agent-wiki from a repo — the CLAUDE.md snippet, the settings.json entry, and optionally .claude/wiki/ itself.
SkillBFreshness: B★ 2Claude Code +9 - 0.552score
wiki-query
omnilertlabs
Use when answering a substantive question about how this system works, its architecture, contracts, ops, or history.
SkillBFreshness: B★ 2Claude Code +9 - 0.550score
wiki-init
omnilertlabs
Use to set up a brand-new agent-wiki in a repo that does not have one yet.
SkillBFreshness: B★ 2Claude Code +9
Cite this page
wiki-migrate skill. Agent Mart. https://agentmart.dev/skills/omnilertlabs-wiki-migrate (last updated 2026-10-24)