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 agentmods add skills/kai-builder/stacksagent/stacks-agentnpx skills add kai-builder/stacksagent --skill stacks-agentgit clone --depth 1 https://github.com/kai-builder/stacksagentWhat 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 | $0.00019 | $0.02530 |
| Opus 5 | $0.00010 | $0.01265 |
| Sonnet 5 | $0.00004 | $0.00506 |
| Haiku 4.5 | $0.00002 | $0.00253 |
Grade A, and why
stacks-agent 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 2d 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 — 274 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Stacks Agent Skill
AI-powered development intelligence for building on Stacks blockchain - Bitcoin's most powerful smart contract layer.
Capabilities
Core Features
- Clarity Contracts: Generate, audit, and deploy smart contracts
- Token Standards: SIP-010 (fungible) and SIP-009 (NFT) templates
- DeFi Integration: Alex, Velar, Bitflow, Zest, Boost, Faktory protocol patterns
- Security Analysis: Vulnerability detection and best practices
- Stacks.js: Frontend integration with modern @stacks/connect v7+ API
- BNS: Bitcoin Name System operations
- Stacking: PoX stacking and pool delegation
- Deployment: Testnet and mainnet deployment guides
New in v2.0 🎉
- 🎯 40 Production Code Examples: Complete working code from live dApps (sbtc-market, stacksagent, STX City)
- 🕸️ 100 Knowledge Relationships: Connected concepts showing dependencies and prerequisites
- 🚫 Zero Deprecated Code: All examples use modern API patterns (no openContractCall, showConnect, or Gaia)
- 🔒 Security-First: All examples include post-conditions, error handling, and common pitfalls
- 🐛 Debugging Examples: Real-world troubleshooting for failed transactions
Knowledge Base
Code Snippets (495+ entries)
- 61 Clarity functions - Complete language reference
- 14 Contract templates - FT, NFT, DAO, Vault, Marketplace, Stacking
- 15 Security patterns - Common vulnerabilities and fixes
- 25 DeFi protocols - Alex, Velar, Bitflow, Zest, StackingDAO, Boost, Faktory
- 76 Stacks.js snippets - Modern @stacks/connect v7+ patterns (wallet, transactions, post-conditions)
- 21 BNS operations - Name registration and resolution (Clarity + JS + API)
- 25 Stacking guides - PoX stacking and delegation (Clarity + JS + API)
- 30 Oracle integration - Pyth Network price feeds with VAA handling (Clarity + JS + API)
- 25 Deployment steps - Testnet, mainnet, and devnet
Production Examples (40 examples - NEW in v2.0)
- 10 DeFi examples - Swaps, liquidity, oracles, stacking, bonding curves, debugging
- 10 NFT examples - Minting, marketplace, royalties, metadata, batch operations, debugging
- 8 Token examples - SIP-010, vesting, allowances, burns, multi-token swaps
- 7 Security examples - Reentrancy, overflow, access control, rate limiting
- 5 Auth examples - Wallet connect, JWT, sessions, NFT gating (No Gaia - deprecated)
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.
- 2d ago First seen · 274 lines · 19 tokens per session scan A c8c3a5bc7cc3
stacks-agent is a skill published in the GitHub repository kai-builder/stacksagent (6 stars, last pushed 7mo ago), licensed MIT. It adds 19 tokens to every session and 2,530 once invoked, about $0.0001 per session on Opus 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-31.
Other skills, from other repositories
analyzing-ethereum-smart-contract-vulnerabilities
Perform static and symbolic analysis of Solidity smart contracts using Slither and Mythril to detect reentrancy, integer overflow, access control, and other vulnerability classes before deployment to Ethereum mainnet.
ansem-crypto
Use when evaluating crypto narratives, attention rotation, memecoin cycles, Solana-style ecosystem momentum, social distribution, and reflexive retail flows in an Ansem-style crypto market framework.
bankr
AI-powered crypto trading via natural language through Bankr API.
copy-trading-solana
Copy trade Solana wallets - mirror trades automatically.
[REPLACE: SKILL_NAME]
Price and volume tracker for [REPLACE: TOKENSYMBOL] with anomaly alerts above [REPLACE: ALERTTHRESHOLDPCT]% movement.
kraken-order-types
Complete reference for all spot and futures order types and modifiers.