Borrowing it
Nothing to install: this file belongs to developerz-ai/ai-task-master. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/developerz-ai/ai-task-master/main/.claude/commands/planx.mdgit clone --depth 1 https://github.com/developerz-ai/ai-task-masterWrote 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.
[](https://agentmods.dev/commands/developerz-ai/ai-task-master/planx)<a href="https://agentmods.dev/commands/developerz-ai/ai-task-master/planx"><img src="https://agentmods.dev/badge/commands/developerz-ai/ai-task-master/planx/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.
<a href="https://agentmods.dev/commands/developerz-ai/ai-task-master/planx"><img src="https://agentmods.dev/badge/commands/developerz-ai/ai-task-master/planx.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00030 | $0.01780 |
| Opus 5.5 | $0.00012 | $0.00712 |
| Sonnet 5.5 | $0.00006 | $0.00356 |
| Haiku 4.5 | $0.00003 | $0.00178 |
Grade A, and why
planx scanned grade A with 1 finding 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 2mo 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.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
- Portability: code runs unchanged on Bun, Node ≥20, Deno ≥1.40. No `Bun.file`/`Bun.$`/`Bun.spawn` in shipped code (use `node:fs/promises`, `node:child_process`/`execa`, web `fetch`). Bun-only APIs are a portability bug. How it starts
The opening of the file, as written. The whole thing — 106 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/planx
Produce a concise plan another AI can execute with zero extra context. Plan only — no implementation, no code execution, no edits outside the plan dir.
Goal
$ARGUMENTS
Steps
-
Resolve path. Run
date +%Y,date +%m,date +%d. Dir =docs/plans/<YYYY>/<MM>/<DD>/.Glob docs/plans/<YYYY>/<MM>/<DD>/1*→ next number = highest existing1NN-*+ 1, else101. Slug = kebab-case title, max 5 words. Final plan dir:docs/plans/<YYYY>/<MM>/<DD>/<1NN>-<slug>/. -
Explore.
Task(subagent_type=Explore, thoroughness="very thorough"): existing patterns + files to touch (file:line), the right workspace (packages/aitmforaitm,packages/ai-claude-compatfor the AI-SDK/Claude-compat layer), the module(s) underpackages/aitm/src/<module>/from the module map (Credentials, AgentConfigDetector, StateStore, Planner, Worker, Reviewer, GitHubClient, WorkLoop, CLI, Logger), tests (unit*.test.tspaired with the module vs integration inpackages/aitm/test/integration/), provider wiring inCredentials, gotchas. Prefercodegraph_*for structural lookups. Skip only for trivial asks. -
Write the plan as multiple files in the plan dir — never one big
plan.md. Always produce anoverview.mdindex plus one<NN>-<aspect>.mdper separable area (e.g.01-module.md,02-subagent.md,03-cli.md,04-tests.md). Split by area of work so each file is independently executable and stays short. Match the existing house style indocs/plans/— terse fragments,file:linerefs, tables.overview.md— the map. Sections:
# <Title>
## Goal
1-2 sentences: what + why.
## Context
- Stack facts the executor needs (Bun dev runtime; must run unchanged on Bun + Node ≥20 + Deno ≥1.40; ESM only; `ai` package with `ToolLoopAgent` + subagents-as-tools; OpenRouter-only inference via `Credentials`; `gh` CLI wrapper — only what's relevant).
- Reference patterns: `packages/aitm/src/<module>/<file>.ts:12` — follow this for Z.
## Plan files (execute in order)
1. [`01-<aspect>.md`](01-<aspect>.md) — one line: what it covers.
2. [`02-<aspect>.md`](02-<aspect>.md) — ...
## Done when
- Verifiable acceptance criteria spanning the whole feature.
## Risks / open questions
- Anything the executor must decide or watch.
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.
- 2mo ago First seen · 106 lines · 30 tokens per session scan A 472e141efbd7
planx is a command published in the GitHub repository developerz-ai/ai-task-master (5 stars, last pushed 3d ago), licensed MIT. It adds 30 tokens to every session and 1,780 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
planx compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| planxdeveloperz-ai/ai-task-master | Command | 5 | 3d ago | MIT | A | 30 | Claude Code |
| fix-issuescan1357/oh-my-pi | Command | 38k | yesterday | MIT | A | 0 | Claude Code |
| triagecan1357/oh-my-pi | Command | 38k | yesterday | MIT | A | 0 | Claude Code |
| releasecan1357/oh-my-pi | Command | 38k | yesterday | MIT | A | 0 | Claude Code |
| cleanupcan1357/oh-my-pi | Command | 38k | yesterday | MIT | A | 0 | Claude Code |
| checklistgithub/spec-kit | Command | 148k | yesterday | MIT | A | 13 | Claude Code |
| clarifygithub/spec-kit | Command | 148k | yesterday | MIT | A | 27 | Claude Code |