bitrix-database

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

Guidance for working directly with a Bitrix site's database, including SQL queries, transactions, schema changes, and bulk data operations.

In plain words
What is it for?
Use it to read, insert, update, or delete large amounts of data, run transactions, execute raw SQL, and create database schema migrations.
Why use it?
It helps avoid choosing the wrong Bitrix database API or changing data unsafely when standard queries are not enough.

Skill for Claude CodeCodex

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

Good fit Use it to read, insert, update, or delete large amounts of data, run transactions, execute raw SQL, and create database schema migrations.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/bxmaximum/bitrix-framework-skills/bitrix-database"><img src="https://agentmods.dev/badge/skills/bxmaximum/bitrix-framework-skills/bitrix-database.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 456 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.00053 $0.00456
Opus 5.5 $0.00021 $0.00182
Sonnet 5.5 $0.00011 $0.00091
Haiku 4.5 $0.00005 $0.00046

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

Security

Grade A, and why

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

What it actually says

Прямой доступ к базе данных

Baseline: main 23.0+ · Verified: main 26.1000.0

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

Сначала ORM (bitrix-orm: query(), пакетные записи, merge, deleteByFilter). SQL нужен для upsert, оконных функций/CTE, тяжёлых отчётов, дополнительных подключений и изменения схемы.

Задача Читать
Секция connections, дополнительные БД, кодировка, обработчик подключения, блокировки rules/connections.md
query*, add/addMulti, SqlHelper, плейсхолдеры, upsert, транзакции rules/queries.md
DDL, изменения таблиц/индексов, SqlTracker rules/ddl-debug.md

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

  • Каждое значение передавай в SQL через плейсхолдеры SqlExpression или SqlHelper (forSql, convertToDb*). Аргумент $binds в query()/queryExecute() не является подготовленным запросом.
  • Идентификаторы из ввода сначала сверяй с разрешённым списком, затем используй quote() / ?#.
  • Прямая запись обходит события и кеш ORM: после неё вызывай XxxTable::cleanCache().
  • Пиши переносимый SQL: функции SqlHelper, без обратных кавычек, ENGINE, UNSIGNED (bitrix-postgresql).
  • Одна транзакция — одно соединение; транзакции должны быть короткими.
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. 26d ago Changed · +3 lines · -2 tokens per session 623db49cff35
  2. 2mo ago Changed · -208 lines · -73 tokens per session 94b4f4784c6e
  3. 3mo ago First seen · 233 lines · 128 tokens per session scan A 002068174bb6

Subscribe to this mod's changes

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

bitrix-database next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bitrix-databasebxmaximum/bitrix-framework-skillsSkill7513d agoMITA53Claude Code, Codex
roblox-dataTabooHarmony/roblox-brainSkill229todayMITA30Claude Code
analytics-engineerborghei/Claude-SkillsSkill1.2k6d agononeA45Claude Code
saas-scaffolderborghei/Claude-SkillsSkill1.2k6d agononeA53Claude Code
grepai-storage-qdrantyoanbernabeu/grepai-skillsSkill201mo agoMITA27Claude Code
database-designerborghei/Claude-SkillsSkill1.2k6d agononeA44Claude Code
database-schema-designerborghei/Claude-SkillsSkill1.2k6d agononeA58Claude Code