do-one-task

do-one-task is a skill for Claude Code from motlin/claude-code-plugins. It costs 42 tokens per session (448 once invoked), scanned A, original, Apache-2.0.

A task-execution skill that finds the next unfinished item in .llm/todo.md and implements it. It also runs suitable checks, completes the repository's finishing process, and creates a commit for the task.

In plain words
What is it for?
Use it when you want the next queued coding task completed from start to finish.
Why use it?
It prevents work from drifting away from the planned task order and handles the checks and version-control steps needed to finish one item.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions Claude Code; mentions Codex.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the markdown-tasks plugin — 8 skills shipped together

Good fit Use it when you want the next queued coding task completed from start to finish.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add motlin/claude-code-plugins
Claude Code
/plugin install markdown-tasks

Made for: Claude Code.

Or install markdown-tasks, the plugin that ships this one along with the rest of its 8 skills.

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 do-one-task

README.md
[![agentmods](https://agentmods.dev/badge/skills/motlin/claude-code-plugins/do-one-task/github.svg)](https://agentmods.dev/skills/motlin/claude-code-plugins/do-one-task)
Your own site
<a href="https://agentmods.dev/skills/motlin/claude-code-plugins/do-one-task"><img src="https://agentmods.dev/badge/skills/motlin/claude-code-plugins/do-one-task/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 do-one-task

Your own site · 80×15
<a href="https://agentmods.dev/skills/motlin/claude-code-plugins/do-one-task"><img src="https://agentmods.dev/badge/skills/motlin/claude-code-plugins/do-one-task.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 448 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.00042 $0.00448
Opus 5.5 $0.00017 $0.00179
Sonnet 5.5 $0.00008 $0.00090
Haiku 4.5 $0.00004 $0.00045

Measured 9d ago against content hash d6fabc37efe4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

do-one-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 9d 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.

plugins/markdown-tasks/skills/do-one-task/SKILL.md · 31 lines

What it actually says

Do One Task

Use the markdown-tasks:tasks skill for script path rules and task semantics. <plugin-root> is ${CLAUDE_PLUGIN_ROOT} in Claude Code; in Codex, it is the plugin root that contains this skills/do-one-task/SKILL.md file.

Extract the next task:

python <plugin-root>/scripts/task_get.py .llm/todo.md

If no task is returned, report that there are no incomplete tasks.

Implement only the extracted task. Ignore unrelated TODO/TASK comments in source code.

Run appropriate tests and validation, then complete the repository's finish workflow so the task has its own commit, precommit passes against that commit, and the branch is rebased when required. When the build, git, and orchestration plugins are installed, use the build:precommit, git:commit, git:git-rebase, and orchestration:finish skills; in Claude Code, /orchestration:finish runs the full pipeline. Commit before running git test run HEAD, which refuses a dirty tree.

The task must end as exactly one new commit. Finish can leave a cleanup fixup! commit on top of the task commit, so after it returns, check the commits between the rebase target (${UPSTREAM_REMOTE:-upstream}/${UPSTREAM_BRANCH:-main}) and HEAD for fixup! commits and fold any into the task commit with the git:git-rebase skill, which autosquashes. Run precommit again if the squash changed HEAD.

Mark the task complete only after implementation, commit, and validation succeed:

python <plugin-root>/scripts/task_mark.py .llm/todo.md

If implementation or validation fails, leave the task incomplete and report the failure. The markdown-tasks:do-all-tasks leader marks failed attempts [!].

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. 9d ago Changed · +2 lines d6fabc37efe4
  2. 22d ago Changed · -7 lines b55f5ca4d7b3
  3. 1mo ago First seen · 36 lines · 42 tokens per session scan A fdbaa1c047a0

Subscribe to this mod's changes

do-one-task is a skill published in the GitHub repository motlin/claude-code-plugins (20 stars, last pushed yesterday), licensed Apache-2.0. It adds 42 tokens to every session and 448 once invoked, about $0.0002 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-09-19.