migrate-documentation

migrate-documentation is a skill for Claude Code, Codex from Arasz/ai-raccoon. It costs 104 tokens per session (2,785 once invoked), scanned A, original, MIT.

A workflow for reorganising a large or unreliable documentation tree while checking whether its content can be trusted. It keeps resumable state so work can continue across sessions.

In plain words
What is it for?
Use it when a documentation directory has hundreds of files, poor structure, overlapping content, or unknown accuracy and needs a wholesale reorganisation.
Why use it?
Moving documents into a tidy structure does not fix contradictory or unverified information. This workflow treats accuracy and traceable progress as part of the migration.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when a documentation directory has hundreds of files, poor structure, overlapping content, or unknown accuracy and needs a wholesale reorganisation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/arasz/ai-raccoon/migrate-documentation
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Arasz/ai-raccoon --skill migrate-documentation
Clone the repo
git clone --depth 1 https://github.com/Arasz/ai-raccoon

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for migrate-documentation

README.md
[![agentmods](https://agentmods.dev/badge/skills/arasz/ai-raccoon/migrate-documentation/github.svg)](https://agentmods.dev/skills/arasz/ai-raccoon/migrate-documentation)
Your own site
<a href="https://agentmods.dev/skills/arasz/ai-raccoon/migrate-documentation"><img src="https://agentmods.dev/badge/skills/arasz/ai-raccoon/migrate-documentation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for migrate-documentation

Your own site · 80×15
<a href="https://agentmods.dev/skills/arasz/ai-raccoon/migrate-documentation"><img src="https://agentmods.dev/badge/skills/arasz/ai-raccoon/migrate-documentation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,785 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00104 $0.02785
Opus 5.5 $0.00042 $0.01114
Sonnet 5.5 $0.00021 $0.00557
Haiku 4.5 $0.00010 $0.00279

Measured yesterday against content hash 40d2f6609cb0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

migrate-documentation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.ai-badger/skills/documentation/references/migrate-documentation/SKILL.md · 211 lines

How it starts

The opening of the file, as written. The whole thing — 211 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Migrate the documentation tree

The terminal deliverable is documentation someone can trust — not a reorganised tree. A tidy tree full of unverified claims is a failed migration that looks like a successful one, and that is the recorded failure mode: a green artefact that proved nothing.

This runs over days and across compactions, so it is resumable by construction. Everything that must survive a compaction lives in a committed state file — never in the todo list. A todo list dies with the session; a resumed session that trusts one silently re-does or skips work. The state file lives in the docs tree's meta/ area; a project may name it via .ai-badger/config.json's docs.stateFile.

References, each owned by the skill whose primary concern it is: read ../update-documentation/references/placement.md when a target path is in doubt, ../update-documentation/references/trust.md when freezing, ../update-documentation/references/amendments.md when amending, and ../scaffold-documentation/references/structure.md when the canonical tree is in question. Read them where they live; do not copy them into a shared directory, which cannot ship.

Step 1 — always, every session, before anything else

Read the migration state file. Postcondition: you know the current phase, the count (n/total), and which single item is in progress. That is the whole context a resumed session needs — no transcript, no memory file. If an item is in progress, finish it. Never hand yourself a second one; one item at a time is the design, not a constraint to work around.

Then go to the step matching the phase it recorded.

Step 2 — Phase 0: the ADR

Record the trust model as an ADR. A change of this shape needs a recorded decision. Postcondition: the ADR exists with Status: Accepted, carries the normative banner from trust.md, and appears in the project's ADR index.

Resolve every relative link in the tree, and derive the freeze list, before any file moves. Postcondition: do not proceed until every link resolves. Until it does, nothing else is safe to run, because nothing else can tell you what you broke. The freeze list is the do-not-touch list — derived from the build and from live work, never from your judgement (structure.md).

Read the full file on GitHub · 211 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 211 lines · 104 tokens per session scan A 40d2f6609cb0

Subscribe to this mod's changes

migrate-documentation is a skill published in the GitHub repository Arasz/ai-raccoon (7 stars, last pushed today), licensed MIT. It adds 104 tokens to every session and 2,785 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-05.

Related

migrate-documentation compared with skills from other repositories

migrate-documentation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
migrate-documentationArasz/ai-raccoonSkill7todayMITA104Claude Code, Codex
cartographer-kb-importBeppeTemp/cartographerSkill74yesterdayApache-2.0A51Claude Code, Codex
cartographer-kb-correctBeppeTemp/cartographerSkill74yesterdayApache-2.0A111Claude Code, Codex
cartographer-kb-answerBeppeTemp/cartographerSkill74yesterdayApache-2.0A136Claude Code, Codex
pptxagentscope-ai/QwenPawSkill39kyesterdayApache-2.0A185Claude Code, Codex
pdfagentscope-ai/QwenPawSkill39kyesterdayApache-2.0A95Claude Code, Codex
docx-placeholder-workflowBitterbot-AI/bitterbot-desktopSkill2.5k2d agoMITA15Claude Code, Codex