A command-line interface for managing Attio from your terminal.
Create, update, and inspect Attio objects, records, lists, entries, notes, tasks, webhooks, and more without hand-writing REST calls.
Grab an API token from your Attio workspace settings, then:
npx clattio auth token set
npx clattio objects list
npx clattio records search --object people --query "Jane"For a persistent global command:
bun install -g clattio
attio objects listIf you use an AI coding agent that supports skills, you can install clattio as a skill:
npx skills add mavam/clattioThis gives your agent the knowledge to drive the attio CLI on your behalf, from querying records to managing lists, creating notes, and more.
API token (recommended for scripts and quick usage):
attio auth token setOAuth (for apps that act on behalf of a user):
export ATTIO_CLIENT_ID=...
attio auth loginWhen ATTIO_CLIENT_SECRET is not set, the CLI prompts for it securely.
On macOS, tokens and secrets are stored in Keychain by default.
attio auth login opens the browser, handles the localhost callback, exchanges the authorization code, and stores the resulting token. You need an Attio OAuth app first:
- Go to build.attio.com and create an app.
- In the app settings, find the OAuth section.
- Copy the
client_idandclient_secret. - Register
http://127.0.0.1:8787/callbackas a redirect URI.
From a source checkout:
bun src/bin/attio.ts --help
bun src/bin/attio.ts objects listOr build first and run with Node:
bun run build
node dist/attio.js objects listbun install
bun run generate
bun run build
bun run test