/install attio-cli
attio-cli
Interact with your Attio CRM workspace via the attio-cli.
Install
- Clone and install the CLI:
git clone https://github.com/FroeMic/attio-cli
cd attio-cli
npm install
npm link
- Set
ATTIO_API_KEYenvironment variable (get it from Attio Settings > Developers > API Keys):- Recommended: Add to
~/.claude/.envfor Claude Code - Alternative: Add to
~/.bashrcor~/.zshrc:export ATTIO_API_KEY="your-api-key"
- Recommended: Add to
Repository: https://github.com/FroeMic/attio-cli
Commands
List objects and records:
attio object list # List all objects
attio record list people # List people records
attio record list companies # List company records
Work with lists (pipelines):
attio list list-all # List all lists
attio entry list \x3Clist-slug> # List entries in a list
Get detailed info:
attio object get \x3Cobject-slug> # Get object details
attio object attributes \x3Cobject-slug> # Get object attributes
attio list attributes \x3Clist-slug> # Get list entry attributes
Generate Workspace Schema
Generate a markdown schema of your workspace for context:
bash {baseDir}/scripts/generate-schema.sh > {baseDir}/workspace.schema.md
This creates a reference file documenting all objects, attributes, lists, and field options in your workspace.
Key Concepts
| Concept | Purpose | Example |
|---|---|---|
| Objects | Base record types | People, Companies, Deals |
| Lists | Pipeline/workflow management | Sales Pipeline, Hiring |
| Records | Individual items in objects | A specific person or company |
| Entries | Records added to a list | A deal in the Sales Pipeline |
API Reference
- Base URL:
https://api.attio.com/v2 - Auth:
Authorization: Bearer $ATTIO_API_KEY - Rate Limits: 100 requests per 10 seconds per workspace
Common API Operations
Search for a person:
curl -X POST https://api.attio.com/v2/objects/people/records/query \
-H "Authorization: Bearer $ATTIO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"filter": {"email_addresses": {"contains": "[email protected]"}}}'
Create a record:
curl -X POST https://api.attio.com/v2/objects/\x3Cobject-slug>/records \
-H "Authorization: Bearer $ATTIO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"data": {"values": {"name": [{"value": "Record Name"}]}}}'
Add entry to a list:
curl -X POST https://api.attio.com/v2/lists/\x3Clist-slug>/entries \
-H "Authorization: Bearer $ATTIO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"data": {"parent_record_id": "\x3Crecord-id>"}}'
Notes
- Run
generate-schema.shafter installing to create a workspace schema file with all your objects, lists, and field options. - Lists are commonly used to manage pipelines (sales stages, hiring workflows, etc.).
- The CLI requires
jqfor JSON processing in schema generation.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install attio-cli - 安装完成后,直接呼叫该 Skill 的名称或使用
/attio-cli触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Attio CRM CLI 是什么?
Command-line tool to list, get, and manage objects, records, and lists in your Attio CRM workspace via the Attio API. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1576 次。
如何安装 Attio CRM CLI?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install attio-cli」即可一键安装,无需额外配置。
Attio CRM CLI 是免费的吗?
是的,Attio CRM CLI 完全免费(开源免费),可自由下载、安装和使用。
Attio CRM CLI 支持哪些平台?
Attio CRM CLI 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Attio CRM CLI?
由 FroeMic(@froemic)开发并维护,当前版本 v1.0.0。