/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.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install 20-crm - After installation, invoke the skill by name or use
/20-crm - Provide required inputs per the skill's parameter spec and get structured output
What is Twenty CRM?
Interact with Twenty CRM (self-hosted) via REST/GraphQL. It is an AI Agent Skill for Claude Code / OpenClaw, with 286 downloads so far.
How do I install Twenty CRM?
Run "/install 20-crm" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Twenty CRM free?
Yes, Twenty CRM is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Twenty CRM support?
Twenty CRM is cross-platform and runs anywhere OpenClaw / Claude Code is available (darwin, linux).
Who created Twenty CRM?
It is built and maintained by w7tf (@w7tf); the current version is v0.0.2.