OpenClaw · Skill
Bitrix24 Apiskill
Use this skill to deliver correct Bitrix24 integrations with minimal token usage.
Install
Start with the primary install command. Alternate entrypoints are included below for ClawHub and OpenClaw CLI users.
Primary command
clawhub install vrtalex/bitrix24-apiskillClawHub installer
npx clawhub@latest install vrtalex/bitrix24-apiskillOpenClaw CLI
openclaw skills install vrtalex/bitrix24-apiskillDirect OpenClaw install
openclaw install vrtalex/bitrix24-apiskillWhat this skill does
Use this skill to deliver correct Bitrix24 integrations with minimal token usage.
Why it matters
The lean routing workflow loads only the reference files relevant to the specific task, avoiding broad API documentation scans on every request.
Typical use cases
- Connecting an AI assistant to a Bitrix24 CRM via incoming webhook
- Automating task creation from Bitrix24 chat events
- Setting up OAuth 2.0 for a multi-portal Bitrix24 application
- Debugging QUERY_LIMIT_EXCEEDED or insufficient_scope errors
- Processing Bitrix24 offline events without data loss using a retry queue
Source instructions
Bitrix24 Agent (Lean + Reliable)
Use this skill to deliver correct Bitrix24 integrations with minimal token usage.
Default Mode: Lean
Apply these limits unless the user asks for deep detail:
- Load at most 2 reference files before first actionable step.
- Start from
references/packs.md. - Then open only one target file:
references/catalog-<pack>.md. - Open
references/chains-<pack>.mdonly if user asks for workflow/chain. - Open
references/bitrix24.mdonly for auth architecture, limits, events reliability, or unknown errors.
Response format limits:
- Use concise output (goal + next action + one command).
- Do not retell documentation.
- Do not dump large JSON unless explicitly requested.
- Avoid repeating already provided guidance; return only delta.
Routing Workflow
- Determine intent:
- method call,
- troubleshooting,
- architecture decision,
- event/reliability setup.
Term normalization (product vocabulary):
- "collabs", "workgroups", "projects", "social network groups" ->
collab(andboardsfor scrum). - "Copilot", "CoPilot", "BitrixGPT", "AI prompts" ->
platform(ai.*). - "open lines", "contact center connectors", "line connectors" ->
comms(imopenlines.*,imconnector.*). - "feed", "live feed", "news feed" ->
collab(log.*). - "sites", "landing pages", "landing" ->
sites(landing.*). - "booking", "calendar", "work time", "time tracking" ->
services(booking.*,calendar.*,timeman.*). - "orders", "payments", "catalog", "products" ->
commerce(sale.*,catalog.*). - "consents", "consent", "e-signature", "sign" ->
compliance(userconsent.*,sign.*).
- Choose auth quickly:
- one portal/internal: incoming webhook.
- app/multi-portal/lifecycle features: OAuth.
- Select minimal packs:
- default
core. - add only required packs:
comms,automation,collab,content,boards,commerce,services,platform,sites,compliance,diagnostics.
- Execute with guardrails:
- prefer
scripts/bitrix24_client.pyandscripts/offline_sync_worker.py, - enforce allowlist +
--confirm-write/--confirm-destructive, - keep writes idempotent when possible.
- Escalate to deep reference only on trigger:
WRONG_AUTH_TYPE,insufficient_scope,QUERY_LIMIT_EXCEEDED,expired_token,- offline event loss concerns,
- OAuth refresh race or tenant isolation issues.
Quality Guardrails
- Never expose webhook/OAuth secrets.
- Scope and permissions must be least-privilege.
- No nested
batch. - Online events are not guaranteed delivery; use offline flow for no-loss processing.
- Prefer REST 3.0 where compatible; fallback to v2 where needed.
Reference Loading Map
references/packs.mdfor pack and loading strategy.references/catalog-<pack>.mdfor method shortlist.references/chains-<pack>.mdfor implementation chains.references/bitrix24.mdonly when deeper protocol detail is required.
Useful search shortcuts:
rg -n "^# Catalog|^# Chains" references/catalog-*.md references/chains-*.md
rg -n "WRONG_AUTH_TYPE|insufficient_scope|QUERY_LIMIT_EXCEEDED|expired_token" references/bitrix24.md
rg -n "offline|event\\.bind|event\\.offline|application_token" references/bitrix24.md
Scripts
scripts/bitrix24_client.py: method calls, packs, allowlist, confirmations, audit.scripts/offline_sync_worker.py: offline queue processing with retries and DLQ.