define-milestone-goal

define-milestone-goal is a skill for Claude Code from uHappyLogic/cairn. It costs 30 tokens per session (1,020 once invoked), scanned A, original, MIT.

A workflow for starting a new project milestone by creating its directory and basic requirement and task files, with the milestone goal already filled in.

In plain words
What is it for?
Use it when beginning a milestone and you have a clear overall goal that should be recorded before defining its starting state and individual tasks.
Why use it?
It establishes the file structure needed to plan work without requiring the remaining requirements or tasks to be decided immediately.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; installed under .agents/ (shared by several agents).

Part of the cairn plugin — 22 skills, 3 agents shipped together

Good fit Use it when beginning a milestone and you have a clear overall goal that should be recorded before defining its starting state and individual tasks.

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

Made for: Claude Code.

Or install cairn, the plugin that ships this one along with the rest of its 22 skills, 3 agents.

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 define-milestone-goal

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/uhappylogic/cairn/define-milestone-goal"><img src="https://agentmods.dev/badge/skills/uhappylogic/cairn/define-milestone-goal.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,020 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.00030 $0.01020
Opus 5 $0.00015 $0.00510
Sonnet 5 $0.00006 $0.00204
Haiku 4.5 $0.00003 $0.00102

Measured 4d ago against content hash 4531f3587031, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

define-milestone-goal 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 4d 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.

.agents/plugins/cairn/skills/define-milestone-goal/SKILL.md · 95 lines

How it starts

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

define-milestone-goal

Creates a new milestone directory under milestones/ with a requirements.md pre-filled with the goal, plus empty TASKS_TODO.md and TASKS_DONE.md. Does not populate the remaining sections — those are filled by subsequent skills (/specify-milestone-starting-state, /review-milestone-requirements, etc.). Defining a milestone does not activate it: this skill never updates CLAUDE.md or milestones/README.md, which change only when the milestone becomes the current active one via /goto-next-milestone.

Usage

/define-milestone-goal <overall_goal_description>
  • <overall_goal_description>: a clear description of what the milestone should accomplish. Use /discuss-milestone-goal first if the goal is still vague.

Example:

/define-milestone-goal add a getting-started guide that walks a new user through their first session

Workflow

1. Determine the milestone number

Scan the milestones/ directory for subdirectories whose names match the pattern milestone_<NN>_* (e.g. milestone_01_public-release-prep). For each matching directory, extract the numeric prefix and parse it as an integer, stripping any leading zeros (011, 099). Take the maximum integer found and add 1 to get the next milestone number. Format the result zero-padded to two digits (e.g. 101, 909, 1010).

If milestones/ contains no matching directories (cold start), treat the maximum as 0, so the first milestone number is 1, formatted 01.

Do not read the milestone number from CLAUDE.md or from milestones/README.md's pointer — the scan is the sole source.

2. Derive the milestone slug

Convert <overall_goal_description> to a short kebab-case slug (3–5 words max) that captures the essence of the goal. The full directory name is milestone_<NN>_<slug> where <NN> is the zero-padded two-digit number from step 1.

Example: "add a getting-started guide that walks a new user through their first session" → milestone_12_getting-started-guide (if the next number happens to be 12)

Read the full file on GitHub · 95 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. 4d ago Changed 4531f3587031
  2. 5d ago Changed · -7 lines 2abd01341d52
  3. 10d ago First seen · 102 lines · 30 tokens per session scan A 98b2f25e504d

Subscribe to this mod's changes

define-milestone-goal is a skill published in the GitHub repository uHappyLogic/cairn (2 stars, last pushed 2d ago), licensed MIT. It adds 30 tokens to every session and 1,020 once invoked, about $0.0002 per session on Opus 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-08-31.

Related

Other skills, from other repositories

debt-ops-add

Register a deferred decision in the tech-debt registry. Trigger by judgment, not a marker scan, whenever a future reader would ask "why this way?": an unmade decision, stub, loosened type, bypassed check, swallowed error, a default picked "for now", or a TODO/FIXME/HACK/XXX marker. Trigger immediately whenever you…

bcanfield/agentic-tech-debt · 115 tokens

plan-task

Structured task planning using Work files. Use for any new feature, bug fix, or project that needs a task breakdown before implementation.

This-HW/claude-code-kit · 29 tokens

dont-leave-me

A stop-before-finishing checklist for an agent that checks whether requested work, changed files, verification, and cleanup have actually been handled.

Keonho-Chu/menhera-loop · 31 tokens

log

Capture front door. Logs 1..N observations as card files at docs/work/{ID}.md (BUG / DEBT / GAP), gateway-inline — no dispatch. Use when the user says "log this", "track that", "note this down", or types /super-bootstrap:log — and when Claude needs to file its own findings (out-of-scope findings from a review, audit…

RockyHong/super-bootstrap · 164 tokens

triage

Read-only grounding phase for a card — every card's pickup. /super-bootstrap:triage {ID} dispatches the triage subagent (Opus) to ground the card cold — premise verify, aim validate, blast collect — and append a Verdict block — ## Verdict — auto-fix · {date} (Fix-shape / Probe-deps / Execution tags) or ## Verdict …

RockyHong/super-bootstrap · 159 tokens

drain

Parallel-worktree auto-drain of the board. One /super-bootstrap:drain turn = scan the pipeline sources (specs/plans/backlog, plus the scale module's test queue when present) → keep only admissible items → relation-analyze into a conflict-free wave → confirm with the user → spawn one isolated git worktree + headless…

RockyHong/super-bootstrap · 200 tokens