Aptos Agent Skills
Aptos Agent Skills is a collection of pre-built AI skills that give coding assistants like Claude Code, Cursor, and GitHub Copilot deep expertise in Aptos development. The skills cover Move smart contracts, the TypeScript SDK, and full-stack dApp scaffolding.
Installation
Section titled “Installation”Using the Skills CLI (recommended)
Section titled “Using the Skills CLI (recommended)”npx skills add aptos-labs/aptos-agent-skillsThis installs the skills so your AI coding assistant can use them automatically. Target a specific agent with -a:
npx skills add aptos-labs/aptos-agent-skills -a claude-codenpx skills add aptos-labs/aptos-agent-skills -a cursornpx skills add aptos-labs/aptos-agent-skills -a copilotSee the upstream INSTALL.md for selective skill installs.
Claude Code plugin
Section titled “Claude Code plugin”Inside a Claude Code session, add the repository as a plugin marketplace:
/plugin marketplace add aptos-labs/aptos-agent-skillsManual installation
Section titled “Manual installation”Clone the repository and copy the skills into your agent’s skills directory:
git clone https://github.com/aptos-labs/aptos-agent-skills.gitcp -r aptos-agent-skills/skills/* ~/.claude/skills/cp -r aptos-agent-skills/patterns/* ~/.claude/patterns/Include CLAUDE.md from the cloned repository in your workspace context so the assistant can route to the right skill.
Available Skills
Section titled “Available Skills”Move Skills
Section titled “Move Skills”These skills help AI assistants write, test, audit, and deploy Move smart contracts:
| Skill | Description |
|---|---|
| write-contracts | Generate secure Aptos Move V2 smart contracts |
| generate-tests | Generate Move unit tests targeting 100% code coverage |
| security-audit | Security audit for Move smart contracts before deployment |
| deploy-contracts | Deploy Move modules to Aptos devnet, testnet, or mainnet |
| search-aptos-examples | Search aptos-core for reference implementations and patterns |
| analyze-gas-optimization | Analyze and reduce gas costs in Move smart contracts |
| modernize-move | Migrate Move V1 resource accounts to the V2 object model |
TypeScript SDK Skills
Section titled “TypeScript SDK Skills”These skills help AI assistants use the Aptos TypeScript SDK correctly:
| Skill | Description |
|---|---|
| use-ts-sdk | Aptos TypeScript SDK orchestrator for frontend integration |
| ts-sdk-client | Set up the Aptos client with AptosConfig and network selection |
| ts-sdk-account | Create Aptos accounts and signers from private keys or derivation paths |
| ts-sdk-address | Parse and derive Aptos account addresses (AIP-40) |
| ts-sdk-transactions | Build, sign, and submit transactions, including sponsored and multi-agent |
| ts-sdk-view-and-query | Call Move view functions and query on-chain Aptos data |
| ts-sdk-types | Map Move types to TypeScript (u64, u128, address, vector) |
| ts-sdk-wallet-adapter | Integrate Aptos wallets into React apps with useWallet |
Project Skills
Section titled “Project Skills”| Skill | Description |
|---|---|
| create-aptos-project | Scaffold a new Aptos dApp with create-aptos-dapp |
Recommended Workflow
Section titled “Recommended Workflow”For a typical Aptos dApp, use the skills in this order:
- Scaffold — Use
create-aptos-projectto set up the project structure - Write — Use
write-contractsto create your Move smart contracts - Test — Use
generate-teststo create comprehensive test coverage - Audit — Use
security-auditto check for vulnerabilities - Deploy — Use
deploy-contractsto publish to devnet or testnet - Frontend — Use
use-ts-sdkand the other TypeScript SDK skills to build the UI
Community Skills
Section titled “Community Skills”The repository includes a community-skills/ directory. Community skills are independently maintained and have not been reviewed by Aptos Labs.
| Skill | Author | Description |
|---|---|---|
| smoothsend-gasless | ivedmohan | Sponsor gas fees for Aptos transactions with SmoothSend |
To add your own:
- Create a new skill following the existing format under
community-skills/ - Submit a pull request to the aptos-agent-skills repository
See CONTRIBUTING.md for details.