bitrix24-crm-api

bitrix24-crm-api is a skill for Claude Code, Codex from nebelov/yandex-direct-for-all. It costs 108 tokens per session (3,386 once invoked), scanned A, original, MIT.

A guarded connection to Bitrix24, a customer-management system, through its REST interface. It can read leads, deals, sales stages, sources, tracking data, calls, and stage history, while restricting changes unless the owner approves a detailed plan.

In plain words
What is it for?
Use it to inspect Bitrix24 records, trace enquiries through sales stages, compare CRM results with advertising, and attribute leads to sources. It can also carry out specifically approved CRM updates with checks after writing.
Why use it?
It provides a controlled way to compare customer records with Yandex advertising data without exposing access keys or making unapproved CRM changes.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the yandex-direct-for-all plugin — 19 skills, 3 MCP servers shipped together

Good fit Use it to inspect Bitrix24 records, trace enquiries through sales stages, compare CRM results with advertising, and attribute leads to sources. It can also carry out specifically approved CRM updates with checks after writing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nebelov/yandex-direct-for-all/bitrix24-crm-api
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add nebelov/yandex-direct-for-all --skill bitrix24-crm-api
Clone the repo
git clone --depth 1 https://github.com/nebelov/yandex-direct-for-all

Made for: Claude Code, Codex.

Or install yandex-direct-for-all, the plugin that ships this one along with the rest of its 19 skills, 3 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for bitrix24-crm-api

