Skip to content

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.

Terminal window
npx skills add aptos-labs/aptos-agent-skills

This installs the skills so your AI coding assistant can use them automatically. Target a specific agent with -a:

Terminal window
npx skills add aptos-labs/aptos-agent-skills -a claude-code
npx skills add aptos-labs/aptos-agent-skills -a cursor
npx skills add aptos-labs/aptos-agent-skills -a copilot

See the upstream INSTALL.md for selective skill installs.

Inside a Claude Code session, add the repository as a plugin marketplace:

/plugin marketplace add aptos-labs/aptos-agent-skills

Clone the repository and copy the skills into your agent’s skills directory:

Terminal window
git clone https://github.com/aptos-labs/aptos-agent-skills.git
cp -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.

These skills help AI assistants write, test, audit, and deploy Move smart contracts:

SkillDescription
write-contractsGenerate secure Aptos Move V2 smart contracts
generate-testsGenerate Move unit tests targeting 100% code coverage
security-auditSecurity audit for Move smart contracts before deployment
deploy-contractsDeploy Move modules to Aptos devnet, testnet, or mainnet
search-aptos-examplesSearch aptos-core for reference implementations and patterns
analyze-gas-optimizationAnalyze and reduce gas costs in Move smart contracts
modernize-moveMigrate Move V1 resource accounts to the V2 object model

These skills help AI assistants use the Aptos TypeScript SDK correctly:

SkillDescription
use-ts-sdkAptos TypeScript SDK orchestrator for frontend integration
ts-sdk-clientSet up the Aptos client with AptosConfig and network selection
ts-sdk-accountCreate Aptos accounts and signers from private keys or derivation paths
ts-sdk-addressParse and derive Aptos account addresses (AIP-40)
ts-sdk-transactionsBuild, sign, and submit transactions, including sponsored and multi-agent
ts-sdk-view-and-queryCall Move view functions and query on-chain Aptos data
ts-sdk-typesMap Move types to TypeScript (u64, u128, address, vector)
ts-sdk-wallet-adapterIntegrate Aptos wallets into React apps with useWallet
SkillDescription
create-aptos-projectScaffold a new Aptos dApp with create-aptos-dapp

For a typical Aptos dApp, use the skills in this order:

  1. Scaffold — Use create-aptos-project to set up the project structure
  2. Write — Use write-contracts to create your Move smart contracts
  3. Test — Use generate-tests to create comprehensive test coverage
  4. Audit — Use security-audit to check for vulnerabilities
  5. Deploy — Use deploy-contracts to publish to devnet or testnet
  6. Frontend — Use use-ts-sdk and the other TypeScript SDK skills to build the UI

The repository includes a community-skills/ directory. Community skills are independently maintained and have not been reviewed by Aptos Labs.

SkillAuthorDescription
smoothsend-gaslessivedmohanSponsor gas fees for Aptos transactions with SmoothSend

To add your own:

  1. Create a new skill following the existing format under community-skills/
  2. Submit a pull request to the aptos-agent-skills repository

See CONTRIBUTING.md for details.