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.
npx skills add YD811/potbot-v2 --skill potbot-mcp-toolsgit clone --depth 1 https://github.com/YD811/potbot-v2Wrote 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/skills/yd811/potbot-v2/potbot-mcp-tools)<a href="https://agentmods.dev/skills/yd811/potbot-v2/potbot-mcp-tools"><img src="https://agentmods.dev/badge/skills/yd811/potbot-v2/potbot-mcp-tools/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/skills/yd811/potbot-v2/potbot-mcp-tools"><img src="https://agentmods.dev/badge/skills/yd811/potbot-v2/potbot-mcp-tools.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.00089 | $0.00662 |
| Opus 5.5 | $0.00036 | $0.00265 |
| Sonnet 5.5 | $0.00018 | $0.00132 |
| Haiku 4.5 | $0.00009 | $0.00066 |
Grade A, and why
potbot-mcp-tools 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 48 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PotBot — MCP tools
PotBot is MCP-native: any AI agent (Claude/GPT/custom) acts on vaults through @potbot/mcp
(apps/potbot-mcp), built on solana-agent-kit, with http+sse+stdio transports. Read
docs/integrations/mcp.md first. This is a product differentiator — keep it clean and documented.
Existing tools (pattern to follow)
list_pots / list_vaults · get_pot_analytics(pubkey) · get_yield_rates · create_proposal{pot,swap} · vote_on_proposal{proposal,approve} · join_vault{vault,referrer} (18 tools total).
Adding a tool
- Define it in
apps/potbot-mcpnext to existing tools: name, description, zod/JSON input schema. - Implement via the SDK (
@potbot/sdk) or backend API — never re-implement chain logic inline. - Read vs write:
- Reads (analytics, lists, rates): safe, cacheable.
- Writes (propose, vote, join): build the tx; respect governance. An agent NEVER moves funds directly — it proposes; humans/personal-voters approve. No tool should bypass votes.
- x402 gating: revenue/heavy endpoints (e.g.
/analytics/*) require a 0.001 USDC micropayment per call. Keep the gate consistent; document which tools are gated. - Errors: return structured, actionable errors (bad pubkey, not found, unauthorized, quorum not met).
- Update
docs/integrations/mcp.mdand the README tool list + bump the npm version.
Testing
npx @potbot/mcp # run locally
# Smoke flow with an agent / Claude:
list_vaults → get_vault_analytics → create_swap_proposal → vote_on_proposal
- Test stdio, http, and sse transports.
- Verify a write tool produces a valid unsigned/ço-signed tx and respects governance (rejects when quorum not met, frozen pot, or cap breach).
- Verify x402-gated tools reject unpaid calls and accept paid ones.
Conventions
- Tool names: lowercase snake, verb_object (
create_proposal,get_pot_analytics). - Descriptions are agent-facing: say exactly what it does and what it returns.
- Keep parity with the SDK; the MCP server is a thin, well-described layer over SDK + API.
- Mark each tool read/write and gated/free in docs so agent devs know the cost + side effects.
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.
- 3mo ago First seen · 48 lines · 89 tokens per session scan A 08a3016549dc
potbot-mcp-tools is a skill published in the GitHub repository YD811/potbot-v2 (22 stars, last pushed 7d ago), licensed MIT. It adds 89 tokens to every session and 662 once invoked, about $0.0004 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.
potbot-mcp-tools compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| potbot-mcp-toolsYD811/potbot-v2 | Skill | 22 | 7d ago | MIT | A | 89 | Claude Code, Codex |
| solana-toolkit-guidenirholas/three.ws | Skill | 289 | today | Apache-2.0 | A | 50 | Claude Code, Codex |
| blockchain-solanaj4flmao/agent-skills | Skill | 47 | 17d ago | MIT | A | 142 | Claude Code, Codex |
| solana-devStarchild-ai-agent/official-skills | Skill | 34 | 7d ago | none | A | 57 | Claude Code |
| safe-solana-builderFrankcastleauditor/safe-solana-builder | Skill | 151 | 2mo ago | none | B | 148 | Claude Code, Codex |
| bnb-chain-toolkit-guidenirholas/three.ws | Skill | 289 | today | Apache-2.0 | A | 67 | Claude Code, Codex |
| solanaquicknode/solana-finance-claude-plugin | Skill | 105 | 19d ago | MIT | A | 76 | Claude Code |