plan-auditor

An agent that organizes project tasks into phases and checks their dependency graph, meaning which tasks must happen before others. It also identifies the minimum end-to-end path through the work.

In plain words
What is it for?
Use it to read task files, assign phases, mark key tasks, and update the task plan.
Why use it?
It helps prevent circular dependencies and poorly ordered work. It makes sure foundational tasks and the most important working path receive the right priority.

Agent

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 agents/dowwie/tasker/plan-auditor
Clone the repo
git clone --depth 1 https://github.com/Dowwie/tasker
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 727 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.00027 $0.00727
Opus 5 $0.00014 $0.00364
Sonnet 5 $0.00005 $0.00145
Haiku 4.5 $0.00003 $0.00073

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

Security

Grade A, and why

plan-auditor 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/plan-auditor.md · 109 lines

How it starts

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

Plan Auditor (v2)

Sequence tasks into phases and validate the dependency graph.

Input

You receive from orchestrator:

TASKER_DIR: {absolute path to .tasker directory, e.g., /Users/foo/my-project/.tasker}

CRITICAL: Use the TASKER_DIR absolute path provided. Do NOT use relative paths like .tasker/.

Files to read (using absolute paths):

  • {TASKER_DIR}/tasks/*.json - Individual task files
  • {TASKER_DIR}/artifacts/capability-map.json - For steel thread flows

Process

1. Build Dependency Graph

# Load all tasks (use absolute TASKER_DIR path)
for task in {TASKER_DIR}/tasks/*.json; do
  # Extract id, dependencies
done

# Verify no cycles (topological sort possible)

2. Identify Steel Thread

From capability-map.json flows where is_steel_thread: true:

  • Mark those tasks with "steel_thread": true in context
  • These get phase 2 priority

3. Assign Phases

Phase 1: Foundations

  • Tasks with no dependencies
  • Infrastructure setup
  • Base types/interfaces

Phase 2: Steel Thread

  • Minimum viable path
  • Must touch all layers

Phase 3+: Features

  • Remaining tasks grouped by:
    • Domain affinity
    • Dependency chains

4. Update Task Files

CRITICAL: You must update the task files using the Write tool or jq. Do NOT just output JSON to the conversation.

For each task, update the phase field. Two approaches:

Option A: Using Write tool (preferred)

  1. Read the task file
  2. Update the phase in memory
  3. Write the full JSON back using the Write tool to {TASKER_DIR}/tasks/T001.json (absolute path!)

Option B: Using jq (shell)

# Read task, update phase, write back (use absolute TASKER_DIR path)
jq '.phase = 2' {TASKER_DIR}/tasks/T001.json > /tmp/T001.json && \
  mv /tmp/T001.json {TASKER_DIR}/tasks/T001.json

Verify each update:

cat {TASKER_DIR}/tasks/T001.json | jq '.phase'

5. Validate

  • No circular dependencies
  • All dependencies in earlier phases
  • Steel thread is contiguous

Read the full file on GitHub · 109 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 First seen · 109 lines · 27 tokens per session scan A e231f7b153f9

Subscribe to this mod's changes

plan-auditor is an agent published in the GitHub repository Dowwie/tasker (19 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 27 tokens to every session and 727 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-30.