pocket-grinding

pocket-grinding is a skill for Claude Code from rfxlamia/pocketto. It costs 65 tokens per session (5,666 once invoked), scanned A, original, MIT.

A planning skill that uses behavior-driven development (BDD), a method of describing software through concrete examples, to clarify features and fixes before coding begins.

In plain words
What is it for?
It is for exploring non-trivial features, bug fixes, refactors, and API changes, then producing an approved specification for implementation.
Why use it?
It reduces unclear requirements and prevents implementation from starting before the scope, examples, and fit with the existing architecture are understood.

Skill for Claude Code

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

Part of the pocketto plugin — 16 skills shipped together

Good fit It is for exploring non-trivial features, bug fixes, refactors, and API changes, then producing an approved specification for implementation.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/rfxlamia/pocketto/pocket-grinding"><img src="https://agentmods.dev/badge/skills/rfxlamia/pocketto/pocket-grinding.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,666 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.00065 $0.05666
Opus 5.5 $0.00026 $0.02266
Sonnet 5.5 $0.00013 $0.01133
Haiku 4.5 $0.00006 $0.00567

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

Security

Grade A, and why

pocket-grinding 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-grinding/SKILL.md · 455 lines

How it starts

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

Pocket Grinding

Production-grade requirement discovery using BDD principles. Gathers project context, defines scope, questions from three expert lenses, maps concrete examples to scenarios, validates against existing architecture, and produces a spec ready for delegation.

Core principle: Scenarios first, design second. Architecture must be validated before handoff. No implementation until spec is approved.

When to Use

Trigger this skill when:

  • Planning a feature whose shape or requirements aren't yet clear, or that spans multiple files/phases (small, clearly-specified additions → hotfix)
  • Fixing a non-trivial bug with design implications
  • Refactoring a system boundary or changing an API contract
  • User says "let's think through", "plan this", "explore options", "before we build"

Do NOT use for:

  • Trivial single-line fixes (typo, config value, rename)
  • Small, well-understood changes touching only 1–4 files and resolvable in 1–2 requests → use hotfix instead (Phase 1.5 surfaces this off-ramp mid-flow)
  • Work that already has an approved spec

Operating Rules

  • Follow the user's stated scope. Treat clear instructions, corrections, and approvals already given as authorization. Ask only when a consequential product decision remains open; do not ask the user to repeat a decision or choose a numbered option.
  • Keep grinding in discovery. Do not implement product code, scaffolding, or migrations as part of this skill. Hand off an approved or already-authorized spec to pocket-planning for implementation planning.
  • Ground validation in evidence. A checklist item passes only when supported by inspected codebase evidence or, for version-dependent external behavior, current documentation for the relevant version. Record the evidence with the result.
  • Keep independent review with bounded recovery. Run the edge-case hunter after writing GWT scenarios. After the initial review attempt, allow at most two materially different prompt/context or reviewer-route recovery rounds. At the cap, report RECOVERY_CHECKPOINT; leave the review unresolved and do not hand off as approved. Resume only after explicit user authorization for a new bounded window.
  • Resolve failed validation with a changed action. When evidence contradicts a design, revise the proposal and re-check the affected claims. When evidence is missing, inspect up to two distinct relevant sources or modes after the initial attempt, then record UNVERIFIED and the unresolved question rather than searching indefinitely or marking it PASS by assumption.
  • Honor the authorized handoff. If the user asked for the full spec-to-planning flow, that instruction authorizes the handoff once the required artifacts are ready. Otherwise, present the completed spec and wait for approval before invoking pocket-planning.

Read the full file on GitHub · 455 lines

Files

What ships with it

5 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 · +7 lines a1e8e539152f
  2. 1mo ago Changed · -85 lines 91fb32f61224
  3. 3mo ago First seen · 533 lines · 65 tokens per session scan A f6b509bb4295

Subscribe to this mod's changes

pocket-grinding is a skill published in the GitHub repository rfxlamia/pocketto (8 stars, last pushed 1mo ago), licensed MIT. It adds 65 tokens to every session and 5,666 once invoked, about $0.0003 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-grinding compared with skills from other repositories

pocket-grinding next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pocket-grindingrfxlamia/pockettoSkill81mo agoMITA65Claude Code
independent-review-loopDheerG/swarmsSkill854mo agoMITA114Claude Code
resolve-disputeDheerG/swarmsSkill854mo agoMITA32Claude Code
refactoring-patternswondelai/skillsSkill2.8kyesterdayMITA125Claude Code, Codex
boundariesoliver-kriska/claude-elixir-phoenixSkill579yesterdayMITA33Claude Code
triageoliver-kriska/claude-elixir-phoenixSkill579yesterdayMITA32Claude Code
techdebtoliver-kriska/claude-elixir-phoenixSkill579yesterdayMITA36Claude Code