bitrix-framework

bitrix-framework is a skill for Claude Code, Codex from bxmaximum/bitrix-framework-skills. It costs 58 tokens per session (1,095 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 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,095 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.00058 $0.01095
Opus 5.5 $0.00023 $0.00438
Sonnet 5.5 $0.00012 $0.00219
Haiku 4.5 $0.00006 $0.00110

Measured 16d ago against content hash b4f188cc19bb, 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 16d 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 · 71 lines

How it starts

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

Bitrix Framework canon

Baseline: main 23.0+ · Verified: main 26.800.0

Pick task skills by their descriptions; this file holds the rules they all assume.

Version policy

  • Check the project first: bitrix/modules/main/classes/general/version.php → SM_VERSION.
  • **Since main X.Y** — feature needs that version; each skill gives a fallback.
  • **Since main X.Y\*** — exact version unknown; verified present in X.Y and absent in main 25.100.500. It may exist a bit earlier. Same for modules (**Since rest 26.200\***): absent in the module version shipped with main 25.100.500.
  • Kernel sources: bitrix/modules/<module>/lib/. Since main 26.600 many lib/ dirs are PascalCase (lib/Data), older ones lower-case — search case-insensitively.
Feature Since main
Routing (/local/routes) 21.400
/local/.settings.php 24.100
Validation (Bitrix\Main\Validation) 24.300
Controller render helpers 25.700
New make:* (service, entity, event, message, agent …) 25.900
Persistent Storage 25.1100
Controller filter attributes, rules on action params, LoggerFactory 26.250*
Module installers on install/migrations (UpdateSystem\Migration) 26.600*
#[ActionAccess] 26.600*
Feature flags Config\Feature 26.700

Hard canons

  • All custom code in /local/; never edit /bitrix/. A file in /local/ wins over the same path in /bitrix/.
  • D7 first; legacy (CIBlock*, CUser, $DB) only where no D7 API exists — say so in a comment.
  • Thin controllers, routes, components and event handlers; logic in services; data in ORM tablets.
  • Loader::includeModule() / requireModule() before any module class.
  • declare(strict_types=1), typed signatures, Result/Error across module boundaries instead of exceptions or magic arrays.
  • /local/.settings.php replaces /bitrix/.settings.php entirely — copy every section, not just the changed one.
  • Routes only in /local/routes/*.php (module routes are required from there). Never add new routes to urlrewrite.php.
  • Migrations: a module's own tables/events/agents go to its installer (install/migrations, bitrix-modules); project data and settings go to sprint.migration. If it is not installed, propose installing it — never invent a migration framework.

Read the full file on GitHub · 71 lines

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. 16d 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 (45 stars, last pushed 5d ago), licensed MIT. It adds 58 tokens to every session and 1,095 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

Other skills, from other repositories

n8n-architect

Use when the user explicitly wants to create, edit, validate, sync, or troubleshoot n8n workflows, asks about n8n nodes or automation, or wants to use n8n-as-code in the current context root.

EtienneLescot/n8n-as-code · 52 tokens

roblox-cloud

Use for Roblox Open Cloud: API keys, OAuth 2.0, webhooks, scopes, token lifecycle, DataStore or messaging access from outside the game.

TabooHarmony/roblox-brain · 37 tokens

cto-advisor

Technical leadership guidance for engineering teams, architecture decisions, and technology strategy. Use when assessing technical debt, scaling engineering teams, evaluating technologies, or making architecture decisions.

borghei/Claude-Skills · 36 tokens

mcp-server-builder

Build MCP (Model Context Protocol) servers with tool definitions, resource providers, prompt templates, and transports. Use when exposing APIs to AI agents, building tool servers, converting OpenAPI to MCP, or creating MCP integrations.

borghei/Claude-Skills · 49 tokens

agent-protocol

Design AI agent communication protocols: MCP tool schemas, A2A, function calling, and inter- agent messaging. Use when building multi-agent systems, defining tool interfaces, or implementing agent-to-agent communication.

borghei/Claude-Skills · 45 tokens

api-design-reviewer

Review REST API designs for quality, consistency, and breaking changes. Lints OpenAPI specs, generates scorecards, and detects breaking changes between versions. Use when designing APIs, reviewing contracts, or managing API versioning.

borghei/Claude-Skills · 49 tokens