Skip to main content
Most modern AI Agents support the use of skills, which are small knowledge bases that explain how to use a particular API or tool. By providing the near-intents skill to your agent, you can enable it to build cross-chain swap applications using the 1Click Swap API.

Using the skill

1

Install the skill

Install the near-intents skill:
npx skills add near/agent-skills --skill near-intents
2

Ask your agent to build a swap app

Your agent should automatically pick up the near-intents skill, otherwise you can explicitly ask the agent to read the SKILL.md file to learn how to use NEAR Intents.