The developer toolkit for building on Bags.fm. A Claude Code skill that gives you everything you need to ship Bags apps fast: live API exploration, project scaffolding, token launches, fee optimization, and deep reference docs.
Not an API wrapper. A build system.
claude skill add LoserLab/bags-dev-kitOr clone and link locally:
git clone https://github.com/LoserLab/bags-dev-kit.git ~/.claude/skills/bags-dev-kit/bags-dev-kit:setup
You'll need a Bags API key (free at dev.bags.fm).
| Command | What it does |
|---|---|
/bags-dev-kit:setup |
Configure API key and default wallet |
/bags-dev-kit:explore |
Query live tokens, pools, fees, quotes, social wallets |
/bags-dev-kit:scaffold |
Scaffold a new Bags app from a template |
/bags-dev-kit:launch |
Interactive token launch wizard with fee sharing |
/bags-dev-kit:analyze |
Deep analysis of any Bags token's performance |
Executable tools for exploring the Bags ecosystem directly from Claude Code:
- quote - Get swap quotes (
SOLshorthand supported) - fees - Check claimable fee positions for any wallet
- pools - List and search Bags pools
- social-lookup - Find wallets by Twitter/TikTok/Kick/GitHub handle
- token-info - Browse the launch feed, top tokens, token details
- analyze - Comprehensive token analysis (fees, creators, pools, claim rates)
Deep knowledge that Claude loads only when needed:
- bags-api.md - Complete API endpoint reference with examples
- fee-economics.md - Fee share strategy guide, common structures, revenue modeling
- security.md - Transaction safety, key management, production checklist
- architecture-patterns.md - 5 app architectures with stack recommendations
Scaffold complete starter projects:
- fee-sharing-app - Next.js + Bags SDK + Privy. Earn from token trades.
- trading-bot - Node.js + Bags SDK + Jito. Automated trading with MEV protection.
- token-launcher - Next.js + Bags SDK + Privy. Full launch platform.
This skill teaches Claude Code how to build on Bags. When you mention anything Bags-related, the skill activates and gives Claude:
- Live tools to query the Bags API (scripts)
- Deep context about the Bags ecosystem (references)
- Working starter code for common app types (templates)
- Step-by-step workflows for complex operations (commands)
It's like having a Bags expert pair programmer.
"scaffold a trading bot that buys new token launches"
"check my claimable fees"
"get a quote for swapping 2 SOL into this token: <mint>"
"analyze this token's fee performance: <mint>"
"launch a token with 70/30 fee split between me and my partner"
"find the wallet for @username on twitter"
"help me build a fee-sharing app on Bags"
- Claude Code CLI
- Node.js >= 18 (for script execution via
npx tsx) - Bags API key (dev.bags.fm)
Created by Heathen
Built in Mirra
MIT