A skill your agent uses whenever the user wants to write, scaffold, or build a Solana smart contract or program from scratch.

No licenceAuto-check passedBackend & APIs

Install Safe Solana Builder

skills CLI
$ npx skills add Frankcastleauditor/safe-solana-builder --skill safe-solana-builder -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Frankcastleauditor/safe-solana-builder safe-solana-builder --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
safe-solana-builder
GitHub stars
145
Token cost
~3.6k tokens
SKILL.md length
1,565 words
Files
9 (incl. references)
Skills in repo
1
Repo updated
First seen
Licence
None found

At a glance

A skill your agent uses whenever the user wants to write, scaffold, or build a Solana smart contract or program from scratch.

  • Works in 5 steps: Ask the Framework Question → Load Your Reference Files → Assess Risk Level → …
  • The user wants to write
  • SKILL.md covers Step 1 — Ask the Framework…, Step 1b — Ask the Testing…, Step 2 — Load Your Reference… and Step 3 — Assess Risk Level, plus 4 more sections
  • Runs Rust scripts from its folder

What it does

Safe Solana Builder is an agent skill from Frankcastleauditor/safe-solana-builder. Use this skill whenever the user wants to write, scaffold, or build a Solana smart contract or program from scratch. Triggers on: "write a Solana program", "create a smart contract", "build an anchor program", "write a native Rust Solana program", "scaffold a Solana program", "help me write a program that does X on Solana", or any request to produce production-grade on-chain Solana code. This skill enforces Frank Castle's security best practices and pitfall avoidance guidelines automatically — giving every…

Its SKILL.md is about 3.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 11 other files, including reference files (for example `README.md`, `examples/nft-whitelist-mint/security-checklist.md` and `references/anchor.md`).

It sits in Backend & APIs, covering Smart contracts. It works with Solana and Rust. The repository describes itself as: The first Claude skill for writing production-grade, security-first Solana programs. Anchor & Native Rust. Built by Frank Castle.

When your agent uses it

  • The user wants to write
  • Build a Solana smart contract
  • Program from scratch
  • : write a Solana program

Example prompts

  • “write a Solana program”
  • “create a smart contract”
  • “build an anchor program”
  • “/safe-solana-builder”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Ask the Framework Question
  2. Load Your Reference Files
  3. Assess Risk Level
  4. Gather Program Requirements
  5. Write the Program

What it can do on your machine

Read from SKILL.md and the folder at commit 6154cab. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Rust), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Safe Solana Builder loads about 3.6k tokens when it runs, and up to ~32k if it reads all its reference files. Until then it costs about 178 tokens; SKILL.md has 1,565 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~178
When it runs · the whole SKILL.md, loaded when a task matches
~3.6k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~32k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 1,565 words (~3,617 tokens).

“You are writing production-grade Solana programs. Security is not an afterthought — it is baked into every line. Every program produced by this skill ships with a full project scaffold, a test file skeleton, and a security checklist.”

— opening of SKILL.md by Frankcastleauditor
name
safe-solana-builder

Read the full SKILL.md on GitHub

Files

SKILL.md and 8 other files (references) in the repository root of Frankcastleauditor/safe-solana-builder.

  • SKILL.md
  • README.md
  • examples/nft-whitelist-mint/lib.rs
  • examples/nft-whitelist-mint/security-checklist.md
  • references/anchor.md
  • references/litesvm.md
  • references/native-rust.md
  • references/pinocchio.md
  • references/shared-base.md

Open the folder on GitHubat commit 6154cab

Compare with similar skills

Safe Solana Builder next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Safe Solana Builder compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Safe Solana Builder this skillFrankcastleauditor/safe-solana-builder145—~3.6kAutomated safety check: PassNone
RadarAuditware/radar154—~2.1kAutomated safety check: PassGPL-3.0
Wiremock TestOpenZeppelin/openzeppelin-relayer154—~1.6kAutomated safety check: NotesAGPL-3.0
deBridge Solana SDK Guideinternet-court/internet-court-skill6.6k2 repos~4.9kAutomated safety check: PassApache-2.0
Pyth Network Price Feedsinternet-court/internet-court-skill6.6k2 repos~3.9kAutomated safety check: PassApache-2.0
Switchboard Oracle SDKinternet-court/internet-court-skill6.6k2 repos~2.9kAutomated safety check: PassApache-2.0

