/bento:chatwootfrom bento
Operates Chatwoot customer support via HTTP API on a deployed bento VPS — reply to customers, manage conversations, contacts, inboxes, and agents.
Ships in bento. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You operate the Application API of a Chatwoot stack already deployed by bento. This is day-2 work: you query and manage conversations, contacts, inboxes, and agents. For the exact endpoint paths, parameters, and request bodies, go to the official docs (linked at the bottom) — they are the source of truth. Your job is to know how to approach it, not to memorize the reference.
Golden rule — mutate via the API, never the DB. Raw
INSERT/UPDATEon Postgres bypasses Chatwoot's event pipeline (ActionCable, webhooks, Sidekiq) and leaves the UI in a broken state.
For getting Chatwoot running use /bento:deploy.
ssh "$user@$host" "jq -r '.envs.chatwoot.CHATWOOT_HOST' \$HOME/.config/bento/state.json"
Base URL is https://<CHATWOOT_HOST>. The two containers follow bento's swarm
naming convention: chatwoot_chatwoot_web.1.* (Rails) and
chatwoot_chatwoot_sidekiq.1.* (background worker).
Every Application API route is account-scoped: /api/v1/accounts/{account_id}/...
Read it from the browser URL after login (/app/accounts/**1**/dashboard), or
confirm via Rails runner:
ssh "$user@$host" "docker exec \$(docker ps -qf name=chatwoot_chatwoot_web) \
bundle exec rails runner 'puts Account.pluck(:id, :name).inspect'"
All three API surfaces use an api_access_token header — not
Authorization: Bearer.
/api/v1/accounts/...) — day-to-day inbox work. Two
token flavors: user token (Profile → Access Token; carries that agent's
permissions) and agent bot token (Settings → Integrations → Agent Bots;
system identity, broader scope — use for automation)./api/v1/platform/...) — super-admin provisioning
(create accounts, users). Token from Super Admin console →
https://<CHATWOOT_HOST>/super_admin/platform_apps./public/api/v1/inboxes/...) — in-widget visitor flows.
Out of scope here.Never echo a token. Store it in a shell variable: -H "api_access_token: $TOK".
The operation groups you'll reach for most:
inbox_id before creating a conversation).Look up exact paths, query params, and request bodies in the docs — don't guess from memory. Confirm the live schema against the instance's own Swagger before mutating.
account_id = 1 on bento, but verify. If a second account is ever created
via the UI or Platform API, route IDs shift. Always read it from the URL or
Rails runner; never hardcode 1.
agent bot token vs user token — different identity. A bot token can send
message_type: outgoing and toggle statuses without inbox-membership checks
that apply to regular agents. Use a bot token for automation, a user token when
acting on behalf of a human agent.
source_id on conversation create. The OpenAPI spec lists it as the only
required field, but in practice inbox_id drives the channel — supply both.
Omitting inbox_id returns a 422 on most inbox types.
Private notes vs outgoing messages. "private": true on a messages POST
creates an internal agent note invisible to the customer. Omitting it (or
false) sends to the customer. Double-check before posting.
Sidekiq must be running for deliveries. Outgoing messages are queued via
Sidekiq. If chatwoot_chatwoot_sidekiq is down, messages persist in the DB
but are never dispatched. Check docker service ps chatwoot_chatwoot_sidekiq
before diagnosing delivery failures.
toggle_status fires events every call. Calling it in a retry loop
re-triggers webhooks and ActionCable broadcasts each time. Confirm current
status from GET .../conversations/{cid} before toggling.
GET and show the changed fields.Docs (source of truth): https://developers.chatwoot.com/api-reference · live
OpenAPI on your instance at https://<CHATWOOT_HOST>/swagger. When this skill
and the docs disagree, the docs win — tell the operator.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
chatwoot, customer-support, help-desk, api-operations, bento
14 skills in this plugin
/authRegister an AI-provider API key on a VPS running bento, via SSH, and propagate it to every BENTO_MANAGED stack. Drives bento-auth (Anthropic, OpenAI, OpenRouter, z.ai, Gemini, and any OpenAI-compatible endpoint). Use when the user says "add my OpenAI key", "register an Anthropic key", "set up provider auth on my bento server". NOTE: subscriptions (Claude Pro/Max, ChatGPT Plus) are OUT OF SCOPE — those use each app's native sign-in./deployAdd or redeploy application stacks on a VPS that ALREADY runs bento, via SSH. Drives bento's unattended Step 3 (BENTO_APPS) for the chosen apps, reconciles state against Portainer, verifies each app, and reports URLs + bootstrap artifacts. Use when the user says "add n8n to my server", "deploy chatwoot on my bento box", "install another app". For a brand-new server use the install skill instead./npx claudepluginhub felipefontoura/bento --plugin bentoOther plugins' skills for the same job