/install 20-crm
Twenty CRM
Interact with your self-hosted Twenty instance via REST and GraphQL.
Config
Set these env vars directly, or place them in config/twenty.env:
TWENTY_BASE_URL(e.g.https://crm.example.comorhttp://localhost:3000)TWENTY_API_KEY(Bearer token)
Scripts auto-load config/twenty.env relative to this skill. You can override the path with TWENTY_CONFIG_FILE.
Runtime Requirements
curlpython3
Commands
Low-level helpers
-
REST GET:
skills/twenty-crm/scripts/twenty-rest-get.sh "/companies" 'filter={"name":{"ilike":"%acme%"}}' "limit=10" "offset=0" -
REST POST:
skills/twenty-crm/scripts/twenty-rest-post.sh "/companies" '{"name":"Acme"}' -
REST PATCH:
skills/twenty-crm/scripts/twenty-rest-patch.sh "/companies/\x3Cid>" '{"employees":550}' -
REST DELETE:
skills/twenty-crm/scripts/twenty-rest-delete.sh "/companies/\x3Cid>" -
GraphQL:
skills/twenty-crm/scripts/twenty-graphql.sh 'query { companies(limit: 5) { totalCount } }'
Common objects (examples)
- Create company:
skills/twenty-crm/scripts/twenty-create-company.sh "Acme" "acme.com" 500 - Find companies by name:
skills/twenty-crm/scripts/twenty-find-companies.sh "acme" 10
Notes
- Twenty supports both REST (
/rest/...) and GraphQL (/graphql). - Object names/endpoints can differ depending on your workspace metadata and Twenty version.
- Auth tokens can be short-lived depending on your setup; refresh if you get
401.
Security
- Keep
TWENTY_API_KEYout of git and avoid storing it in shared/world-readable files. - If you use
config/twenty.env, prefer restrictive permissions (for examplechmod 600 config/twenty.env). - Pass REST query parameters as separate
key=valuearguments; do not append raw query strings to REST paths.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install 20-crm - 安装完成后,直接呼叫该 Skill 的名称或使用
/20-crm触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Twenty CRM 是什么?
Interact with Twenty CRM (self-hosted) via REST/GraphQL. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 286 次。
如何安装 Twenty CRM?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install 20-crm」即可一键安装,无需额外配置。
Twenty CRM 是免费的吗?
是的,Twenty CRM 完全免费(开源免费),可自由下载、安装和使用。
Twenty CRM 支持哪些平台?
Twenty CRM 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(darwin, linux)。
谁开发了 Twenty CRM?
由 w7tf(@w7tf)开发并维护,当前版本 v0.0.2。