πŸ€– AI agent integration

πŸ€– Integrate with AI coding agents

Sats Connect ships a library of Agent Skills β€” one per method β€” so that AI coding agents can more easily integrate Sats Connect into your app.


How it works

Agent Skillsarrow-up-right is an open standard for giving coding agents reusable, method-level expertise. Each skill is a small folder containing precise instructions and usage examples that an agent loads on demand.

The sats-connect-skillsarrow-up-right repository contains a skill for every Sats Connect method β€” getAddresses, signPsbt, runes_transfer, spark_transfer, and more. When an agent picks up these skills, it knows exactly how to call each method, what parameters to pass, and how to handle the response.


Quick start

Skills are automatically picked up by AI coding agents that support the Agent Skillsarrow-up-right standard. To use them, clone the sats-connect-skillsarrow-up-right repository into a location scanned by your agent.

For details on how agents locate skills, see Where to Scanarrow-up-right.


Available skills

Skills are organized by method category. Each skill covers the full method: parameters, TypeScript types, request/response shape, and a working code example.

Category
Skills

Wallet

wallet-connect, wallet-disconnect, wallet-getAccount, wallet-getNetwork, wallet-changeNetwork, wallet-addNetwork, wallet-openBuy, wallet-openReceive, wallet-openEarn, wallet-openBridge

Bitcoin

getAddresses, getBalance, signPsbt, signMultipleTransactions, sendTransfer, signMessage, signMultipleMessages

Ordinals

createInscription, createRepeatInscriptions, ord-getInscriptions, ord-sendInscriptions

Runes

runes-getBalance, runes-transfer, runes-mint, runes-etch, runes-getOrder, runes-estimateMint, runes-estimateEtch, runes-estimateRbfOrder, runes-rbfOrder

Spark

spark-getAddress, spark-getBalance, spark-transfer, spark-transferToken, spark-signMessage

Spark / Flashnet

spark-flashnet-getJWT, spark-flashnet-signIntent, spark-flashnet-signStructuredMessage, spark-flashnet-executeSwap, spark-flashnet-executeRouteSwap, spark-flashnet-createCPPool, spark-flashnet-createBondingPool, spark-flashnet-addLiquidity, spark-flashnet-removeLiquidity, spark-flashnet-confirmInitialDeposit, spark-flashnet-clawbackFunds, spark-flashnet-getClawbackEligibleTransfers

Stacks

stx-getAccounts, stx-signMessage, stx-signStructuredMessage, stx-transferStx, stx-signTransaction, stx-callContract, stx-deployContract

Browse the full list and source: github.com/secretkeylabs/sats-connect-skillsarrow-up-right


Example prompts

Here are ready-to-use prompts you can give your agent depending on what you're building.

Connect a wallet and get addresses

Sign a Bitcoin transaction

Transfer Runes

Full Spark integration


Always-on Sats Connect context

If you're building a Bitcoin app and want AI agents to always have Sats Connect context when working in your codebase, add the following to an AGENTS.md file at the root of your project:

This means any developer who opens your repo in an AI agent gets Sats Connect expertise loaded automatically β€” no prompt needed.


Resources

Last updated