Skills Overview
Skills are reusable capability packages that extend what AI agents can do on Starknet. Each skill provides a focused set of tools, code examples, and documentation for a specific domain.
What are Skills?
A skill is a self-contained package defined by a SKILL.md file with:
- YAML Frontmatter - Metadata like name, description, and keywords
- Documentation - Detailed guides and code examples
- Prerequisites - Required packages and environment variables
- Reference Scripts - Working code snippets agents can use
Skill Format
Skills follow the AgentSkills specification - a standard format for defining AI agent capabilities that works across different frameworks and models.
Available Skills
Starknet Agentic provides twelve official skills:
| Skill | Description |
|---|---|
| starknet-wallet | Wallet management, transfers, balances |
| starknet-defi | Token swaps, DCA, staking via AVNU |
| starknet-identity | ERC-8004 on-chain agent identity |
| starknet-mini-pay | P2P payments, Telegram bot |
| starknet-anonymous-wallet | Privacy wallets via Typhoon |
| huginn-onboard | Bridge to Starknet + Huginn registration |
| starknet-js | starknet.js v9.x SDK patterns and examples |
Cairo Development Skills
The Cairo skill family provides comprehensive coverage for Cairo smart contract development:
| Skill | Description |
|---|---|
| cairo-contracts | Contract structure, storage, events, OZ components |
| cairo-testing | snforge testing patterns, cheatcodes, fuzzing |
| cairo-security | Security patterns from 50+ audits |
| cairo-optimization | Gas optimization, BoundedInt, storage packing |
| cairo-deploy | Deployment with sncast, verification, multicall |
Wallet
starknet-walletManage Starknet wallets with Account Abstraction. Transfer tokens, check balances, multi-call transactions, and gasless operations.
- Balance checks
- Token transfers
- Multi-call batching
DeFi
starknet-defiExecute DeFi operations via AVNU aggregator. Token swaps with best-price routing, DCA orders, STRK staking, and lending.
- Token swaps
- DCA orders
- STRK staking
Identity
starknet-identityRegister AI agents on-chain using ERC-8004 Trustless Agents standard. Build reputation through feedback and validation.
- Agent registration
- ERC-721 identity NFTs
- Reputation system
Mini-Pay
starknet-mini-paySimple P2P payments on Starknet. Generate QR codes, create payment links, manage invoices. Like Lightning, but native.
- QR code generation
- Payment links
- Invoice system
Anonymous Wallet
starknet-anonymous-walletCreate privacy-preserving Starknet wallets via Typhoon. Break the on-chain link between deposits and agent operations.
- Anonymous accounts
- Typhoon integration
- ABI discovery
Huginn Onboard
huginn-onboardBridge assets to Starknet and register with the Huginn thought provenance registry. Complete onboarding for verifiable AI agents.
- Asset bridging
- Huginn registration
- Thought logging
Cairo Coding
cairo-codingProduction-grade Cairo optimization patterns. Gas-efficient arithmetic, storage packing, BoundedInt limb assembly, and Poseidon hashing.
- Gas optimization rules
- BoundedInt patterns
- Storage packing
starknet.js SDK
starknet-jsComprehensive guide for building Starknet dApps using starknet.js v9.x. Providers, accounts, contracts, multicall, paymaster, and SNIP-9/12.
- Provider setup
- Account management
- Contract interaction
Installing Skills
Skills are designed to be loaded by AI agents at runtime. The agent reads the skill documentation and uses the provided code patterns to accomplish tasks.
Method 1: NPX Skills Add (Recommended)
Uses the Vercel Skills CLI to install skills directly into your agent's context.
# Install all skills from the repo
npx skills add keep-starknet-strange/starknet-agentic
# Or install a specific skill
npx skills add keep-starknet-strange/starknet-agentic/skills/starknet-walletMethod 2: Claude Code Plugins
/plugin install starknet-wallet@keep-starknet-strange-starknet-agenticMethod 3: Direct GitHub Clone
git clone https://github.com/keep-starknet-strange/starknet-agentic.git
cp -r starknet-agentic/skills ./skillsThe agent will automatically discover skills in the skills/ directory.
For MCP Server Users
The MCP server provides tools that implement skill functionality directly. See the MCP Server Guide for setup.
Using ClawHub (Coming Soon)
Browse and install community skills from ClawHub:
# Install a skill from ClawHub
claw install starknet-walletSkill File Structure
Each skill follows this structure:
skills/
|
+-- starknet-wallet/
|-- SKILL.md # Skill definition (required)
|-- package.json # Dependencies (optional)
|-- scripts/ # Reference implementations
| |-- check-balance.ts
| +-- transfer.ts
+-- .env.example # Environment templateSKILL.md Format
Every skill has a SKILL.md file with YAML frontmatter:
---
name: starknet-wallet
description: >
Create and manage Starknet wallets for AI agents.
Transfer tokens, check balances, and more.
keywords:
- starknet
- wallet
- transfer
- balance
allowed-tools:
- Bash
- Read
- Write
user-invocable: true
---
# Starknet Wallet Skill
Documentation content here...Frontmatter Fields
| Field | Required | Description |
|---|---|---|
name | Yes | Lowercase, hyphenated identifier (1-64 chars) |
description | Yes | Multi-line description of capabilities |
keywords | Yes | Array of discovery keywords |
allowed-tools | No | Tools the skill can use |
user-invocable | No | Whether users can invoke directly |
Using Skills in Agents
When an agent loads a skill, it gains access to:
- Code Examples - Copy-paste ready TypeScript/Python snippets
- Tool Definitions - MCP tool schemas and handlers
- Error Handling - Common errors and recovery strategies
- Configuration - Environment variables and setup
Load the Skill
The agent reads the SKILL.md file and extracts the relevant documentation.
Install Dependencies
If the skill requires packages, the agent runs the installation commands.
Configure Environment
Set up required environment variables from the skill's configuration section.
Execute Operations
The agent uses code examples as templates to accomplish the user's task.
Next Steps
- Wallet Skill - Start with wallet operations
- Writing Your Own Skill - Create custom skills
- Publishing to ClawHub - Share with the community