pocket-planning

pocket-planning is a skill for Claude Code from rfxlamia/pocketto. It costs 76 tokens per session (6,747 once invoked), scanned A, original, MIT.

A planning tool that turns a completed specification into a test-first execution plan. TDD, or test-driven development, means planning each task around a failing test, a passing implementation, and cleanup.

In plain words
What is it for?
Use it to create Pocket tasks from a specification, including acceptance criteria, execution order, parallel work, and commit steps.
Why use it?
It converts requirements into ordered coding tasks with clear test intent, reducing uncertainty during implementation.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the pocketto plugin — 13 skills shipped together

Good fit Use it to create Pocket tasks from a specification, including acceptance criteria, execution order, parallel work, and commit steps.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rfxlamia/pocketto/pocket-planning
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.

Any agent
npx skills add rfxlamia/pocketto --skill pocket-planning
Clone the repo
git clone --depth 1 https://github.com/rfxlamia/pocketto

Made for: Claude Code.

Or install pocketto, the plugin that ships this one along with the rest of its 13 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 pocket-planning

README.md
[![agentmods](https://agentmods.dev/badge/skills/rfxlamia/pocketto/pocket-planning/github.svg)](https://agentmods.dev/skills/rfxlamia/pocketto/pocket-planning)
Your own site
<a href="https://agentmods.dev/skills/rfxlamia/pocketto/pocket-planning"><img src="https://agentmods.dev/badge/skills/rfxlamia/pocketto/pocket-planning/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 pocket-planning

Your own site · 80×15
<a href="https://agentmods.dev/skills/rfxlamia/pocketto/pocket-planning"><img src="https://agentmods.dev/badge/skills/rfxlamia/pocketto/pocket-planning.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,747 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.00076 $0.06747
Opus 5 $0.00038 $0.03374
Sonnet 5 $0.00015 $0.01349
Haiku 4.5 $0.00008 $0.00675

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

Security

Grade A, and why

pocket-planning 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 10d 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.

skills/pocket-planning/SKILL.md · 614 lines

How it starts

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

Pocket Planning

Bridges pocket-grinding spec and pocket-development execution. Scans codebase context, maps file structure, decomposes acceptance criteria into TDD-structured tasks, generates Pocket Packets with test-first steps and commits, then runs a spec reviewer subagent — plus a conditional test strategy audit when any Phase 6 trigger fires (cross-unit GWT scenario, ambiguous test level, persistence/concurrency/network/external-service behavior that materially changes how the task must be tested, or a [test-risk] task) — before handoff.

Core principle: Every task is red → green → refactor → commit. Steps live inside the task. Pocket enforces execution order and parallelism.

Test boundary: Planning owns test intent. Development owns test implementation. Packets carry test intent — never test source code (Phase 4).

When to Use

  • pocket-grinding skill has invoked this with a spec path + acceptance criteria
  • User says "create plan from spec", "build execution plan", "plan this"
  • A spec exists in docs/pocket/spec/ and needs to become executable tasks

Do NOT use:

  • Without a completed pocket-grinding spec (use pocket-grinding skill first)
  • To re-plan a task already in execution (use pocket-development directly)

Hard Gates

GATE 0: POCKET-GRINDING HANDOFF VERIFICATION.
        Before doing ANYTHING else, verify you have ALL of these:
        - [ ] Spec file path (e.g., docs/pocket/spec/YYYY-MM-DD-slug/topic.md)
        - [ ] Acceptance criteria (full GWT list)
        - [ ] Architecture constraints
        - [ ] Design decision
        - [ ] Open questions / assumptions
        If ANY is missing → STOP. "HANDOFF_INCOMPLETE: Missing [list missing items].
        Return to pocket-grinding or provide manually."
        Do NOT proceed to Phase 0 until all inputs are verified.

GATE 1: Spec must exist and be readable. Missing → ask user for correct path.

GATE 2: Acceptance criteria must be present and usable.
        Rules with GWT → use directly.
        Rules without GWT → derive behavioral assertions, mark [derived].
        No acceptance criteria at all → STOP. Return to pocket-grinding.

GATE 3: Design Decision section must be present in spec.
        Missing → STOP. "Design Decision not found. Return to pocket-grinding
        or provide the decision manually." Do not proceed to Phase 2.

GATE 4: Spec Reviewer must APPROVE before the plan is presented at the Phase 7
        approval gate.
        Issues Found → fix plan, re-run reviewer. Do not skip.
        (Phase 6 is conditional — an APPROVE is required whether or not it runs.
         If Phase 6 changes the plan, it is re-reviewed before Phase 7.)

GATE 5: User must approve the final plan before ANY downstream handoff.
        All plans hand off to pocket-structuring (which generates the execution-plan/ index and task files).
        Running `structure --dry-run` is validation only and never authorizes a handoff.
        Do not invoke pocket-structuring before the user explicitly approves.

Read the full file on GitHub · 614 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 10d ago First seen · 614 lines · 76 tokens per session scan A 8456a539630c

Subscribe to this mod's changes

pocket-planning is a skill published in the GitHub repository rfxlamia/pocketto (5 stars, last pushed 18d ago), licensed MIT. It adds 76 tokens to every session and 6,747 once invoked, about $0.0004 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

codex-loop

Fix Elixir/Phoenix code until Codex CLI review comes back clean — bounded review, fix, verify loop before opening a PR. Use when codex is installed and you want an external cross-model critic on your changes before pushing.

oliver-kriska/claude-elixir-phoenix · 52 tokens

codex-ab

Run an A/B codex review experiment — holistic codex review vs 3 focused dimension passes (security, ecto, liveview) on the branch diff, classify findings, report a panel-value verdict. Use when the branch is fresh, before any codex review runs.

oliver-kriska/claude-elixir-phoenix · 60 tokens

test-strategy

Coverage-design method for qa-engineer — pyramid ratios per archetype, equivalence/boundary/property case selection, mutation score as the real coverage signal, and a flake-quarantine policy. Turns "coverage is 90%" (a number with no method) into a defensible test plan. Emits TEST-STRATEGY-{slug}.md, which the QA gate…

avelikiy/great_cto · 82 tokens

quant-validation

The methods a financial-ML result has to survive before it is evidence — purged cross-validation with an embargo, triple-barrier labelling, sample uniqueness under overlapping labels, fractional differentiation, meta-labelling, and multiple-testing correction. Written because the invariants were required of…

avelikiy/great_cto · 104 tokens

independent-review-loop

Independent review loop run before delivery in code work. An independent reviewer (Codex, or fresh Codex-style subagents) reads the whole PR against the approved outcome; the lead fixes in-scope functional findings and re-reviews until none remain. Its differentiator is independence and exhaustiveness — a reviewer…

DheerG/swarms · 114 tokens

fec-component-testing

A guide for writing and reviewing front-end unit, component, and lightweight integration tests. These tests check small pieces of code and UI behavior without running a full browser journey.

bovinphang/frontend-craft · 123 tokens