bitrix-framework

bitrix-framework is a skill for Claude Code, Codex from bxmaximum/bitrix-framework-skills. It costs 51 tokens per session (727 once invoked), scanned A, original, MIT.

A guide for PHP work in 1C-Bitrix and Bitrix24, covering local code placement, the D7 framework, dependency-injection boundaries, security defaults, version rules, and Since markers.

In plain words
What is it for?
Use it at the start of a Bitrix task or when deciding which Bitrix-specific guidance applies.
Why use it?
It gives Bitrix work consistent project rules and security guidance when the correct approach is unclear.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it at the start of a Bitrix task or when deciding which Bitrix-specific guidance applies.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bxmaximum/bitrix-framework-skills/bitrix-framework
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 bxmaximum/bitrix-framework-skills --skill bitrix-framework
Clone the repo
git clone --depth 1 https://github.com/bxmaximum/bitrix-framework-skills

Made for: Claude Code, Codex.

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 bitrix-framework

README.md
[![agentmods](https://agentmods.dev/badge/skills/bxmaximum/bitrix-framework-skills/bitrix-framework/github.svg)](https://agentmods.dev/skills/bxmaximum/bitrix-framework-skills/bitrix-framework)
Your own site
<a href="https://agentmods.dev/skills/bxmaximum/bitrix-framework-skills/bitrix-framework"><img src="https://agentmods.dev/badge/skills/bxmaximum/bitrix-framework-skills/bitrix-framework/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 bitrix-framework

Your own site · 80×15
<a href="https://agentmods.dev/skills/bxmaximum/bitrix-framework-skills/bitrix-framework"><img src="https://agentmods.dev/badge/skills/bxmaximum/bitrix-framework-skills/bitrix-framework.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 727 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.00051 $0.00727
Opus 5.5 $0.00020 $0.00291
Sonnet 5.5 $0.00010 $0.00145
Haiku 4.5 $0.00005 $0.00073

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

Security

Grade A, and why

bitrix-framework 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 13d 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.

skills/bitrix-framework/SKILL.md · 38 lines

How it starts

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

Канон Bitrix Framework

Baseline: main 23.0+ · Verified: main 26.1000.0

  1. Определи контур: CMS, коробка или облако. Для облачного REST — bitrix24-rest-api; PHP-ядра там нет.
  2. Перед PHP-кодом прочитай bitrix/modules/main/classes/general/version.php (SM_VERSION); для модульного API — <module>/install/version.php.
  3. Выбери профильный скилл по задаче. В его таблице открой только нужный rules/*.md; соседние темы — по необходимости. Уже прочитанный канон повторно не загружай.
  4. Сверяй спорный API с кодом ядра. Без исходников используй подтверждённый API и укажи ограничение проверки.
Когда нужна подробность Прочитай
Since, совместимость, минимальные версии rules/versions.md
DI, ServiceLocator, конструкторы, границы слоёв rules/di.md

Общие правила

  • Соблюдай стиль PHP, заданный проектом. Если стиль не задан, используй PER Coding Style 3.1.
  • Свой код размещай в /local/; ядро /bitrix/ не правь. Сохраняй структуру проекта, не добавляй лишние слои.
  • Используй D7. Legacy допустим, когда нужного D7 API нет; укажи причину в комментарии.
  • Контроллер, компонент и обработчик вызывают сервис; доступ к данным держи в сервисе/репозитории через ORM. Типизируй сигнатуры, в целых PHP-файлах добавляй declare(strict_types=1).
  • Перед классами модуля загружай его через Loader::includeModule() / requireModule(). Ожидаемые ошибки между модулями передавай через Result/Error.
  • Сохраняй стандартные AJAX-фильтры Authentication, HttpMethod, Csrf и проверяй права отдельно. Ввод получай через Request, сессию — через Application; поля запросов разрешай белым списком, вывод экранируй.
  • Секреты храни в окружении или .settings.php. Не помещай их в код, опции, миграции и логи.
  • /local/.settings.php целиком заменяет /bitrix/.settings.php: сохрани все нужные секции. Новые маршруты — /local/routes/*.php (bitrix-routing).
  • Границу установщика модуля и миграций проекта см. в bitrix-modules.

Проверка перед завершением

Read the full file on GitHub · 38 lines

Files

What ships with it

2 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. 13d ago Changed · +1 lines a523bbf8b034
  2. 26d ago Changed · -34 lines · -7 tokens per session 390a908f0015
  3. 2mo ago First seen · 71 lines · 58 tokens per session scan A b4f188cc19bb

Subscribe to this mod's changes

bitrix-framework is a skill published in the GitHub repository bxmaximum/bitrix-framework-skills (75 stars, last pushed 13d ago), licensed MIT. It adds 51 tokens to every session and 727 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.

Related

bitrix-framework compared with skills from other repositories

bitrix-framework next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bitrix-frameworkbxmaximum/bitrix-framework-skillsSkill7513d agoMITA51Claude Code, Codex
n8n-architectEtienneLescot/n8n-as-codeSkill1.7k2d agoMITA52Claude Code, Codex
roblox-cloudTabooHarmony/roblox-brainSkill229todayMITA38Claude Code
webhook-healthreatlat/fullstory-claude-pluginSkill341mo agoMITA38Claude Code
api-monitorreatlat/fullstory-claude-pluginSkill341mo agoMITA45Claude Code
bitrixPoliklot/bitrix-agent-skillSkill2229d agoMITA267Codex
cto-advisorborghei/Claude-SkillsSkill1.2k6d agononeA36Claude Code