General-purpose Coda document manager via REST API v1. Supports listing/creating/updating/deleting docs, managing tables/rows/pages, triggering automations, and exploring doc structure. Requires CODA_API_TOKEN environment variable. Delete operations require explicit confirmation; publishing and permission changes require explicit user intent.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install coda或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install coda⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/coda/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: coda description: General-purpose Coda document manager via REST API v1. Supports listing/creating/updating/deleting docs, managing tables/rows/pages, triggering automations, and exploring doc structure. Requires CODA_API_TOKEN environment variable. Delete operations require explicit confirmation; publishing and permission changes require explicit user intent. ---
Interact with the Coda REST API v1 to manage docs, tables, rows, pages, and automations.
Use this skill when the user wants to:
CODA_API_TOKEN with your Coda API token- Get token at: https://coda.io/account -> API Settings
requests library installedThe skill includes a Python CLI tool at scripts/coda_cli.py:
# Setup
export CODA_API_TOKEN="your_token_here"
# List docs
python scripts/coda_cli.py docs list --query "Project"
# Get doc info
python scripts/coda_cli.py docs get <doc-id>
# Create doc
python scripts/coda_cli.py docs create --title "My New Doc"
# List tables in doc
python scripts/coda_cli.py tables list <doc-id>
# List rows in table
python scripts/coda_cli.py rows list <doc-id> <table-id>
# Insert row
python scripts/coda_cli.py rows insert <doc-id> <table-id> --data '{"Name": "Task 1", "Status": "Done"}'
# Update row
python scripts/coda_cli.py rows update <doc-id> <table-id> <row-id> --data '{"Status": "In Progress"}'
# Delete row (requires confirmation)
python scripts/coda_cli.py rows delete <doc-id> <table-id> <row-id>
# List pages
python scripts/coda_cli.py pages list <doc-id>
# Trigger automation (push button)
python scripts/coda_cli.py automations trigger <doc-id> <button-id>
# Force delete without confirmation (use with caution)
python scripts/coda_cli.py docs delete <doc-id> --force
Coda doc IDs can be extracted from browser URLs:
https://coda.io/d/_dAbCDeFGH/Project-TrackerAbCDeFGH (remove _d prefix)The CLI tool accepts both full URLs and raw IDs.
The API has strict rate limits:
The CLI tool automatically implements exponential backoff for 429 responses.
Write operations return HTTP 202 with a requestId. The CLI tool optionally polls for completion using --wait flag.
Delete Operations (rows, docs, pages, folders):
--force flag only in automation/scriptsPublishing (docs publish):
--confirm-publish flag--forcePermissions (acl commands):
--confirm-permissions flag for any changesAutomation Triggers:
List commands support:
--limit: Maximum results (default 25, max varies by endpoint)--page-token: For fetching subsequent pages--all flag# Insert multiple rows from JSON file
python scripts/coda_cli.py rows insert-batch <doc-id> <table-id> --file rows.json
# Upsert rows (update if exists, insert if not) using key columns
python scripts/coda_cli.py rows upsert <doc-id> <table-id> --file rows.json --keys "Email"
# Export from source
python scripts/coda_cli.py rows list <source-doc> <table-id> --format json > export.json
# Import to destination
python scripts/coda_cli.py rows insert-batch <dest-doc> <table-id> --file export.json
# Get full doc structure
python scripts/coda_cli.py docs structure <doc-id>
# List all formulas
python scripts/coda_cli.py formulas list <doc-id>
# List all controls
python scripts/coda_cli.py controls list <doc-id>
Common HTTP status codes:
400: Bad request (invalid parameters)401: Invalid/expired API token403: Insufficient permissions (need Doc Maker role)404: Resource not found429: Rate limited (implement backoff)202: Accepted but not yet processed (async operation)CODA_API_TOKEN to version controlpython scripts/coda_cli.py docs list --is-owner --query "Project"
python scripts/coda_cli.py docs create --title "Q4 Planning" --source-doc "template-doc-id"
python scripts/coda_cli.py rows update AbCDeFGH grid-xyz row-123 \
--data '{"Status": "Complete", "Completed Date": "2024-01-15"}'
python scripts/coda_cli.py rows delete-batch AbCDeFGH grid-xyz \
--filter '{"Status": "Archived"}' \
--confirm "Delete all archived rows?"
python scripts/coda_cli.py rows list AbCDeFGH grid-xyz --format csv > export.csv
安装 Coda 后,可以对 AI 说这些话来触发它
Help me get started with Coda
Explains what Coda does, walks through the setup, and runs a quick demo based on your current project
Use Coda to general-purpose Coda document manager via REST API v1
Invokes Coda with the right parameters and returns the result directly in the conversation
What can I do with Coda in my developer & devops workflow?
Lists the top use cases for Coda, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/coda/ 目录(个人级,所有项目可用),或 .claude/skills/coda/(项目级)。重启 AI 客户端后,用 /coda 主动调用,或让 AI 根据上下文自动发现并使用。
Coda 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Coda 可免费安装使用。请查阅仓库了解许可证信息。
General-purpose Coda document manager via REST API v1. Supports listing/creating/updating/deleting docs, managing tables/rows/pages, triggering automations, and exploring doc structure. Requires CODA_API_TOKEN environment variable. Delete operations require explicit confirmation; publishing and permission changes require explicit user intent.
Coda 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my developer & devops tasks using Coda
Identifies repetitive steps in your workflow and sets up Coda to handle them automatically