plan-feature

plan-feature is a command for Claude Code from solanabr/solana-ai-kit. It costs 18 tokens per session (538 once invoked), scanned A, original, MIT.

A command that turns a Solana feature idea into a technical implementation plan. Solana is a blockchain platform, so the plan covers both on-chain programs and off-chain clients or services.

In plain words
What is it for?
Use it to define user stories, technical requirements, external programs and libraries, architecture, success criteria, and handling for errors, limits, and concurrent access.
Why use it?
It exposes dependencies, edge cases, integration points, and security requirements before implementation begins.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit Use it to define user stories, technical requirements, external programs and libraries, architecture, success criteria, and handling for errors, limits, and concurrent access.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/solanabr/solana-ai-kit/plan-feature
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.

Clone the repo
git clone --depth 1 https://github.com/solanabr/solana-ai-kit

Made for: Claude Code.

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/commands/solanabr/solana-ai-kit/plan-feature/github.svg)](https://agentmods.dev/commands/solanabr/solana-ai-kit/plan-feature)
Your own site
<a href="https://agentmods.dev/commands/solanabr/solana-ai-kit/plan-feature"><img src="https://agentmods.dev/badge/commands/solanabr/solana-ai-kit/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/commands/solanabr/solana-ai-kit/plan-feature"><img src="https://agentmods.dev/badge/commands/solanabr/solana-ai-kit/plan-feature.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 538 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.00018 $0.00538
Opus 5.5 $0.00007 $0.00215
Sonnet 5.5 $0.00004 $0.00108
Haiku 4.5 $0.00002 $0.00054

Measured 25d ago against content hash de8c3f9a1193, 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 25d 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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

.claude/commands/plan-feature.md · 28 lines

How it starts

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

Write an implementation plan for the feature described in $ARGUMENTS. Plan only; write no code. If .claude/context/idea.md exists (written by the idea-sprint skill), start from it instead of re-asking what it already answers.

Steps

  1. Read the code the feature touches. Ask the user only about decisions that change the design: who signs and who pays rent, expected scale and contention, upgradeability, target clusters, Token vs Token-2022.
  2. If the account model or the program split is still open, spawn solana-architect and plan from its design.
  3. Write the plan below. Size each account from its fields (Anchor 1.x: T::DISCRIMINATOR.len() + T::INIT_SPACE), price its rent, and give each instruction a CU estimate that /profile-cu will verify later.

Plan format

  1. Summary: the problem, who it is for, and the one flow that must work.
  2. Accounts: per account: purpose, PDA seeds, fields with sizes, total bytes and rent, and which instructions create, mutate and close it.
  3. Instructions: per instruction: accounts (signer, writable, PDA), arguments with bounds, checks, state changes, events, errors, CU estimate.
  4. Integrations: CPIs into other programs, SDKs, RPC and indexer needs.
  5. Clients: generated client (/generate-idl-client), frontend, Unity or backend touchpoints.
  6. Phases: ordered; each lists the files to add or change, the tests that prove it done, and its review gate (/test-rust, /diff-review, plus /audit-solana for code that holds funds).
  7. Risks: CU and transaction size (1232 bytes for legacy and v0, 4096 for v1), account growth and realloc, write-lock contention on shared accounts, upgrades and data migration, changes in external programs.
  8. Tests: happy paths, every error path, adversarial cases (wrong signer, substituted or duplicated accounts, boundary amounts), and Surfpool mainnet-fork tests for CPIs into live programs.
  9. Rollout: devnet first through /deploy, then the mainnet and upgrade-authority plan.

Read the full file on GitHub · 28 lines

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. 25d ago Changed · -320 lines · +8 tokens per session de8c3f9a1193
  2. 1mo ago First seen · 348 lines · 10 tokens per session scan A c9f93026166b

Subscribe to this mod's changes

plan-feature is a command published in the GitHub repository solanabr/solana-ai-kit (104 stars, last pushed 26d ago), licensed MIT. It adds 18 tokens to every session and 538 once invoked, about $0.0001 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-30.