plan-feature

plan-feature is a command for Claude Code from solanabr/solana-ai-kit. It costs 10 tokens per session (1,958 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

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.

agentmods
npx agentmods add commands/solanabr/solana-ai-kit/plan-feature
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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,958 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00010 $0.01958
Opus 5 $0.00005 $0.00979
Sonnet 5 $0.00002 $0.00392
Haiku 4.5 $0.00001 $0.00196

Measured 5d ago against content hash c9f93026166b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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 · 348 lines

How it starts

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

Create a detailed implementation plan for a Solana blockchain feature.

Feature Description

$ARGUMENTS

Planning Framework

1. Feature Analysis

Break down the feature into:

User Stories

  • As a [user type], I want to [action] so that [benefit]

Technical Requirements

  • On-chain components (programs, accounts)
  • Off-chain components (clients, indexers)
  • Integration points

Dependencies

  • External programs (Token, Metaplex, etc.)
  • SDKs and libraries
  • Infrastructure (RPC, indexer)

Edge Cases

  • Error conditions
  • Boundary values
  • Concurrent access

Success Criteria

  • Functional requirements met
  • Security requirements met
  • Performance targets met

2. Architecture Design

On-Chain Architecture

┌─────────────────────────────────────────────────┐
│                  Your Program                    │
├─────────────────────────────────────────────────┤
│  Instructions      │  Accounts       │  Events  │
│  - initialize      │  - UserAccount  │  - Init  │
│  - action          │  - StateAccount │  - Action│
│  - close           │  - VaultPDA     │  - Close │
└─────────────────────────────────────────────────┘
          │                    │
          ▼                    ▼
┌─────────────────┐  ┌─────────────────┐
│  Token Program  │  │  System Program │
└─────────────────┘  └─────────────────┘

Client Architecture

┌──────────────┐     ┌──────────────┐     ┌──────────────┐
│   Frontend   │────▶│  SDK/Client  │────▶│     RPC      │
│   (React/    │     │  (@solana/   │     │   (Helius/   │
│    Unity)    │     │   kit)       │     │   Triton)    │
└──────────────┘     └──────────────┘     └──────────────┘

Data Flow

User Action → Frontend → Transaction Build → Sign → Send → Confirm → Update UI

3. Account Design

For each account type:

### [AccountName]

**Purpose:** [What this account stores]

**Seeds (if PDA):** `["prefix", key1, key2]`

**Size:** [Calculate exact bytes]

| Field | Type | Size | Description |
|-------|------|------|-------------|
| discriminator | [u8; 8] | 8 | Anchor discriminator |
| field1 | Pubkey | 32 | Description |
| field2 | u64 | 8 | Description |
| **Total** | | **X** | + rent exempt |

**Rent:** ~X.XXX SOL

**Lifecycle:**
1. Created by: [instruction]
2. Modified by: [instructions]
3. Closed by: [instruction]

Read the full file on GitHub · 348 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. 5d 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 (99 stars, last pushed 15d ago), licensed MIT. It adds 10 tokens to every session and 1,958 once invoked, about $0.0001 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-30.