taskrunner-add

taskrunner-add is a command for Claude Code from Stackbilt-dev/cc-taskrunner. It costs 7 tokens per session (599 once invoked), scanned A, original, Apache-2.0.

A command for adding work to an autonomous task queue, where queued tasks can be executed later by an agent.

In plain words
What is it for?
It helps add a task with a title, instructions, repository, permission level, and maximum number of agent turns to the queue.
Why use it?
It records the task details and execution rules in one place instead of requiring the work to be started immediately.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

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 cc-taskrunner plugin — 3 commands, 1 agent shipped together

Good fit It helps add a task with a title, instructions, repository, permission level, and maximum number of agent turns to the queue.

Compare 6 commands 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 Stackbilt-dev/cc-taskrunner
Claude Code
/plugin install cc-taskrunner

Made for: Claude Code.

Or install cc-taskrunner, the plugin that ships this one along with the rest of its 3 commands, 1 agent.

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 taskrunner-add

README.md
[![agentmods](https://agentmods.dev/badge/commands/stackbilt-dev/cc-taskrunner/taskrunner-add/github.svg)](https://agentmods.dev/commands/stackbilt-dev/cc-taskrunner/taskrunner-add)
Your own site
<a href="https://agentmods.dev/commands/stackbilt-dev/cc-taskrunner/taskrunner-add"><img src="https://agentmods.dev/badge/commands/stackbilt-dev/cc-taskrunner/taskrunner-add/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 taskrunner-add

Your own site · 80×15
<a href="https://agentmods.dev/commands/stackbilt-dev/cc-taskrunner/taskrunner-add"><img src="https://agentmods.dev/badge/commands/stackbilt-dev/cc-taskrunner/taskrunner-add.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 599 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.00007 $0.00599
Opus 5.5 $0.00003 $0.00240
Sonnet 5.5 $0.00001 $0.00120
Haiku 4.5 $0.00001 $0.00060

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

Security

Grade A, and why

taskrunner-add 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 1mo 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.

plugin/commands/taskrunner-add.md · 76 lines

How it starts

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

cc-taskrunner — Add Task

Add a task to the cc-taskrunner queue for autonomous execution.

Behavior

If $ARGUMENTS is provided: Use it as the task title and prompt.

If $ARGUMENTS is empty: Ask the user what task to add using AskUserQuestion with these fields:

  • Title: short description of the task
  • Prompt: detailed instructions (file paths, constraints, completion criteria)
  • Authority: auto_safe (branch + PR) or operator (run on current branch)
  • Max turns: 5-25 (default 25)

Steps

  1. Parse or gather task details.

  2. Add the task:

    bash ${CLAUDE_PLUGIN_ROOT}/taskrunner.sh add "$TASK_TITLE"
    

    For more control (custom repo, prompt, authority, turns), write directly to the queue file:

    python3 -c "
    import json, uuid, datetime
    task = {
        'id': str(uuid.uuid4()),
        'title': '''$TITLE''',
        'repo': '$REPO',
        'prompt': '''$PROMPT''',
        'authority': '$AUTHORITY',
        'max_turns': $MAX_TURNS,
        'status': 'pending',
        'created_at': datetime.datetime.utcnow().strftime('%Y-%m-%dT%H:%M:%SZ')
    }
    queue_file = '${CC_QUEUE_FILE:-queue.json}'
    try:
        with open(queue_file) as f:
            queue = json.load(f)
    except (FileNotFoundError, json.JSONDecodeError):
        queue = []
    queue.append(task)
    with open(queue_file, 'w') as f:
        json.dump(queue, f, indent=2)
    print(f'Added task {task[\"id\"][:8]}: {task[\"title\"]}')
    "
    
  3. Show confirmation with task ID and suggest running /taskrunner to execute.

Prompt Writing Tips

Good prompts are specific:

  • Name file paths explicitly: "Read src/services/quota.ts"
  • State completion criteria: "Tests should pass"
  • Include context: each task is a fresh session
  • Say what NOT to do: "Do NOT modify the database schema"
  • End with: "Commit your work with a descriptive message"

Authority Levels

Authority Branch? PR? Use for
operator No No Tasks that run on your current branch
auto_safe Yes Yes Tests, docs, research, refactors

Read the full file on GitHub · 76 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. 1mo ago First seen · 76 lines · 7 tokens per session scan A c799195265ba

Subscribe to this mod's changes

taskrunner-add is a command published in the GitHub repository Stackbilt-dev/cc-taskrunner (2 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 7 tokens to every session and 599 once invoked, about $0.0000 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

Other commands, from other repositories