Skip to main content

atcli

Attio REST API CLI for records, lists, tasks, and raw API calls. Use when accessing Attio workspaces from the terminal.

来源信息

仓库
badlogic/atcli
最近来源活动
2026年4月27日 12:20
检测到的 SKILL.md 语言
英语
星标
4
Forks
1

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
atcli
description
Attio REST API CLI for records, lists, tasks, and raw API calls. Use when accessing Attio workspaces from the terminal.
# atcli Minimal Attio CLI using the REST API directly. No MCP server. ## CLI path When this is installed as a pi package from git, pi runs `npm install`, which runs the build. From this skill directory, invoke the CLI with: ```bash node ../../dist/cli.js <args> ``` If installed globally with npm, `atcli <args>` also works. ## API key required `atcli` needs an Attio access token before it can make API calls. Create or update a token in your workspace's developer settings: ```text https://app.attio.com/<workspace-slug>/settings/developers/access-tokens ``` Set the permission options/scopes you need, then click **Save changes**. Copy the token and save it locally under an account name: ```bash node ../../dist/cli.js accounts token work <token> # or, if ATTIO_TOKEN is set node ../../dist/cli.js accounts token work $ATTIO_TOKEN ``` Tokens are stored in `~/.atcli/accounts.json`. ## Common commands ```bash node ../../dist/cli.js accounts list node ../../dist/cli.js work me node ../../dist/cli.js work objects node ../../dist/cli.js work records people --limit 10 node ../../dist/cli.js work records companies --filter '{"name":"Acme"}' --json node ../../dist/cli.js work raw GET /objects/people/attributes ``` ## Raw API calls Use `raw` for endpoints not yet wrapped by first-class commands: ```bash node ../../dist/cli.js work raw GET /objects/people/attributes node ../../dist/cli.js work raw POST /objects/people/records/query '{"limit":5}' node ../../dist/cli.js work raw PATCH /objects/people/records/<recordId> @body.json ```
在 GitHub 查看