Adds anchor-idl-agent-skill, a meta-skill that turns any deployed Anchor program on Solana into an agent-callable tool surface.
Where the existing skills teach an agent about one domain (payments, games, oracles, token extensions…), this one teaches it to consume the long tail of thousands of deployed Anchor programs. It covers:
- IDL ingestion (on-chain / GitHub / file / Anchor.toml) — both v0.29 legacy and v0.30+ specs, with on-chain discriminator verification
- Tool-schema generation with accounts auto-bucketed into
auto/resolved/user
- Automatic account resolution — PDA/ATA/sysvar/signer resolution from IDL seeds
- Mandatory pre-flight simulation with CU surfacing, decoded return data, account-diff, explicit confirmation
- Anchor error decoding —
0x1771 → enum name → source line
- Safety rails — mainnet program allowlist, CU/fee caps, simulate-or-die
- Worked adapters for Jupiter V6, Drift V2, Kamino, MarginFi v2, Squads v4 — incl. propose-via-Squads mode
- Reference TypeScript impl at
code/ — @solanabr/anchor-agent-toolkit — vitest + Surfpool harness
Subagents: idl-tool-architect (opus), idl-adapter-engineer (sonnet). Commands: /ingest-idl, /explain-ix, /simulate-ix, /decode-error.
Adds anchor-idl-agent-skill, a meta-skill that turns any deployed Anchor program on Solana into an agent-callable tool surface.
Where the existing skills teach an agent about one domain (payments, games, oracles, token extensions…), this one teaches it to consume the long tail of thousands of deployed Anchor programs. It covers:
auto/resolved/user0x1771→ enum name → source linecode/—@solanabr/anchor-agent-toolkit— vitest + Surfpool harnessSubagents:
idl-tool-architect(opus),idl-adapter-engineer(sonnet). Commands:/ingest-idl,/explain-ix,/simulate-ix,/decode-error.