AI Agent Integration — Agent Scaffolding & Discovery
Configure AI agents (GitHub Copilot, Claude, Gemini) to work effectively with the Pump SDK through instruction files, skill registries, and MCP server integration.
Agent Instruction Files
| File |
Agent |
Purpose |
AGENTS.md |
Universal |
Project overview, architecture, security rules |
CLAUDE.md |
Claude Code |
Key patterns, critical rules |
COPILOT.md |
GitHub Copilot |
Instructions pointer |
GEMINI.md |
Google Gemini |
Instructions pointer |
.github/copilot-instructions.md |
Copilot Chat |
SDK patterns, security rules |
.well-known Discovery Files
| File |
Purpose |
.well-known/ai-plugin.json |
AI plugin manifest |
.well-known/agent.json |
Agent capabilities and config |
.well-known/skills.json |
Skills registry (15+ skills) |
.well-known/security.txt |
Security contact information |
LLM Context Documents
| File |
Size |
Purpose |
llms.txt |
Short |
Quick reference for LLMs |
llms-full.txt |
Long |
Comprehensive LLM context |
Skills Registry Schema
{
"schema_version": "v1",
"name": "pump-fun-sdk",
"skills": [
{
"id": "pump-sdk-core",
"name": "Pump SDK Core",
"description": "...",
"path": ".github/skills/pump-sdk-core.skill.md",
"tags": ["typescript", "solana", "sdk"]
}
]
}
Terminal Management (Agent Rules)
- Always use background terminals (
isBackground: true) for every command
- Always kill the terminal after completion — never leave terminals open
- Do not reuse foreground shell sessions
- If a terminal appears unresponsive, kill it and create a new one
Security Invariants for Agents
- ONLY official Solana Labs crypto:
solana-sdk, @solana/web3.js, solana-keygen
- Zeroize all key material after use
- File permissions
0600 for keypairs
- No network calls for key generation
- All amounts use
BN (bn.js) — never JavaScript number for financial math
createInstruction (v1) is deprecated — use createV2Instruction
MCP Server Integration
{
"mcpServers": {
"solana-wallet": {
"command": "npx",
"args": ["-y", "@pump-fun/mcp-server"],
"transportType": "stdio"
}
}
}
Patterns to Follow
- Keep agent instruction files concise and actionable
- Point agents to specific skill files for domain knowledge
- Update
skills.json when adding or modifying skill files
- Maintain consistency between
AGENTS.md, CLAUDE.md, and COPILOT.md
Common Pitfalls
- Agent instruction files that are too long get truncated or ignored
- Missing skills from
skills.json means agents won't discover them
- Terminal management rules are critical in Codespaces — stale terminals block operations
- MCP server must be registered in the agent's tool configuration
1---2name: pump-ai-agents3description: Create and maintain AI-agent integration files for Pump.fun SDK work, including AGENTS/CLAUDE/COPILOT/GEMINI instructions, .well-known discovery, LLM context docs, skills registries, MCP prompts, and terminal rules. Use when wiring agents to Pump.fun development workflows.4metadata:5 source: https://skillmd.com/skills/solizardking/pump-ai-agents6---78# AI Agent Integration — Agent Scaffolding & Discovery910Configure AI agents (GitHub Copilot, Claude, Gemini) to work effectively with the Pump SDK through instruction files, skill registries, and MCP server integration.1112## Agent Instruction Files1314| File | Agent | Purpose |15|------|-------|---------|16| `AGENTS.md` | Universal | Project overview, architecture, security rules |17| `CLAUDE.md` | Claude Code | Key patterns, critical rules |18| `COPILOT.md` | GitHub Copilot | Instructions pointer |19| `GEMINI.md` | Google Gemini | Instructions pointer |20| `.github/copilot-instructions.md` | Copilot Chat | SDK patterns, security rules |2122## .well-known Discovery Files2324| File | Purpose |25|------|---------|26| `.well-known/ai-plugin.json` | AI plugin manifest |27| `.well-known/agent.json` | Agent capabilities and config |28| `.well-known/skills.json` | Skills registry (15+ skills) |29| `.well-known/security.txt` | Security contact information |3031## LLM Context Documents3233| File | Size | Purpose |34|------|------|---------|35| `llms.txt` | Short | Quick reference for LLMs |36| `llms-full.txt` | Long | Comprehensive LLM context |3738## Skills Registry Schema3940```json41{42 "schema_version": "v1",43 "name": "pump-fun-sdk",44 "skills": [45 {46 "id": "pump-sdk-core",47 "name": "Pump SDK Core",48 "description": "...",49 "path": ".github/skills/pump-sdk-core.skill.md",50 "tags": ["typescript", "solana", "sdk"]51 }52 ]53}54```5556## Terminal Management (Agent Rules)5758- **Always use background terminals** (`isBackground: true`) for every command59- **Always kill the terminal** after completion — never leave terminals open60- Do not reuse foreground shell sessions61- If a terminal appears unresponsive, kill it and create a new one6263## Security Invariants for Agents6465- ONLY official Solana Labs crypto: `solana-sdk`, `@solana/web3.js`, `solana-keygen`66- Zeroize all key material after use67- File permissions `0600` for keypairs68- No network calls for key generation69- All amounts use `BN` (bn.js) — never JavaScript `number` for financial math70- `createInstruction` (v1) is deprecated — use `createV2Instruction`7172## MCP Server Integration7374```json75{76 "mcpServers": {77 "solana-wallet": {78 "command": "npx",79 "args": ["-y", "@pump-fun/mcp-server"],80 "transportType": "stdio"81 }82 }83}84```8586## Patterns to Follow8788- Keep agent instruction files concise and actionable89- Point agents to specific skill files for domain knowledge90- Update `skills.json` when adding or modifying skill files91- Maintain consistency between `AGENTS.md`, `CLAUDE.md`, and `COPILOT.md`9293## Common Pitfalls9495- Agent instruction files that are too long get truncated or ignored96- Missing skills from `skills.json` means agents won't discover them97- Terminal management rules are critical in Codespaces — stale terminals block operations98- MCP server must be registered in the agent's tool configuration