Ank Plan
Convert goals into decisions, tasks, and rules recorded in .ank/ directory.
Installation
- Make sure Claude is on your device and in your terminal.
Skills load from
~/.claude/skills/when Claude Code starts up — so you need it on your machine first. If you don't have it yet, install it once with the command below, then runclaudein any terminal to verify.One-time setupnpm i -g @anthropic-ai/claude-codeAlready have it? Skip ahead.
- Paste into Claude Code or into your terminal.
This copies the whole skill folder into
~/.claude/skills/ank-plan-haksolot/— the SKILL.md plus any scripts, reference docs, or templates the skill ships with. Works for every skill.What this command does
- Makes a new, empty temporary folder.
- Downloads the skill's folder,
skill/plan, fromgithub.com/haksolot/ank(branchmain), the GitHub repository it's listed from. You get the version that is there now, not a copy we keep. - Copies that folder to
~/.claude/skills/ank-plan-haksolot/. - Deletes the temporary folder.
Installing runs none of the skill's files; it only downloads and copies them. When you later use the skill, Claude follows its SKILL.md and may run scripts that come with it. Read them first.
Faster alternative (instruction-only skills)
Skips the clone and grabs only the SKILL.md file. Don't use this if the skill ships Python scripts, reference markdowns, or asset templates — they won't be downloaded and the skill will fail when it tries to load them.
Quick install (SKILL.md only)Sign up to copy - Restart Claude Code.
Quit and reopen Claude Code (or any other agent that loads from
~/.claude/skills/). New skills are picked up on startup. - Just ask Claude.
Skills auto-activate when your request matches the skill's description — no slash command needed. Trigger phrases live in the skill's own frontmatter; you can read them in the “What this skill does” section above.
Prefer to read the source first? Open on GitHub.
When Claude uses it
Interview a goal into decisions and tasks recorded in .ank/. Use when someone brings a feature, change, or problem to plan before implementation in a repository with a .ank/ directory.
What this skill does
ank-plan
Planning turns an intention into entities the loop can consume: decisions as ADRs, rules as specs, work as tasks, order as blocked_by. The interview is how uncertainty leaves the plan before an executor meets it.
The ank skill is the contract and applies here in full. This file adds the planning policy only.
Read before asking
Never ask a question the repository answers. Before the first question:
ank context <path> what already binds this perimeter
ank find <query> what already exists near the goal
ank find --type spec the specification itself
ank scope <path> everything covering the files in play
ank log <id> what previous holders learned
Then read the code the goal touches. A question answered by reading, asked anyway, teaches the human to stop answering.
Re-measure what you are about to plan around. A number from an earlier session is a claim about a tree that has moved since, and a goal built on one is a goal aimed at the wrong place. Take the measurement again before the first question: the work may already be done, and where it is not, the shape of what remains is rarely the shape that was reported.
The interview
Work the frontier: the decisions whose prerequisites are already settled. Everything downstream of an open decision waits.
For each decision on the frontier:
- Check the repository has not already made it.
- Recommend one option, and say why.
- Ask.
One round holds only questions independent of each other. Fold the answers in, recompute the frontier, repeat. Stop when the frontier is empty: nothing important left silently assumed.
A question only running code can answer is not a question. It is a task with an experiment for a criterion.
Write the plan into the corpus
Each settled decision becomes exactly one kind of entity:
a durable architectural decision ank new adr lands proposed
a normative rule ank new spec lands proposed
concrete bounded work ank new task a scope is mandatory
an ordering between tasks ank amend --blocked-by
a passing observation ank log
A task names the policy its shape calls for with ank new task --method <name>: diagnose when the criterion names a defect, tdd when it names
behaviour to build. Leave it unset otherwise, since an absent method says only
that nobody designated one. The name is the sibling's directory, never ank-tdd.
A done_criteria states what a verifier can check, not what an executor should
attempt. If the criterion will not write, the decision is not settled: back to
the frontier. claim is where it is enforced, refusing at 7; new writes a
task with no criterion and says nothing. So a criterion
left for later is a task nobody can start, and the plan is short one decision.
Where planning ends
Proposed ADRs and specs bind nobody until a human ratifies them: a signed accept, a ref that binds wherever the file is read once it reaches the remote. Say what is waiting and stop. Then ank graph and ank check on the result: a cycle, an orphan or a finding is a plan not finished.
Related skills
Documentation Co-Authoring
anthropics
Guide structured workflows for writing docs, proposals, and technical specs collaboratively.
MCP Server Builder
anthropics
Build protocol servers that connect language models to external APIs and services.
Ask Questions If Underspecified
trailofbits
Ask clarifying questions before starting work on ambiguous requests.
Claude Plugin Marketplace Builder
daymade
Convert a Claude skills repository into an installable marketplace with auto-updates.