kamehadb: Skill for Claude Code

.agents/skills/plan-feature/SKILL.md

plan-feature is a skill for Claude Code, Codex from asta-nguyen/kamehadb. It costs 43 tokens per session (1,882 once invoked), scanned A, original, Apache-2.0.

A planning procedure that turns an approved feature design into a short, file-by-file coding plan before anyone edits the code.

In plain words
What is it for?
Use it to map affected files, interfaces, existing code, and tests for a non-trivial feature or API change.
Why use it?
It prevents coding from starting with unclear scope, missed callers, or poorly separated work. It also records the plan for later implementation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is asta-nguyen/kamehadb's own configuration. It tells Claude Code and Codex how to work on kamehadb itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything kamehadb configures →

Reuse

Borrowing it

Nothing to install: this file belongs to asta-nguyen/kamehadb. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/asta-nguyen/kamehadb/main/.agents/skills/plan-feature/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/asta-nguyen/kamehadb

Made for: Claude Code, Codex.

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 plan-feature

README.md
[![agentmods](https://agentmods.dev/badge/skills/asta-nguyen/kamehadb/plan-feature/github.svg)](https://agentmods.dev/skills/asta-nguyen/kamehadb/plan-feature)
Your own site
<a href="https://agentmods.dev/skills/asta-nguyen/kamehadb/plan-feature"><img src="https://agentmods.dev/badge/skills/asta-nguyen/kamehadb/plan-feature/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 plan-feature

Your own site · 80×15
<a href="https://agentmods.dev/skills/asta-nguyen/kamehadb/plan-feature"><img src="https://agentmods.dev/badge/skills/asta-nguyen/kamehadb/plan-feature.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 1,882 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.01882
Opus 5.5 $0.00017 $0.00753
Sonnet 5.5 $0.00009 $0.00376
Haiku 4.5 $0.00004 $0.00188

Measured 19d ago against content hash 50a0efac053d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

plan-feature 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 19d 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.

.agents/skills/plan-feature/SKILL.md · 132 lines

How it starts

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

Plan Feature

Turn a design into a short execution plan before editing code. For a new change, brainstorm-feature writes design.md and calls this skill before any approval; the user then approves design.md and tasks.md together, once. "The design" means that written design.md. Save tasks.md beside it in the change folder (using-devkit's ## Change lifecycle). A legacy design with no change folder is covered by ../using-devkit/references/legacy.md; read it when you meet one. Create the folder only when writing the plan.

Entry points

  • Route handoff from brainstorm-feature: write the plan and present it for the joint approval (step 9).
  • Route handoff from estimate-feature: when the user asked for an estimate and only a written design.md exists, write the plan, call estimate-feature before the approval gate, and present the plan and estimate together.
  • Route handoff from implement-task: a material decision found during implementation. Revise the open tasks.md, record the decision in its ## Decision Log, reset the gate to pending, present the revision for approval, and resume implement-task after re-approval.
  • Repair handoff (e.g. estimate-feature asking for missing task detail in an existing plan): fix the plan, run the self-review, and return to the caller with the gate preserved or reset and the reason. Do not call estimate-feature or ask for approval, and never start implementation.

Process

  1. Read the design, AGENTS.md, and related wiki pages. If application source exists, call the available Skill entry whose local name is read-codebase-context to inspect affected source, callers, and tests; otherwise map planned files and interfaces from the design and state that callers and tests do not exist yet. Revise an open change's tasks.md in place; new architectural work after a change is archived gets a new design and folder. Keep completed tasks and results historical; add new work as a new task only while the change is open. Extract only exact constraints from the design that bind more than one task; infer none from convention.
  2. Map which files will be created or modified and what each is responsible for. Follow existing patterns; do not unilaterally restructure. Before accepting a proposed unit, apply implement-task's ## Implementation ladder, planning new code only at its last step. Every new file, abstraction, dependency, or configuration value must map to an approved requirement, and minimal design must not remove explicit behavior, trust-boundary validation, security, accessibility, or error handling that prevents data loss.
  3. Split the work into small, ordered tasks with the fields in references/tasks-template.md (read it now). Put contract and data changes before their callers and tests beside the behavior they verify. Map every approved edge case to a task and a specific check. If planning exposes an unresolved case that would change observable behavior, scope, an interface, a schema, or a protected boundary, stop and call brainstorm-feature; leave only behavior-equivalent details for implement-task rulings. Add no tasks for speculative abstractions, and do not add review-and-verify or commit steps; implement-task owns the final review. Plans describe intended behavior and interfaces, not code: include no function bodies or full test code. Include exact snippets only when the precise string, regex, config value, or contract shape is itself a requirement.
  4. Give each task a meaningful Verify check using the existing test runner and a failing test when it protects changed behavior. With no tests, use a repeatable check available in the project; do not add a test runner solely for the plan. Record the expected result, and mark a behavior cannot verify when no check can establish it. For a source-less project, the first task bootstraps the runtime and first entry point the design specifies, with its verification; if the design does not establish them, call brainstorm-feature.
  5. Add ## Approval Gate and ## Decision Log as the template shows. A new tasks.md is Status: pending; revisions follow the template's revision rule.
  6. Save the complete plan with ## Design, ## Global Constraints, and ## Impact map (seven fields from read-codebase-context's ## Trace and record the impact). The folder is indexed only on approval (step 9).
  7. Run the self-review below and fix issues inline.
  8. Do not estimate effort here. When the user explicitly requests an estimate, call estimate-feature before presenting the approval gate; otherwise present none. An estimate never authorizes implementation.
  9. Before requesting approval or delivering a planning-only result, give a short summary in the user's language with links to the written files: Goal; Scope and impact; Tasks (count and ordered titles); Verification (checks, naming any limit); Documentation (pages to update, or wiki not applicable); Risks and decisions. Summarize the actual design and tasks, not a second plan. State whether approval authorizes implementation or the request stops at planning. Unresolved material decisions return to brainstorm-feature; never present the plan as ready to implement. Apply the template's revision rule first: an existing plan that stays approved is summarized without a new approval request. Otherwise present design.md, tasks.md, any delta.md, and the requested estimate together and ask for one approval, then stop without editing application code. Revise the files in place until the user explicitly approves; then set Status: approved, index the folder per using-devkit's ## Change lifecycle, and continue: call setup-codebase first when the target has no AGENTS.md or application source, then implement-task. That approval is the gate, so do not ask again. If the user limited the request to design or planning, record the approval and stop. End with the Next: block from using-devkit; for a pending gate it names the exact approval the user must give.

Read the full file on GitHub · 132 lines

Files

What ships with it

1 file 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. 19d ago Changed · -122 lines · -1 tokens per session 50a0efac053d
  2. 26d ago Changed · +70 lines · +12 tokens per session 5463284e31b9
  3. 1mo ago First seen · 184 lines · 32 tokens per session scan A 4197d0f5442a

Subscribe to this mod's changes

plan-feature is a skill published in the GitHub repository asta-nguyen/kamehadb (14 stars, last pushed 10d ago), licensed Apache-2.0. It adds 43 tokens to every session and 1,882 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-10-05.

Related

plan-feature compared with skills from other repositories

plan-feature next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
plan-featureasta-nguyen/kamehadbSkill1410d agoApache-2.0A43Claude Code, Codex
chromaNousResearch/hermes-agentSkill261kyesterdayMITA12Claude Code, Codex
backend-patternsaffaan-m/ECCSkill298k4d agoMITA51Claude Code, Codex
database-migrationsaffaan-m/ECCSkill298k4d agoMITA61Claude Code, Kiro
postgres-patternsaffaan-m/ECCSkill298k4d agoMITA45Claude Code, Kiro
free-llm-apismnfst/awesome-free-llm-apisSkill12kyesterdayCC0-1.0A116Claude Code, Codex
review-prsgoogleapis/mcp-toolboxSkill17kyesterdayApache-2.0A162Claude Code, Codex