finish-milestone

finish-milestone is a skill for Claude Code, Codex from uHappyLogic/cairn. It costs 31 tokens per session (1,661 once invoked), scanned A, original, MIT.

A workflow for closing a completed project milestone in Git. It verifies that open questions and tasks are finished, records a summary in a commit, and removes the milestone's working directory.

In plain words
What is it for?
Use it when all work in a milestone is done to create its finish commit, preserve lasting project-context changes, and make the milestone history available through the project tools.
Why use it?
It creates one clear, reversible record of what was completed instead of leaving finished work mixed with active tasks. Reverting the commit restores the milestone files.

Skill for Claude CodeCodex

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

Good fit Use it when all work in a milestone is done to create its finish commit, preserve lasting project-context changes, and make the milestone history available through the project tools.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/uhappylogic/cairn/finish-milestone
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 finish-milestone
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 finish-milestone

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/uhappylogic/cairn/finish-milestone"><img src="https://agentmods.dev/badge/skills/uhappylogic/cairn/finish-milestone.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 1,661 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.01661
Opus 5.5 $0.00012 $0.00664
Sonnet 5.5 $0.00006 $0.00332
Haiku 4.5 $0.00003 $0.00166

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

Security

Grade A, and why

finish-milestone 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/finish-milestone/SKILL.md · 113 lines

How it starts

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

finish-milestone

Wraps up the milestone named by --milestone — verifies that no open question stands and all tasks are done, composes a summary of what the milestone accomplished, and records it as the body of one Milestone-finish: <MILESTONE_DIR> commit that removes <MILESTONE_DIR> from the project, together with an update to {{CONTEXT_FILE}} only if the milestone introduced lasting changes to the project's environment context. A milestone is finished exactly when its directory is gone: its files stand at the finish commit's parent, the plugin's milestones tool's summary and record queries print the commit's body back as the milestone's summary, and reverting the finish commit makes the milestone live again. It writes nothing to milestones/README.md, touches no pointer, and never invokes /capture-milestone-principle-updates. Run this when every open question is answered and all tasks are complete.

Usage

/finish-milestone --milestone <path>

The required leading --milestone <path> names the milestone by its repo-relative path, exactly as the definition tool printed it, trailing slash included, e.g. milestones/user-guide/.

Workflow

1. Resolve the milestone

Follow {{PLUGIN_ROOT}}/shared/resolve-milestone.md to resolve <MILESTONE_DIR> from the required leading --milestone <path>. A call naming no milestone, or one that does not match, ends on that procedure's stop, its fixed line opening the report.

2. Read milestone content

In parallel, as two independent tool calls:

  • Read <MILESTONE_DIR>/requirements.md — to extract the milestone's title, its Goal, and its key decisions. The title is the text of the file's top-level # heading with any legacy Milestone <N>: prefix stripped (e.g. # Milestone 21: Public Release Preparation and # Public Release Preparation both give the title Public Release Preparation).

  • Run the plugin's milestones tool, to list what was concretely built:

    python3 {{PLUGIN_ROOT}}/tools/milestones.py tasks <MILESTONE_DIR> --with-body
    

Read the full file on GitHub · 113 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 · 113 lines · 31 tokens per session scan A 6a0351b76e14

Subscribe to this mod's changes

finish-milestone 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 1,661 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

finish-milestone compared with skills from other repositories

finish-milestone next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
finish-milestoneuHappyLogic/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