← 返回 Skills 市场
froemic

Attio CRM CLI

作者 FroeMic · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
1576
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install attio-cli
功能描述
Command-line tool to list, get, and manage objects, records, and lists in your Attio CRM workspace via the Attio API.
使用说明 (SKILL.md)

attio-cli

Interact with your Attio CRM workspace via the attio-cli.

Install

  1. Clone and install the CLI:
git clone https://github.com/FroeMic/attio-cli
cd attio-cli
npm install
npm link
  1. Set ATTIO_API_KEY environment variable (get it from Attio Settings > Developers > API Keys):
    • Recommended: Add to ~/.claude/.env for Claude Code
    • Alternative: Add to ~/.bashrc or ~/.zshrc: export ATTIO_API_KEY="your-api-key"

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.sh after 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 jq for JSON processing in schema generation.
安全使用建议
This skill appears to be an Attio CLI helper, but there are a few things to check before installing: - Manifest vs instructions: The SKILL.md requires ATTIO_API_KEY but the skill metadata does not declare any required env vars — assume you will need to provide an Attio API key. - External code: The instructions tell you to git clone and npm install a third-party repository (https://github.com/FroeMic/attio-cli). Review that repository's code and recent commits to ensure it does only what you expect before running npm install / npm link. - Secret handling: Prefer session-scoped environment variables or a secure secrets store rather than committing the API key to globally sourced files. Avoid placing your workspace API key in files that are synced or shared. Consider creating a dedicated, limited-scope API key in Attio and rotate it after testing. - Output sensitivity: The generate-schema.sh script will emit a full workspace schema (objects, lists, attributes) to stdout / a file. That output may contain sensitive structure or metadata — store it securely and avoid publishing it. - Dependencies: The script requires jq and the attio CLI; installing third-party npm packages gives code run-time access on your machine. Verify those tools and audit their behavior if you need to run them in a sensitive environment. What would raise my confidence: manifest updated to declare ATTIO_API_KEY (primaryEnv) and required tools, or independent verification (e.g., reputable GitHub repo owner, recent code review) of the attio-cli project. If you cannot verify the upstream repo, treat this as higher risk and avoid installing globally.
功能分析
Type: OpenClaw Skill Name: attio-cli Version: 1.0.0 The skill is classified as suspicious primarily due to the supply chain risk introduced by its installation instructions in `SKILL.md`. It directs the agent to `git clone` and `npm install` from an external GitHub repository (`https://github.com/FroeMic/attio-cli`). `npm install` can execute arbitrary code via package scripts, posing a risk if the upstream repository is compromised or malicious. While the `scripts/generate-schema.sh` file and other instructions appear to align with the stated purpose of interacting with Attio CRM, the reliance on an external, potentially untrusted source for installation elevates the risk beyond benign.
能力评估
Purpose & Capability
The SKILL.md clearly requires an Attio API key (ATTIO_API_KEY) and use of the attio-cli tool, but the skill metadata declares no required environment variables or primary credential. That omission is an incoherence: a CRM CLI legitimately needs an API key, and the manifest should declare it.
Instruction Scope
The instructions stay within the expected scope for an Attio CLI helper: install the attio-cli repo, set ATTIO_API_KEY, and run CLI commands (and a provided generate-schema.sh) that list objects and attributes. The generate-schema.sh will read workspace data via the CLI and emit it to stdout (intended behavior). Instructions recommending adding the API key to ~/.claude/.env or shell rc are operational choices but expand where secrets may be stored.
Install Mechanism
There is no platform install spec in the manifest (instruction-only). SKILL.md instructs the user to clone and npm install a third-party GitHub repo (https://github.com/FroeMic/attio-cli) and npm link it. That is a normal but higher-risk step because it pulls and runs external code; the skill package itself does not auto-download code.
Credentials
The runtime needs ATTIO_API_KEY to call the Attio API, but the manifest declared no required env vars or primary credential — a mismatch. The script and instructions also require jq and the attio CLI. Storing the API key in shell rc or ~/.claude/.env is suggested, which may increase exposure if those files are shared or backed up.
Persistence & Privilege
The skill does not request always:true and does not modify other skills or system-wide settings. It does not autonomously persist credentials itself. The only persistence implied is writing the generated workspace.schema.md file when the user runs the script (expected behavior).
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install attio-cli
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /attio-cli 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of attio-cli – a command-line tool to interact with your Attio CRM workspace. - Provides commands to list objects, records, and manage lists (pipelines) - Supports viewing object attributes and list entry details - Includes script to generate a comprehensive markdown schema of your workspace - Setup instructions for API key and environment configuration - Examples for common API operations (search, create, and manage records via CLI or curl) - Requires `jq` for schema generation script
元数据
Slug attio-cli
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

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。

💬 留言讨论