migrate-milestones

migrate-milestones is a skill for Claude Code, Codex from uHappyLogic/cairn. It costs 31 tokens per session (3,926 once invoked), scanned A, original, MIT.

A migration tool for moving completed milestones from an old README-based record into Git history. A milestone is a project stage with its own requirements and tasks; Git records the resulting changes as commits.

In plain words
What is it for?
Use it to migrate finished milestone entries, recreate their finish commits with their original dates, remove the retired README record, and make the milestones tool recognise them.
Why use it?
It preserves the old milestone history while adopting the newer workflow. Each migrated milestone gets its own reversible commit, so one migration can be undone without undoing the others.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to migrate finished milestone entries, recreate their finish commits with their original dates, remove the retired README record, and make the milestones tool recognise them.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/uhappylogic/cairn/migrate-milestones
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 uHappyLogic/cairn --skill migrate-milestones
Clone the repo
git clone --depth 1 https://github.com/uHappyLogic/cairn

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-milestones

README.md
[![agentmods](https://agentmods.dev/badge/skills/uhappylogic/cairn/migrate-milestones/github.svg)](https://agentmods.dev/skills/uhappylogic/cairn/migrate-milestones)
Your own site
<a href="https://agentmods.dev/skills/uhappylogic/cairn/migrate-milestones"><img src="https://agentmods.dev/badge/skills/uhappylogic/cairn/migrate-milestones/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-milestones

Your own site · 80×15
<a href="https://agentmods.dev/skills/uhappylogic/cairn/migrate-milestones"><img src="https://agentmods.dev/badge/skills/uhappylogic/cairn/migrate-milestones.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,926 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.00031 $0.03926
Opus 5.5 $0.00012 $0.01570
Sonnet 5.5 $0.00006 $0.00785
Haiku 4.5 $0.00003 $0.00393

Measured 20d ago against content hash e0e03c7a355f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

migrate-milestones 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 20d ago.

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.

core/skills/migrate-milestones/SKILL.md · 273 lines

How it starts

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

migrate-milestones

Moves a project's record of finished milestones out of milestones/README.md, where the retired pointer workflow kept it, and into git, in the form /finish-milestone now writes. It walks the README's ## Milestone History entries oldest first and, for each whose directory still stands, makes exactly the commit the new finish would make, without finish's two checks, since the history entry is the done fact: the milestone's directory removed, the subject Milestone-finish: <path>, and as body the title from that directory's requirements.md heading, a blank line, and the entry's bullets verbatim, the commit carrying the original finish date as its author date. The plugin's milestones tool then reads every migrated milestone as it reads a natively finished one: milestones . lists it with its finish date, and summary and record print its entry back. One commit per milestone keeps the revert path: reverting one migration commit restores that milestone's directory, and a later run migrates it again. A closing commit then removes milestones/README.md and a live milestone's TASKS_DONE.md when one is present, and rewrites the ## Milestone Workflow section of {{CONTEXT_FILE}} to the path-addressed guidance.

It rewrites no existing commit, so the verified bars of tasks completed before completed tasks moved into commits are not carried over: they stay in each finished milestone's TASKS_DONE.md, which leaves the tree with its directory and stands at that finish commit's parent, while those tasks' Task-completion: commits carry no bar. A live milestone stays where it is, under its numbered name, and the principle store milestones/answer_decision_principles.md is untouched.

It is upgrade scaffolding, run once per project by a person: it belongs to no chain, nothing dispatches it, and it asks one confirmation before its first commit. Every commit it makes is a call to the plugin's commit tool, each path-scoped to what it removes or rewrites, and it runs no git write of its own. Every tool call it makes, those inside step 1's call included, is written out in full as the fenced block shows it, never through a variable, alias, or function of your own defined to stand for the command or any part of it.

Read the full file on GitHub · 273 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. 20d ago First seen · 273 lines · 31 tokens per session scan A e0e03c7a355f

Subscribe to this mod's changes

migrate-milestones is a skill published in the GitHub repository uHappyLogic/cairn (3 stars, last pushed 12d ago), licensed MIT. It adds 31 tokens to every session and 3,926 once invoked, about $0.0001 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-11-10.

Related

migrate-milestones compared with skills from other repositories

migrate-milestones next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
migrate-milestonesuHappyLogic/cairnSkill312d agoMITA31Claude Code, Codex
releasegtapps/hermitdSkill87todayMITA104Claude Code, Codex
commitgtapps/claude-code-hermitSkill872d agoMITA90Claude Code, Codex
atlas-changelogtonone-ai/tononeSkill843d agoMITA45Claude Code
apex-statustonone-ai/tononeSkill843d agoMITA42Claude Code
reviewhandarbeit/fabrikSkill252d agoApache-2.0A35Claude Code
implementhandarbeit/fabrikSkill252d agoApache-2.0A38Claude Code