pocket-structuring

pocket-structuring is a skill for Claude Code from rfxlamia/pocketto. It costs 43 tokens per session (509 once invoked), scanned A, original, MIT.

A planning tool that breaks a completed execution plan into separate task files, plus an index and phase files when needed.

In plain words
What is it for?
Use it to split a Pocket execution plan into files that developers, delegators, and reviewers can handle one task at a time.
Why use it?
It keeps each coding task small and focused, reducing distraction and overly large working context.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the pocketto plugin — 16 skills shipped together

Good fit Use it to split a Pocket execution plan into files that developers, delegators, and reviewers can handle one task at a time.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/rfxlamia/pocketto/pocket-structuring"><img src="https://agentmods.dev/badge/skills/rfxlamia/pocketto/pocket-structuring.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 509 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.00043 $0.00509
Opus 5.5 $0.00017 $0.00204
Sonnet 5.5 $0.00009 $0.00102
Haiku 4.5 $0.00004 $0.00051

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

Security

Grade A, and why

pocket-structuring 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.

skills/pocket-structuring/SKILL.md · 31 lines

How it starts

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

Pocket Structuring

Use the Pocket CLI to turn a completed execution plan into execution-plan/index.md, one file per task under execution-plan/tasks/, and phase manifests when the plan needs multiple phases. The CLI owns parsing, decomposition, file generation, and log reconciliation; use its JSON result as the source of truth.

Run

Use the plan path from the handoff or the user's request:

npx -y pocketto-pi structure "<path-to-execution-plan.md>" --json --contract 3

Parse the JSON envelope. On success, report the plan feature, task and phase counts, generated paths, and whether the CLI rebuilt the execution log. Do not infer success from prose or generate these files manually.

If the command fails, inspect the error and the plan. Correct recoverable causes—such as a wrong path or malformed input—and rerun the command. Explain the remaining blocker only when it requires missing context, access, or a human decision. A contract mismatch calls for a compatible Pocket CLI version; do not treat it as a plan-format error.

The CLI protects existing execution progress when a changed plan would alter task topology. --force can rebuild topology only when there is no execution progress. --reset discards progress and starts a fresh execution log: never use it without the user's explicit authorization. Use --dry-run to preview a change when its effect is unclear.

Handoff

Structuring authorizes generation of plan artifacts; it does not by itself authorize implementation. After a successful run, continue to pocket-development only if the user asked to begin execution or already authorized that handoff. Otherwise, report the result and stop here. Treat a clear user instruction to structure and execute as authorization; do not ask again for the same approval.

pocket-development and pocket-closing own task execution, phase review, and phase advancement. Follow their phase gates when continuing a multi-phase plan; do not duplicate or bypass them here.

Read the full file on GitHub · 31 lines

Files

What ships with it

2 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. 1mo ago Changed · -103 lines · -13 tokens per session ba485b5df330
  2. 1mo ago Changed 07b5ffdb91d7
  3. 3mo ago First seen · 134 lines · 56 tokens per session scan A 41f5b8a21406

Subscribe to this mod's changes

pocket-structuring is a skill published in the GitHub repository rfxlamia/pocketto (8 stars, last pushed 1mo ago), licensed MIT. It adds 43 tokens to every session and 509 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-08-31.

Related

pocket-structuring compared with skills from other repositories

pocket-structuring next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pocket-structuringrfxlamia/pockettoSkill81mo agoMITA43Claude Code
independent-review-loopDheerG/swarmsSkill854mo agoMITA114Claude Code
resolve-disputeDheerG/swarmsSkill854mo agoMITA32Claude Code
refactoring-patternswondelai/skillsSkill2.8kyesterdayMITA125Claude Code, Codex
triageoliver-kriska/claude-elixir-phoenixSkill579yesterdayMITA32Claude Code
techdebtoliver-kriska/claude-elixir-phoenixSkill579yesterdayMITA36Claude Code
great_ctoavelikiy/great_ctoSkill11715d agoMITA32Claude Code