derive-tasks

derive-tasks is a skill for Claude Code, Codex from uHappyLogic/cairn. It costs 29 tokens per session (3,752 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 CodeCodex

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/uhappylogic/cairn/derive-tasks/github.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/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 derive-tasks

Your own site · 80×15
<a href="https://agentmods.dev/skills/uhappylogic/cairn/derive-tasks"><img src="https://agentmods.dev/badge/skills/uhappylogic/cairn/derive-tasks.svg" alt="Reviewed on agentmods" width="80" 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 3,752 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.03752
Opus 5.5 $0.00012 $0.01501
Sonnet 5.5 $0.00006 $0.00750
Haiku 4.5 $0.00003 $0.00375

Measured 20d ago against content hash 8f68ecacd0b1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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/derive-tasks/SKILL.md · 184 lines

How it starts

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

derive-tasks

Reads the named milestone's 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, as one whole list through the plugin's task-list tool — 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 --milestone <path>

The skill reads from and writes to the milestone directory the flag names. 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/.

Preconditions

  • No other started milestone may hold the named milestone's scope (checked twice, through the scope gate: in step 1, before anything else, and in step 9, directly ahead of the write).
  • All open questions in the named milestone must be resolved: its open_questions.xml holds no <open-question> block, so the plugin's open-question tool's list prints nothing (checked in step 4).
  • TASKS_TODO.md should be empty or contain only stale tasks from a previous milestone; this skill replaces its contents.

Workflow

0. Find the milestone

Follow {{PLUGIN_ROOT}}/shared/resolve-milestone.md to resolve <MILESTONE_DIR>. Never use a hardcoded task-list path.

1. Check the scope gate

Directly after resolving the milestone, and before anything else, follow {{PLUGIN_ROOT}}/shared/check-scope-gate.md for <MILESTONE_DIR>. When the gate is closed, its report is the whole output: read, refresh, write, and commit nothing, and print no line of step 11.

Read the full file on GitHub · 184 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 Changed · +48 lines 8f68ecacd0b1
  2. 1mo ago Changed · +3 lines 131c47ec50d7
  3. 1mo ago Changed · +12 lines 5af160612c91
  4. 1mo ago Changed d23cd2a5c6e9
  5. 2mo ago Changed · +8 lines 76399c10e3ee
  6. 2mo ago Changed e6c282b67da4
  7. 2mo ago Changed · -2 lines 0f301157aee0
  8. 2mo ago Changed 8d12098a9274
  9. 2mo ago Changed · -16 lines · -27 tokens per session 929a4d549a91
  10. 2mo ago First seen · 131 lines · 56 tokens per session scan A d1888f45c939

Subscribe to this mod's changes

derive-tasks is a skill published in the GitHub repository uHappyLogic/cairn (3 stars, last pushed 12d ago), licensed MIT. It adds 29 tokens to every session and 3,752 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-08-31.

Related

derive-tasks compared with skills from other repositories

derive-tasks next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
derive-tasksuHappyLogic/cairnSkill312d agoMITA29Claude Code, Codex
debt-ops-initbcanfield/agentic-tech-debtSkill9yesterdayMITA76Claude Code, Codex
debt-ops-addbcanfield/agentic-tech-debtSkill9yesterdayMITA115Claude Code, Codex
debt-ops-metricsbcanfield/agentic-tech-debtSkill9yesterdayMITA74Claude Code, Codex
scout-briefingRaven-Scout/ScoutSkill20todayMITA40Claude Code
scout-consolidationRaven-Scout/ScoutSkill20todayMITA36Claude Code
scout-researchRaven-Scout/ScoutSkill20todayMITA37Claude Code