Similar skills

  • Radar

    Auditware/radar

    Use radar for smart contract security analysis, AST generation, and detection template development.

    154 GitHub stars~2.1k tokensUpdated 1 mo ago
    Backend & APIsAuto-check passed
  • Wiremock Test

    OpenZeppelin/openzeppelin-relayer

    Manage WireMock proxy for RPC testing. An agent skill from OpenZeppelin/openzeppelin-relayer.

    154 GitHub stars~1.6k tokensUpdated yesterday
    Backend & APIsAuto-check: notes
  • deBridge Solana SDK Guide

    internet-court/internet-court-skill

    Guides building Solana programs with the deBridge SDK for cross-chain token transfers, message passing and external calls to EVM chains.

    6.6k GitHub starsUsed in 2 repos~4.9k tokens
    Backend & APIsAuto-check passed
  • Pyth Network Price Feeds

    internet-court/internet-court-skill

    Shows how to read Pyth oracle prices in Solana apps, off-chain through the Hermes client or on-chain from an Anchor program, including confidence and EMA values.

    6.6k GitHub starsUsed in 2 repos~3.9k tokens
    Backend & APIsAuto-check passed
  • Switchboard Oracle SDK

    internet-court/internet-court-skill

    Covers integrating Switchboard oracles on Solana: pull feeds, oracle quotes, VRF randomness and Surge WebSocket streaming, from both the TypeScript SDK and Rust.

    6.6k GitHub starsUsed in 2 repos~2.9k tokens
    Backend & APIsAuto-check passed
  • Solana Development Playbook

    internet-court/internet-court-skill

    End-to-end Solana development guide covering wallet connection, Anchor and Pinocchio programs, Codama clients, local testing, security checks and RPC lookups with curl.

    6.6k GitHub stars~3k tokensUpdated 1 mo ago
    Backend & APIsAuto-check passed

Works with

Categories

Questions about Safe Solana Builder

What does Safe Solana Builder do?

A skill your agent uses whenever the user wants to write, scaffold, or build a Solana smart contract or program from scratch. Safe Solana Builder is an agent skill from Frankcastleauditor/safe-solana-builder. Use this skill whenever the user wants to write, scaffold, or build a Solana smart contract or program from scratch.

When should I use Safe Solana Builder?

Safe Solana Builder fits situations like: the user wants to write; build a Solana smart contract; program from scratch; : write a Solana program.

How do I install Safe Solana Builder in Claude Code?

Run `npx skills add Frankcastleauditor/safe-solana-builder --skill safe-solana-builder -a claude-code`. Or copy the skill folder (the Frankcastleauditor/safe-solana-builder repository) into .claude/skills/safe-solana-builder in your project. Claude Code loads it when a task matches its description.

How do I install Safe Solana Builder in Codex?

Run `npx skills add Frankcastleauditor/safe-solana-builder --skill safe-solana-builder -a codex`. Or copy the skill folder (the Frankcastleauditor/safe-solana-builder repository) into .agents/skills/safe-solana-builder in your project. Codex loads it when a task matches its description.

Can I use Safe Solana Builder in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Frankcastleauditor/safe-solana-builder --skill safe-solana-builder -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/safe-solana-builder, .gemini/skills/safe-solana-builder, .github/skills/safe-solana-builder and .opencode/skills/safe-solana-builder in your project.

What does Safe Solana Builder need to run?

Going by SKILL.md and its folder, Safe Solana Builder needs Rust for the scripts in its folder.

Does Safe Solana Builder access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Safe Solana Builder safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Safe Solana Builder use?

No licence was found for Safe Solana Builder or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Safe Solana Builder use?

About 3.6k tokens (SKILL.md is roughly 14k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 28k tokens, read only when the agent opens those files.

What are the alternatives to Safe Solana Builder?

Skills that share tags, products or a category with Safe Solana Builder: Radar (Auditware/radar, 154 stars), Wiremock Test (OpenZeppelin/openzeppelin-relayer, 154 stars), deBridge Solana SDK Guide (internet-court/internet-court-skill, 6.6k stars) and Pyth Network Price Feeds (internet-court/internet-court-skill, 6.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Safe Solana Builder?

Frankcastleauditor (a GitHub user) maintains it in Frankcastleauditor/safe-solana-builder, which has 145 GitHub stars. The repository was last updated on October 5, 2026.

Source: Frankcastleauditor/safe-solana-builder on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.