derive-tasks

derive-tasks is a skill for Claude Code from uHappyLogic/cairn. It costs 29 tokens per session (1,601 once invoked), scanned A, original, MIT.

A planning tool that converts a milestone’s requirements into an ordered task list. A milestone is a defined piece of project work, and dependency-ordered means tasks are arranged so prerequisites come first.

In plain words
What is it for?
Use it to read a milestone’s requirements, split them into high-level tasks, check that every requirement is covered, and prepare TASKS_TODO.md for later task completion.
Why use it?
It reduces the chance that requirements are missed or tasks are attempted in an order that prevents progress.

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 to read a milestone’s requirements, split them into high-level tasks, check that every requirement is covered, and prepare TASKS_TODO.md for later task completion.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/uhappylogic/cairn/derive-tasks.svg)](https://agentmods.dev/skills/uhappylogic/cairn/derive-tasks)
Your own site
<a href="https://agentmods.dev/skills/uhappylogic/cairn/derive-tasks"><img src="https://agentmods.dev/badge/skills/uhappylogic/cairn/derive-tasks.svg" alt="Measured on agentmods" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,601 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.00029 $0.01601
Opus 5 $0.00015 $0.00800
Sonnet 5 $0.00006 $0.00320
Haiku 4.5 $0.00003 $0.00160

Measured yesterday against content hash 8d12098a9274, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

derive-tasks 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.

.agents/plugins/cairn/skills/derive-tasks/SKILL.md · 115 lines

How it starts

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

derive-tasks

Reads the current milestone requirements and derives a complete, dependency-ordered list of tasks into TASKS_TODO.md, ready for AI-driven completion via /complete-task.

Your job here is decomposition and coverage. You split the milestone into high-level task briefs, prove that those briefs cover every requirement, order them by dependency, and write them into TASKS_TODO.md yourself — you are the single writer on the derivation path, and nothing here is delegated. Keep every task section at brief altitude: a task states what is to be achieved, and the completer derives the flow and the formal acceptance bar itself from the description plus requirements.md, against the live project.

Usage

/derive-tasks

No arguments. The skill always reads from and writes to the current milestone directory.

Preconditions

  • All open questions in the current milestone's requirements.md must be resolved (no <open-question block with status="open" remains; status="deferred" blocks may carry forward).
  • TASKS_TODO.md should be empty or contain only stale tasks from a previous milestone; this skill replaces its contents.

Workflow

0. Find the current milestone

Follow .agents/plugins/cairn/shared/get-current-milestone.md to resolve <MILESTONE_DIR>. Never use a hardcoded task-list path.

1. Read source documents

Read CLAUDE.md at the workspace root for the project's domain context, working conventions, available tools, and how work is verified as done. If it lacks that context, suggest the user run /init first, then proceed.

Read <MILESTONE_DIR>/requirements.md in full, plus any files referenced in its Relevant starting state section, so you understand the exact starting point.

Read the shared task format at .agents/plugins/cairn/shared/task-format.md. That file owns the shape of every task section you write in step 7 — its template and authoring guidelines.

2. Check for unresolved open questions

Read the full file on GitHub · 115 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 Changed 8d12098a9274
  2. 3d ago Changed · -16 lines · -27 tokens per session 929a4d549a91
  3. 4d ago Changed · -2 lines d1888f45c939
  4. 8d ago First seen · 133 lines · 56 tokens per session scan A e7ec3c961a82

Subscribe to this mod's changes

derive-tasks is a skill published in the GitHub repository uHappyLogic/cairn (2 stars, last pushed today), licensed MIT. It adds 29 tokens to every session and 1,601 once invoked, about $0.0001 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-init

Write or refresh a "Tech debt operations" section in the project's AGENTS.md so the team shares one source of truth for debt-ops disciplines. Run ONLY when the user explicitly asks to set up, install, or initialize debt-ops disciplines — never auto-invoke. Idempotent; only the managed section changes, other sections…

bcanfield/agentic-tech-debt · 76 tokens

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

debt-ops-metrics

Print a debt-ops health summary from the metrics log, covering registration rate, feedback action rate, ADR creation, and AI-authored share. Use when the user asks for "debt-ops metrics", "debt health", "registry stats", or a tech-debt health summary. Read-only, never writes the log.

bcanfield/agentic-tech-debt · 74 tokens

multi-perspective-review

Multi-perspective collaborative review of plans or documents. Ten expert viewpoints deliberate in 3 rounds to reach consensus.

This-HW/claude-code-kit · 27 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

review

Run a full code review on current changes or specified files. Runs ruff lint, review-code agent, and security scan in sequence.

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