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.
npx skills add bxmaximum/bitrix-framework-skills --skill bitrix-documentgeneratorgit clone --depth 1 https://github.com/bxmaximum/bitrix-framework-skillsWrote 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.
[](https://agentmods.dev/skills/bxmaximum/bitrix-framework-skills/bitrix-documentgenerator)<a href="https://agentmods.dev/skills/bxmaximum/bitrix-framework-skills/bitrix-documentgenerator"><img src="https://agentmods.dev/badge/skills/bxmaximum/bitrix-framework-skills/bitrix-documentgenerator/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.
<a href="https://agentmods.dev/skills/bxmaximum/bitrix-framework-skills/bitrix-documentgenerator"><img src="https://agentmods.dev/badge/skills/bxmaximum/bitrix-framework-skills/bitrix-documentgenerator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00056 | $0.00538 |
| Opus 5.5 | $0.00022 | $0.00215 |
| Sonnet 5.5 | $0.00011 | $0.00108 |
| Haiku 4.5 | $0.00006 | $0.00054 |
Grade A, and why
bitrix-documentgenerator 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 26d ago.
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.
What it actually says
Генератор документов Битрикс
Baseline: main 23.0+ · Verified: documentgenerator 26.400.0, main 26.1000.0
Перед PHP-кодом прочитай bitrix-framework, если ещё не читал его в этой задаче. По таблице открой только нужный файл правил.
Только Битрикс24, облако и коробка: установка требует humanresources, в «Управлении сайтом» модуля нет. Для PDF/JPG нужны transformer и сервер документов.
| Задача | Читать |
|---|---|
| Поля подстановки, модификаторы, таблицы, изображения, создание шаблона кодом | rules/templates.md |
| Данные своей сущности: класс поставщика, поля, списки, регистрация | rules/providers.md |
| Генерация DOCX/PDF, номера, хранение, удаление, события | rules/generation.md |
| Права модуля, роли, доступ к шаблону, REST, компоненты интерфейса | rules/access-rest.md |
Документы CRM (счета, сделки) используют поставщиков CRM: bitrix24-crm.
Общие правила
Loader::requireModule('documentgenerator'); код — в своём модуле/local/modules/, поставщик зарегистрирован под ID этого модуля.MODULE_IDшаблона =MODULEпоставщика = установленный модуль; иначе поставщик молча игнорируется.- Вызывай
Template::setSourceType()доgetFields()/Document::createByTemplate(), проверяйgetSourceType(). - Проверяй права явно:
UserPermissions, доступ к шаблону,Document::hasAccess(). Загрузка и создание прав не проверяют; пользователь0проходит проверки данных. - Ссылки на файлы —
b_documentgenerator_file.ID(FILE_ID,PDF_ID); преобразование —FileTable::getBFileId(). - PDF создаётся асинхронно:
getFile(false)либо пропуск ошибок преобразования; обрабатывайonDocumentTransformationComplete.
What ships with it
4 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.
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.
- 26d ago Changed · +2 lines · +3 tokens per session a552ca91e684
- 2mo ago First seen · 29 lines · 53 tokens per session scan A 96c7f007122d
bitrix-documentgenerator is a skill published in the GitHub repository bxmaximum/bitrix-framework-skills (75 stars, last pushed 13d ago), licensed MIT. It adds 56 tokens to every session and 538 once invoked, about $0.0002 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-01.
bitrix-documentgenerator compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| bitrix-documentgeneratorbxmaximum/bitrix-framework-skills | Skill | 75 | 13d ago | MIT | A | 56 | Claude Code, Codex |
| pdf-toolkitborghei/Claude-Skills | Skill | 1.2k | 6d ago | none | A | 45 | Claude Code |
| pptx-toolkitborghei/Claude-Skills | Skill | 1.2k | 6d ago | none | A | 51 | Claude Code |
| oma-pdffirst-fluke/oh-my-agent | Skill | 1.5k | today | MIT | A | 33 | Claude Code |
| datasheetsaklofas/kicad-happy | Skill | 1.8k | 6d ago | MIT | A | 156 | Claude Code |
| slidesfcakyon/claude-codex-settings | Skill | 1.2k | today | Apache-2.0 | A | 83 | Claude Code |
| pkf-writingPrismer-AI/PrismerCloud | Skill | 1.4k | 1mo ago | MIT | A | 78 | Claude Code, Codex |