complete-task

complete-task is a skill for Claude Code, Codex from uHappyLogic/cairn. It costs 50 tokens per session (849 once invoked), scanned A, original, MIT.

A workflow for completing one named task from a project milestone’s to-do file directly in the current conversation, then moving it to the done file.

In plain words
What is it for?
Use it to carry out one specific milestone task, record it as completed, and continue refining the result in the same conversation.
Why use it?
It keeps the implementation reasoning, changed files, and verification results available for immediate follow-up. This is useful when the task may need discussion or adjustment afterward.

Skill for Claude CodeCodex

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

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

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.

agentmods
npx agentmods add skills/uhappylogic/cairn/complete-task
Any agent
npx skills add uHappyLogic/cairn --skill complete-task
Clone the repo
git clone --depth 1 https://github.com/uHappyLogic/cairn

Made for: Claude Code, Codex.

Or install cairn, the plugin that ships this one along with the rest of its 22 skills, 4 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 complete-task

README.md
[![agentmods](https://agentmods.dev/badge/skills/uhappylogic/cairn/complete-task.svg)](https://agentmods.dev/skills/uhappylogic/cairn/complete-task)
Your own site
<a href="https://agentmods.dev/skills/uhappylogic/cairn/complete-task"><img src="https://agentmods.dev/badge/skills/uhappylogic/cairn/complete-task.svg" alt="Measured on agentmods" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 849 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00050 $0.00849
Opus 5 $0.00025 $0.00425
Sonnet 5 $0.00010 $0.00170
Haiku 4.5 $0.00005 $0.00085

Measured 3d ago against content hash d585ee90fc41, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

complete-task 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 3d 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/complete-task/SKILL.md · 80 lines

How it starts

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

complete-task

Completes one named ad-hoc task inline, in the current conversation — not in a subagent. Running inline is the whole point: the work reasoning (which files changed, why, and what the verification showed) stays in context, so you can follow up right after — ask why a choice was made, request a tweak, or extend the work — without the context being thrown away.

For completing the whole task list unattended, use /complete-all-tasks instead — that orchestrator deliberately runs each task in an isolated subagent and commits after each.

Invocation

/complete-task <task name>

<task name> is the full or partial text of a ## heading in the current milestone's TASKS_TODO.md. The procedure resolves the current milestone itself (from CLAUDE.md), so nothing needs to be looked up first.

Workflow

1. Run the shared procedure inline

Read and follow the shared procedure at ${CLAUDE_PLUGIN_ROOT}/shared/complete-procedure.md (run echo "$CLAUDE_PLUGIN_ROOT" if you need to resolve the path), carrying out every step yourself, in this conversation. Do not spawn the complete-task agent — that would discard the working context this skill exists to keep.

If no task matches the given name, the procedure has you stop without changes; tell the user that and list the available ## headings so they can retry with a correct name.

2. Commit the completion

When the procedure finishes (success criteria verified, task moved to TASKS_DONE.md), read and follow the shared commit procedure at ${CLAUDE_PLUGIN_ROOT}/shared/commit-procedure.md (run echo "$CLAUDE_PLUGIN_ROOT" if you need to resolve the path), carrying out its steps yourself. Supply it these two inputs:

  • PATHS — this skill's own change set: the exact paths the shared completion procedure recorded as it created or edited files while carrying out the task, plus the two milestone task-list files <MILESTONE_DIR>/TASKS_TODO.md (the task left it) and <MILESTONE_DIR>/TASKS_DONE.md (the task joined it). Name each path explicitly — never git add -A.
  • SUBJECTTask-completion: <task heading>.

Read the full file on GitHub · 80 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. 3d ago First seen · 80 lines · 50 tokens per session scan A d585ee90fc41

Subscribe to this mod's changes

complete-task is a skill published in the GitHub repository uHappyLogic/cairn (2 stars, last pushed 1mo ago), licensed MIT. It adds 50 tokens to every session and 849 once invoked, about $0.0003 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

setup

This skill should be used when "milestone-driver:setup" is invoked directly, OR auto-invoked by solve-issue/solve-milestone when the driver profile is absent or missing a required Core key (integrationBranch, protectedBranch, or sourceGlobs). Guides an interactive first-run bootstrap that infers every profile key from…

kenmulford/milestone-driver · 146 tokens

smcp-handoff

Resume prior work from a saved subagent-mcp handoff when the user says "handoff-resume", "resume handoff", or "resume work"; call handoff-read, then confirm intent with exactly 4 structured questions before acting, and know the handoff-write/read/clear lifecycle.

Heretyc/subagent-mcp · 65 tokens

solve-issue

This skill should be used when the user invokes "/milestone-driver:solve-issue ", or asks to "solve issue ", "fix issue ", or "drive issue " through the milestone-driver gated procedure. Runs one GitHub issue end-to-end as an orchestrator - triage, root-cause-or-park, dispatch the implementer subagent (TDD…

kenmulford/milestone-driver · 126 tokens

solve-milestone

This skill should be used when the user invokes "/milestone-driver:solve-milestone ", or asks to "solve a milestone", "drive a milestone", or "work the milestone autonomously". Iterates every issue in a GitHub milestone in dependency order via /milestone-driver:solve-issue, re-syncing the integration branch between…

kenmulford/milestone-driver · 129 tokens

wf-pm

Sole team lead of the waterfall workflow — creates the team, dispatches OR's spawnrequest, relays HO decisions via AskUserQuestion, and runs the final git commit at CLOSURE.

mgallet92i/waterfall · 44 tokens

wf-pm-light

PM solo pour le mode subagent-light — élicitation, specs.md, checkpoint specs, spawn TL passe 1+2, checkpoint tasks, validation finale, git commit.

mgallet92i/waterfall · 41 tokens