bitrix-orm

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

A guide to Bitrix D7 ORM, the layer that reads and writes database records through PHP objects and queries. It covers filtering, entity definitions, and grouped database changes.

In plain words
What is it for?
Use it to design entities, query records, and perform batch, merge, or filtered delete operations.
Why use it?
It reduces the need to write database operations directly and helps keep entity data access consistent.

Skill for Claude CodeCodex

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

Good fit Use it to design entities, query records, and perform batch, merge, or filtered delete operations.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/bxmaximum/bitrix-framework-skills/bitrix-orm"><img src="https://agentmods.dev/badge/skills/bxmaximum/bitrix-framework-skills/bitrix-orm.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 493 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.00057 $0.00493
Opus 5.5 $0.00023 $0.00197
Sonnet 5.5 $0.00011 $0.00099
Haiku 4.5 $0.00006 $0.00049

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

Security

Grade A, and why

bitrix-orm 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-orm/SKILL.md · 28 lines

What it actually says

D7 ORM Битрикса

Baseline: main 23.0+ · Verified: main 26.1000.0

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

Задача Читать
Таблет, типы полей, ArrayField, преобразователи, связи, UF rules/tablet-map.md
query(), фильтры, вычисляемые поля, DISTINCT, страницы rules/reading.md
Коллекции: сохранение, удаление из состава, связи, find/filter, ключи rules/collections.md
add/update/delete, пакеты, атомарное увеличение, merge, deleteByFilter rules/writing.md
События ORM, кеш запросов, пользовательский ввод rules/events-cache-security.md

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

  • Пространство имён Bitrix\Main\ORM\*. Bitrix\Main\Entity\* — устаревший список псевдонимов (main/include/compatibility.php): не используй его в новом коде и не смешивай оба в файле.
  • Строй запрос через XxxTable::query(), не new Query(XxxTable::getEntity()): query() учитывает getQueryClass() таблета.
  • add/update/delete/save() вызывают события и cleanCache(). MergeTrait::merge() и deleteByFilter() не вызывают события; прямой SQL также оставляет кеш устаревшим.
  • У коллекции нет delete(); remove() меняет только её состав в памяти.
  • Данные запроса не должны попадать в select, order, group, runtime, ExpressionField без разрешённого списка.
Files

What ships with it

5 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 · +6 tokens per session e8f7b22ae517
  2. 2mo ago Changed · -32 lines · +16 tokens per session 8cdb31772e3d
  3. 3mo ago First seen · 57 lines · 35 tokens per session scan A 0c807b0ed6eb

Subscribe to this mod's changes

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

bitrix-orm next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bitrix-ormbxmaximum/bitrix-framework-skillsSkill7513d agoMITA57Claude Code, Codex
saas-scaffolderborghei/Claude-SkillsSkill1.2k6d agononeA53Claude Code
senior-backendborghei/Claude-SkillsSkill1.2k6d agononeA47Claude Code
event-store-designwshobson/agentsSkill43kyesterdayMITA33Claude Code
cqrs-implementationwshobson/agentsSkill43kyesterdayMITA35Claude Code
n8n-architectEtienneLescot/n8n-as-codeSkill1.7k2d agoMITA52Claude Code, Codex
supabase-clifcakyon/claude-codex-settingsSkill1.2ktodayApache-2.0A60Claude Code