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.
git clone --depth 1 https://github.com/solanabr/solana-ai-kitWrote 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.
[](https://agentmods.dev/commands/solanabr/solana-ai-kit/doctor)<a href="https://agentmods.dev/commands/solanabr/solana-ai-kit/doctor"><img src="https://agentmods.dev/badge/commands/solanabr/solana-ai-kit/doctor/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.
<a href="https://agentmods.dev/commands/solanabr/solana-ai-kit/doctor"><img src="https://agentmods.dev/badge/commands/solanabr/solana-ai-kit/doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00017 | $0.01618 |
| Opus 5.5 | $0.00007 | $0.00647 |
| Sonnet 5.5 | $0.00003 | $0.00324 |
| Haiku 4.5 | $0.00002 | $0.00162 |
Grade E, and why
doctor scanned grade E with 4 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.
- FAIL no rustc/cargo: `curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh` Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
cat .claude/VERSION Reads MCP configurationmediumAgent snooping
mcp.json carries server URLs and auth tokens; reading it lets a mod discover and abuse other integrations.
if grep -q '"surfpool"' .mcp.json 2>/dev/null; then Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- FAIL no CLI: `sh -c "$(curl -sSfL https://release.anza.xyz/stable/install)"` How it starts
The opening of the file, as written. The whole thing — 98 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Run the eight checks below, then report. Status values: OK healthy, WARN works but fix soon, FAIL blocks workflows, n/a not applicable.
Checks
1. Core toolchain. node --version, npm --version, claude --version. OK when all exist and node is 18+. Missing: brew install node / npm install -g @anthropic-ai/claude-code.
2. Solana CLI and cluster. solana --version; solana config get | grep "RPC URL"; solana balance --url devnet.
- WARN devnet balance 0:
solana airdrop 2 --url devnet - WARN cluster is mainnet during development:
solana config set --url devnet - FAIL no CLI:
sh -c "$(curl -sSfL https://release.anza.xyz/stable/install)"
3. Rust/Anchor toolchain (n/a unless Anchor.toml or programs/ exists). rustc --version, cargo --version, anchor --version, avm --version.
- FAIL no rustc/cargo:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh - FAIL no anchor:
cargo install --git https://github.com/solana-foundation/anchor avm --force && avm install latest && avm use latest - WARN
anchor --versiondiffers fromanchor_versioninAnchor.toml:avm use <version>
4. Git submodules. git submodule status; lines starting with a space are OK.
- FAIL
-prefix (uninitialized):git submodule update --init --recursive - WARN
+prefix (checkout differs from the recorded SHA):git submodule update --recursive, or/resyncif intentional
5. Environment keys. Compare key names only; never print values.
comm -23 \
<(grep -oE '^[A-Z_]+=' .env.example 2>/dev/null | sort -u) \
<(grep -oE '^[A-Z_]+=' .env 2>/dev/null | sort -u) # in .env.example, missing from .env
grep -E '^[A-Z_]+=$' .env 2>/dev/null | cut -d= -f1 # present but empty
- WARN key missing or empty:
/setup-mcp(MCP keys) or edit.env - FAIL no
.env:cp .env.example .env, then/setup-mcp
6. Kit version vs upstream.
cat .claude/VERSION
git ls-remote --tags --sort=-v:refname https://github.com/solanabr/solana-ai-kit | head -3
- WARN behind the latest tag:
bash .claude/bin/update.sh(.agents/bin/update.shfor--agentsinstalls); preview with--dry-run - FAIL no
VERSIONfile (corrupted or pre-1.0 config): the same update command
7. MCP config.
python3 -c "import json; d=json.load(open('.mcp.json')); print('\n'.join(d.get('mcpServers', {}).keys()))" \
2>/dev/null || echo "INVALID or missing .mcp.json"
if grep -q '"surfpool"' .mcp.json 2>/dev/null; then
surfpool --version 2>/dev/null || echo "MISSING surfpool CLI"
fi
grep -q 'memsearch-mcp' .mcp.json 2>/dev/null && echo "RETIRED memsearch-mcp entry"
OK when it parses and lists the default servers (helius, solana-dev, context7) plus any the user added.
- FAIL parse failure:
curl -fsSL https://raw.githubusercontent.com/solanabr/solana-ai-kit/main/.mcp.json -o .mcp.json - WARN a listed server's API key failed check 5:
/setup-mcp - WARN
surfpoollisted but the CLI is missing:curl -L https://surfpool.run/install | sh(orbrew install txtx/taps/surfpool) - WARN
memsearch-mcplisted: that npm package is not published, so the server never starts; delete thememsearchentry from.mcp.json
8. Dual-install guard. The plugin (/plugin install solana-ai-kit@stbr) and a full install (install.sh into .claude/) in the same project double-load commands, hooks and MCP servers (/deploy beside /solana-ai-kit:deploy, the banner printed twice).
PLUGIN_ON=$(grep -lE '"solana-ai-kit@[^"]*"[[:space:]]*:[[:space:]]*true' \
.claude/settings.json "$HOME/.claude/settings.json" 2>/dev/null | head -1)
[ -f .claude/VERSION ] && echo "FULL_INSTALL present"
[ -n "$PLUGIN_ON" ] && echo "PLUGIN enabled (in: $PLUGIN_ON)"
OK with exactly one of the two, n/a with neither. WARN with both; the fix is to pick one: /plugin uninstall solana-ai-kit (keeps the full install's permissions/sandbox policy and ext/ submodules), or remove the project .claude/ and rely on the plugin, which carries neither.
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.
- 2mo ago Changed · -58 lines · -7 tokens per session 62460be77658
- 2mo ago Changed · +1 lines 927f3dab32b3
- 3mo ago First seen · 155 lines · 24 tokens per session scan E e72699241966
doctor is a command published in the GitHub repository solanabr/solana-ai-kit (104 stars, last pushed 2mo ago), licensed MIT. It adds 17 tokens to every session and 1,618 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it E with 4 findings (downloads and executes remote code, reads agent configuration directories, reads mcp configuration). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
doctor compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| doctorsolanabr/solana-ai-kit | Command | 104 | 2mo ago | MIT | E | 17 | Claude Code |
| deep-code-analysisfusengine/agents | Command | 34 | 1mo ago | MIT | A | 28 | Claude Code |
| watchfusengine/agents | Command | 34 | 1mo ago | MIT | A | 23 | Claude Code |
| fixfusengine/agents | Command | 34 | 1mo ago | MIT | A | 21 | Claude Code |
| fixmantacron/manta | Command | 10 | 1mo ago | none | A | 0 | Claude Code |
| jira-fix-bugnmoinvaz/speedy-gonzales | Command | 4 | 1mo ago | none | A | 16 | Claude Code |
| healthhoangsonww/Claude-Code-Agent-Monitor | Command | 1.2k | today | MIT | A | 18 | Claude Code |