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 into your project so your AI coding assistant can use them automatically.

Terminal window
claude plugin add aptos-labs/aptos-agent-skills

Clone the repository and copy the skills into your project’s .claude/skills/aptos/ directory:

Terminal window
git clone https://github.com/aptos-labs/aptos-agent-skills.git
cp -r aptos-agent-skills/skills/* .claude/skills/aptos/

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

SkillDescription
write-contractsWrite Move smart contracts following Aptos best practices
generate-testsGenerate comprehensive unit and integration tests for Move modules
security-auditAudit Move contracts for common vulnerabilities and security issues
deploy-contractsDeploy Move modules to Aptos devnet, testnet, or mainnet
search-aptos-examplesSearch official Aptos example contracts for reference implementations
analyze-gas-optimizationAnalyze and optimize Move code for gas efficiency
modernize-moveUpgrade Move code to use the latest Aptos Move features

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

SkillDescription
use-ts-sdkGeneral guidance for using the Aptos TypeScript SDK
ts-sdk-clientConfigure and use the Aptos client for network interactions
ts-sdk-accountCreate and manage Aptos accounts and key pairs
ts-sdk-addressWork with Aptos addresses and address formats
ts-sdk-transactionsBuild, simulate, sign, and submit transactions
ts-sdk-view-and-queryQuery on-chain data and call view functions
ts-sdk-typesUse TypeScript types from the SDK correctly
ts-sdk-wallet-adapterIntegrate wallet connections in frontend applications
SkillDescription
create-aptos-projectScaffold a new Aptos project with Move contracts, TypeScript SDK, and frontend

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 ts-sdk-wallet-adapter and other SDK skills to build the UI

The repository includes a community-skills/ directory where anyone can contribute additional skills. To add your own:

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

See the CONTRIBUTING.md for details on the contribution process.