bitrix-routing

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

A guide to defining public and API URLs in Bitrix, including routes stored under /local/routes. It covers controllers, site-specific access rules, and moving from older URL-rewrite configuration.

In plain words
What is it for?
Use it when adding public pages or API endpoints, configuring controllers, or migrating URL-rewrite rules.
Why use it?
It provides a clear way to connect URLs to application code and avoid routing conflicts or accidental access.

Skill for Claude CodeCodex

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

Good fit Use it when adding public pages or API endpoints, configuring controllers, or migrating URL-rewrite rules.

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

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

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

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

Security

Grade A, and why

bitrix-routing 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.

skills/bitrix-routing/SKILL.md · 27 lines

What it actually says

Маршрутизация Битрикса

Baseline: main 23.0+ · Verified: main 26.1000.0

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

Задача Читать
Правило веб-сервера, секция routing, файлы маршрутов модуля rules/setup.md
web.php, HTTP-методы, параметры, имена, группы, замыкания rules/routes-handlers.md
Публичная страница контроллера, PublicPageController rules/public-pages.md
Порядок выбора, кеш компиляции, выбор сайта, перенос urlrewrite.php rules/matching-legacy.md

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

  • Свои маршруты держи только в /local/routes/*.php, перечисляя имена файлов в routing.config. Файлы маршрутов модулей подключай оттуда через require.
  • Обработчики тонкие: [Controller::class, 'action'] для авторизации, CSRF и стабильного контракта. Защищай контроллеры маршрутов фильтрами (bitrix-controllers), не через ->middleware().
  • Контроллеры маршрутов работают в SCOPE_AJAX: стандартные Authentication и Csrf действуют и на GET-страницах. Удаляй их для конкретного действия публичной страницы только для чтения.
  • Для изменения состояния задавай HTTP-метод явно (get/post/…) и ->where() для каждого параметра.
  • Физический файл с тем же путём приоритетнее маршрута: веб-сервер отдаёт его до routing_index.php.
Files

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.

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. 26d ago Changed · +3 lines · +3 tokens per session eaae951bfe20
  2. 2mo ago Changed · -29 lines · +16 tokens per session bc5b3ab8ca68
  3. 3mo ago First seen · 53 lines · 29 tokens per session scan A 1ea786de9ed0

Subscribe to this mod's changes

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

bitrix-routing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bitrix-routingbxmaximum/bitrix-framework-skillsSkill7513d agoMITA48Claude 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