bitrix-orm

bitrix-orm is a skill for Claude Code, Codex from bxmaximum/bitrix-framework-skills. It costs 51 tokens per session (384 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 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 384 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.00384
Opus 5.5 $0.00020 $0.00154
Sonnet 5.5 $0.00010 $0.00077
Haiku 4.5 $0.00005 $0.00038

Measured 16d ago against content hash 8cdb31772e3d, 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 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-orm/SKILL.md · 25 lines

What it actually says

Bitrix D7 ORM

Baseline: main 23.0+ · Verified: main 26.800.0

Task Read
Tablet, field types, ArrayField, data modifiers, relations, UF rules/tablet-map.md
query(), filters, runtime fields, DISTINCT, pagination rules/reading.md
Collections: save, remove, relations, find/filter, keys rules/collections.md
add/update/delete, batch, atomic increments, merge, deleteByFilter rules/writing.md
ORM events, query cache, user input in queries rules/events-cache-security.md

Invariants

  • Namespace Bitrix\Main\ORM\*. Bitrix\Main\Entity\* is a legacy alias list (main/include/compatibility.php): don't write it in new code or mix both in one file.
  • Build queries with XxxTable::query(), never new Query(XxxTable::getEntity()): query() honours the tablet's getQueryClass().
  • add/update/delete/save() run events and cleanCache(). MergeTrait::merge() and deleteByFilter() fire no events; raw SQL also leaves the cache stale.
  • A collection has no delete(); remove() only detaches in memory.
  • Never pass request data into select, order, group, runtime or ExpressionField without a whitelist.
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. 16d ago Changed · -32 lines · +16 tokens per session 8cdb31772e3d
  2. 1mo 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 (45 stars, last pushed 5d ago), licensed MIT. It adds 51 tokens to every session and 384 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

Other skills, from other repositories

saas-scaffolder

Generate SaaS boilerplate with auth, database schemas, Stripe billing, multi-tenancy, API routes, and dashboard UI on a Next.js/TypeScript/Tailwind stack. Use when starting a new SaaS product, subscription app, or multi-tenant platform.

borghei/Claude-Skills · 60 tokens

senior-backend

Backend development with Node.js/Express/Fastify and PostgreSQL. Use when designing REST or GraphQL APIs, optimizing database queries, implementing authentication, building microservices, handling migrations, or reviewing backend code.

borghei/Claude-Skills · 47 tokens

event-store-design

Design and implement event stores for event-sourced systems. Use when building event sourcing infrastructure, choosing event store technologies, or implementing event persistence patterns.

wshobson/agents · 33 tokens

cqrs-implementation

Implement Command Query Responsibility Segregation for scalable architectures. Use when separating read and write models, optimizing query performance, or building event-sourced systems.

wshobson/agents · 35 tokens

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

supabase-cli

This skill should be used when user asks to "use supabase CLI", "supabase init", "supabase start", "run migrations", "deploy edge functions", "manage Supabase project", or works with the supabase command-line tool for local development and project management.

fcakyon/claude-codex-settings · 60 tokens