README.md
[![agentmods](https://agentmods.dev/badge/skills/nebelov/yandex-direct-for-all/bitrix24-crm-api/github.svg)](https://agentmods.dev/skills/nebelov/yandex-direct-for-all/bitrix24-crm-api)
Your own site
<a href="https://agentmods.dev/skills/nebelov/yandex-direct-for-all/bitrix24-crm-api"><img src="https://agentmods.dev/badge/skills/nebelov/yandex-direct-for-all/bitrix24-crm-api/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for bitrix24-crm-api

Your own site · 80×15
<a href="https://agentmods.dev/skills/nebelov/yandex-direct-for-all/bitrix24-crm-api"><img src="https://agentmods.dev/badge/skills/nebelov/yandex-direct-for-all/bitrix24-crm-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 108 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,386 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00108 $0.03386
Opus 5.5 $0.00043 $0.01354
Sonnet 5.5 $0.00022 $0.00677
Haiku 4.5 $0.00011 $0.00339

Measured today against content hash c287d06d0e7a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

bitrix24-crm-api scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/bitrix24_read.py, tests/test_bitrix24_read.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/yandex-direct-for-all/skills/bitrix24-crm-api/SKILL.md · 91 lines

How it starts

The opening of the file, as written. The whole thing — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Битрикс24: CRM через REST

Граница задачи

Навык читает CRM клиента и сверяет её с рекламой. Запись (создание, изменение, удаление лидов, сделок, полей, стадий, вебхуков) — только по отдельному плану, с точным списком полей, «да» владельца и чтением после записи. Реклама, цели, ставки и кампании меняются только навыком yandex-direct-unified.

Доступ

  1. Берёт адрес из переменной BITRIX24_WEBHOOK_URL (вид https://<портал>/rest/<id_пользователя>/<код>/) или из закрытого JSON с правами 0600. Адрес и код никогда не печатай, не передавай аргументом командной строки и не клади в журнал, отчёт и репозиторий.
  2. Вебхук действует от имени сотрудника, который его создал, и в рамках выбранных скоупов. Создаёт администратор или сотрудник с разрешением администратора. Для чтения достаточно скоупа crm; имена сотрудников требуют user; статистика звонков (voximplant.statistic.get) требует telephony и право «Статистика звонков — Просмотр». Если на ответе insufficient_scope, не повторяй запрос: попроси отдельный вебхук с нужным скоупом (переменная BITRIX24_TELEPHONY_WEBHOOK_URL) или используй локальное приложение.
  3. Часть методов (например, привязка виджетов, часть телефонии) недоступна из вебхука и требует контекста приложения. Для нескольких порталов, событий и методов с контекстом создай локальное приложение (OAuth 2.0: access_token живёт 1 час, refresh_token 180 дней; код авторизации 30 секунд) и храни токены в файле 0600.
  4. Новый вебхук или приложение создаёт только владелец или по его явному «да». Перед этим проверь, нет ли уже подходящего. Срок действия вебхука может быть ограничен: при ошибке авторизации сначала проверь его.
  5. Файлы доступа и выгрузки (в них телефоны и имена) держи в закрытой папке, добавь её в .gitignore, в отчётах и чатах телефоны маскируй.

Режим чтения

  1. Скрипт scripts/bitrix24_read.py (команды probe, schema, export) вызывает только методы из белого списка: crm.item.list, crm.item.fields, crm.lead.list, crm.deal.list, crm.lead.fields, crm.lead.userfield.list, crm.status.list, crm.status.entity.types, crm.category.list, crm.dealcategory.list, crm.stagehistory.list, crm.activity.list, crm.contact.list, voximplant.statistic.get, user.get, scope, batch (только с чтением внутри). Любой другой метод — отказ.
  2. Основной путь — crm.item.list (entityTypeId: лид 1, сделка 2, контакт 3, компания 4). crm.lead.list и crm.deal.list помечены в документации как устаревшие; используй их только когда поле недоступно в crm.item.list.
  3. Страница списка всегда 50 записей. Малые выборки — через start/next. Большие выгрузки — обход по ID: сортировка ID по возрастанию, в фильтре >ID последнего полученного, start=-1, повтор пока вернулось 50. Для этого режима total не приходит: объём считай отдельным запросом.
  4. Множественные поля (PHONE, EMAIL) перечисляй в select явно; маска * их и пользовательские поля не включает, добавляй UF_*. Поля UTM (UTM_SOURCE, UTM_MEDIUM, UTM_CAMPAIGN, UTM_CONTENT, UTM_TERM) называй в select явно; в crm.item.list сверь их имена через crm.item.fields.
  5. В фильтре ENTITY_ID и STATUS_ID справочников передавай строкой. Префиксы: >=, >, <=, <, @ (IN, массив), !@, %, =, !=.
  6. Лимиты (облако): для тарифа «Энтерпрайз» 5 запросов в секунду при пороге 250, для остальных 2 в секунду при пороге 50; превышение — HTTP 503 QUERY_LIMIT_EXCEEDED; ресурсоёмкость — HTTP 429 OPERATION_TIME_LIMIT (ориентир operating_reset_at в блоке time). Держи не больше одного потока, паузу между запросами не меньше 0,5 с, при 503/429 повторяй с растущей паузой, не запускай параллельные серии с того же IP. batch — до 50 команд, вложенный batch запрещён, ошибки команд лежат в result_error при ответе 200.
  7. Каждая выгрузка сохраняет манифест: метод, фильтр, период, число строк, число уникальных ID, число страниц, признак complete, время начала и конца. Повтор или отсутствие ID в выгрузке — ошибка; ID скрипт добавляет в поля сам. В файл попадают только объявленные поля (--fields или набор по умолчанию), даже если метод вернул больше. Телефоны, почта и имена сохраняются только с --include-personal-data и только если названы в --fields. Неполную выгрузку (complete=false) не превращай в отчёт.
  8. Время: даты REST приходят в часовом поясе портала. Переводи всё в UTC и записывай границу периода с поясом; Метрика считает в поясе счётчика, копия данных BI отстаёт.

Read the full file on GitHub · 91 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 91 lines · 108 tokens per session scan A c287d06d0e7a

Subscribe to this mod's changes

bitrix24-crm-api is a skill published in the GitHub repository nebelov/yandex-direct-for-all (21 stars, last pushed yesterday), licensed MIT. It adds 108 tokens to every session and 3,386 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-24.

Related

Other skills, from other repositories

superloopy-backend

Use only after explicit Codex $superloopy:superloopy-backend or Claude Code /superloopy:superloopy-backend invocation, a backend task beginning with leading loopy or 루피, or an active Superloopy loop routes backend work here. Relevant work includes backend application boundaries, APIs, persistence, migrations…

beefiker/superloopy · 116 tokens

corezoid-gitcall

Corezoid Git Call node specialist — run custom code (Python, Go, Java, PHP, JavaScript, Clojure, Lisp, Prolog, or a custom Dockerfile) as a step inside a process. Use when the user needs logic that plain nodes cannot do: parsing files, using external libraries, cryptography, building email/attachments, or any custom…

corezoid/corezoid-ai-plugin · 154 tokens

architecture

Proactive architecture review — explore codebase structure, generate a self-contained HTML report with Mermaid diagrams and candidate improvements, then grill the findings. Use when planning a large refactor, onboarding to an unfamiliar codebase, or before a major architectural change.

datit309/supergraph · 52 tokens

govard-laravel

This skill should be used when the user asks to "run migrations", "run artisan commands", "clear Laravel cache", "config:cache", "run queue operations", "schedule:run", "tinker into app", "artisan tinker", "run Laravel Pint", "lint Laravel project", "audit Laravel", "govard audit", "npm dev/prod", "deploy Laravel", or…

ddtcorex/maestro-skills · 112 tokens

magento2-backend-dev

This skill should be used when the user asks to "create an API endpoint", "build a REST API", "add a GraphQL resolver", "create a CLI command", "add a cron job", "set up a message queue", "implement a web API", "add a SOAP service", or "create a data provider". Covers Magento 2 backend development: REST/SOAP/GraphQL…

ddtcorex/maestro-skills · 114 tokens

govard-wordpress

This skill should be used when the user asks to "clear WordPress cache", "run wp cli", "run wp commands", "flush rewrite rules", "manage WordPress plugins via govard", "wordpress wp-config", "audit WordPress", "lint WordPress", "govard audit", "deploy WordPress", or "govard deploy". Provides WordPress-specific Govard…

ddtcorex/maestro-skills · 96 tokens