Documentation Index
Fetch the complete documentation index at: https://docs.compasslabs.ai/llms.txt
Use this file to discover all available pages before exploring further.
What is the Compass agent skill?
The Compass agent skill is a packaged, versioned plugin that teaches your AI coding agent to operate Compass through thecompass CLI. Instead of wiring up tool definitions yourself, you describe a DeFi action in plain English and the agent does the rest.
Tell your agent “find the best USDC vault on Base and deposit 100” or “open a 2x long on ETH”, and it will:
Map intent to a command
It translates your request into the right
compass subcommand and flags, reading the live command surface with compass --usage and --help.How it compares
The skill is one of three agent surfaces. It sits on top of the CLI — the fastest way to get an autonomous agent transacting on Compass.| Coding Assistant | CLI | Agent Skill | |
|---|---|---|---|
| What it is | Reference docs for AI assistants | A CLI that calls the API | A plugin that drives the CLI |
| You do | Paste a docs URL | Run commands yourself | Describe the action in chat |
| Best for | Generating integration code | Scripting + manual queries | Hands-off agent execution |
Prerequisites
- A Compass API key — get one at compasslabs.ai/login, then
export COMPASS_API_KEY_AUTH="your_api_key_here". - An agent that supports skills/plugins — Claude Code, Cursor, or Codex — or any agent that can read an
AGENTS.mdfile.
compass CLI for you, so you don’t have to set it up first.
Install
- Claude Code
- Cursor / Codex
- Any other agent
Add the marketplace, then install the plugin:Update later with
/plugin update compass@compass-labs.Use
In Claude Code, invoke it explicitly:What it does not do
- Sign or broadcast transactions — that’s your wallet, or the gas-sponsorship flow.
- Track positions over time — it’s a stateless API client; it queries fresh each time.
- Manage on-chain approvals — your wallet’s responsibility, or Permit2 via gas sponsorship.
CLI
The CLI the skill drives. Every Compass endpoint as a subcommand.
Browse the skill on GitHub
Source, per-agent manifests, and the universal
AGENTS.md. MIT-licensed.