bitrix-controllers

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

Guidance for building Bitrix controller actions that handle browser requests, AJAX calls, and REST endpoints.

In plain words
What is it for?
Use it to create routed endpoints, AJAX actions, and JSON responses for web applications.
Why use it?
It helps keep request handlers small and gives them consistent access to users, filters, and errors.

Skill for Claude CodeCodex

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

Good fit Use it to create routed endpoints, AJAX actions, and JSON responses for web applications.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bxmaximum/bitrix-framework-skills/bitrix-controllers
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-controllers
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-controllers

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

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

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

Security

Grade A, and why

bitrix-controllers 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-controllers/SKILL.md · 27 lines

What it actually says

Контроллеры Битрикса

Baseline: main 23.0+ · Verified: main 26.1000.0

Перед PHP-кодом прочитай bitrix-framework, если ещё не читал его в этой задаче. В таблице выбери только нужный rules/*.md; пути относительны каталогу скилла.

Задача Читать
Файлы, имена действий, минимальный контроллер, параметры DI, PageNavigation rules/basics.md
Стандартные фильтры, атрибуты, configureActions(), #[ActionAccess], свой фильтр rules/filters.md
Ошибки, JSON-обёртка, классы ответов, renderView(), подпись экспорта, REST v3 rules/errors-response.md

Обязательные правила

  • Действие только связывает ввод → сервис → Result → данные или addErrors(). Сервисы передаются параметрами действия (канон DI: bitrix-framework).
  • Атрибуты фильтров доступны Since main 26.250*; раньше используй configureActions(). Не совмещай оба способа для одного действия: ActionConfigurationException.
  • Константы METHOD_* принадлежат ActionFilter\HttpMethod, а не атрибуту Attribute\Rule\HttpMethod. Обращение к ним на атрибуте ломает создание контроллера и все его действия.
  • Атрибуты правил добавляют фильтры к стандартным (Authentication, HttpMethod([GET, POST]), Csrf). Повторный #[Authentication] или #[Csrf] запускает фильтр дважды.
  • Регистр имён действий в классическом REST см. в bitrix-rest.
  • HTML (renderView/renderComponent) возвращай только через маршруты; BX.ajax.runAction() ожидает JSON.
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. 13d ago Changed 7b060a39b0de
  2. 26d ago Changed · +3 lines · +6 tokens per session 4b8a476a484f
  3. 2mo ago Changed · -40 lines · +15 tokens per session 6f23bde74410
  4. 3mo ago First seen · 64 lines · 31 tokens per session scan A 2ac9a06c2daa

Subscribe to this mod's changes

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

Related

bitrix-controllers compared with skills from other repositories

bitrix-controllers next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bitrix-controllersbxmaximum/bitrix-framework-skillsSkill7513d agoMITA52Claude 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