scaffold

scaffold is a command for Claude Code from solanabr/solana-ai-kit. It costs 21 tokens per session (702 once invoked), scanned C, original, MIT.

A project generator for Solana, a blockchain platform. It can prepare an on-chain program, a web interface, tests, and continuous-integration setup based on the project type.

In plain words
What is it for?
Use it to start an Anchor program, a full-stack Solana app with a Next.js interface, a frontend that connects to existing programs, or a native Solana program.
Why use it?
It avoids manually creating the folders and basic configuration needed to start a Solana project.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: model in frontmatter; mentions CLAUDE.md.

Good fit Use it to start an Anchor program, a full-stack Solana app with a Next.js interface, a frontend that connects to existing programs, or a native Solana program.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/solanabr/solana-ai-kit/scaffold/github.svg)](https://agentmods.dev/commands/solanabr/solana-ai-kit/scaffold)
Your own site
<a href="https://agentmods.dev/commands/solanabr/solana-ai-kit/scaffold"><img src="https://agentmods.dev/badge/commands/solanabr/solana-ai-kit/scaffold/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 scaffold

Your own site · 80×15
<a href="https://agentmods.dev/commands/solanabr/solana-ai-kit/scaffold"><img src="https://agentmods.dev/badge/commands/solanabr/solana-ai-kit/scaffold.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 702 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00021 $0.00702
Opus 5.5 $0.00008 $0.00281
Sonnet 5.5 $0.00004 $0.00140
Haiku 4.5 $0.00002 $0.00070

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

Security

Grade C, and why

scaffold scanned grade C with 2 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 2mo 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

2. **Install the kit config.** The new directory must be its own git repository (`git init` if the generator didn't create one), because the installer skips submodule init otherwise. Run the installer against it: `bash <

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

2. **Install the kit config.** The new directory must be its own git repository (`git init` if the generator didn't create one), because the installer skips submodule init otherwise. Run the installer against it: `bash <
Origin

Copies of this mod

2 near-identical copies found in the catalogue:

  • scaffold — 100% identical, 251 lines differ
  • scaffold — 100% identical, 251 lines differ
.claude/commands/scaffold.md · 26 lines

How it starts

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

Scaffold a new project and install the kit into it. $ARGUMENTS: the project name and, optionally, the type; ask for whatever is missing.

Steps

  1. Pick the type, asking unless the arguments make it clear. For program types, if solana --version or anchor --version fails, send the user to /doctor first.

    Type Scaffold
    Anchor program anchor init <name> --test-template litesvm: Rust LiteSVM tests under programs/<name>/tests/ (the Anchor 1.x default, pinned explicitly). Add --template multiple for a lib.rs / instructions/ / state/ layout.
    Fullstack npx create-solana-dapp@latest <name> -t solana-foundation/templates/kit/nextjs-anchor (Next.js + Anchor + Kit)
    Frontend only npx create-solana-dapp@latest <name> -t <template> with a Kit template that has no program (npx create-solana-dapp@latest --list-templates), or npx create-next-app@latest <name> --typescript --tailwind --eslint --app --src-dir --import-alias "@/*" plus the dependencies in frontend.md
    Native (Pinocchio) cargo new --lib <name> (or cargo init --lib in place), set crate-type = ["cdylib", "lib"], add pinocchio at the versions in pinocchio.md, build with cargo build-sbf, test with Mollusk or LiteSVM

    Always pass -t to create-solana-dapp; without it the CLI stops at an interactive prompt.

  2. Install the kit config. The new directory must be its own git repository (git init if the generator didn't create one), because the installer skips submodule init otherwise. Run the installer against it: bash <kit-clone>/install.sh <dir>, or curl -fsSL https://aikit.superteam.codes | bash -s -- <dir>; add --agents for an .agents/ install. It copies .claude/, writes CLAUDE.md from CLAUDE-solana.md, inits the ext/ submodules and gitignores the kit files (/commit-claude-config versions them).

  3. Git. Make the initial commit (feat: scaffold <name> with solana-ai-kit), then start work on a branch: git checkout -b <type>/<scope>-<description>-<DD-MM-YYYY>.

Read the full file on GitHub · 26 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. 2mo ago Changed · -220 lines · +5 tokens per session scan A → C 8872a1e1b687
  2. 2mo ago Changed · +1 lines edf6d0b04144
  3. 3mo ago First seen · 245 lines · 16 tokens per session scan A 2295579247b4

Subscribe to this mod's changes

scaffold is a command published in the GitHub repository solanabr/solana-ai-kit (104 stars, last pushed 2mo ago), licensed MIT. It adds 21 tokens to every session and 702 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

scaffold compared with commands from other repositories

scaffold next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
scaffoldsolanabr/solana-ai-kitCommand1042mo agoMITC21Claude Code
db-migrategeorgekhananaev/claude-skills-vaultCommand328d agoMITA0Claude Code
plan-featuregeorgekhananaev/claude-skills-vaultCommand328d agoMITA27Claude Code
git-pushgeorgekhananaev/claude-skills-vaultCommand328d agoMITA0Claude Code
apexfusengine/agentsCommand341mo agoMITA42Claude Code
review-prgeorgekhananaev/claude-skills-vaultCommand328d agoMITB18Claude Code
explain-architecturefusengine/agentsCommand341mo agoMITA19Claude Code