bitrix-postgresql

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

A guide to running Bitrix with PostgreSQL, a database system that can replace MySQL in supported editions. It covers the Bitrix connection, migration concerns, compatible code, and module support.

In plain words
What is it for?
Use it when configuring PostgreSQL Enterprise editions, moving from MySQL, or checking whether modules and custom code support PostgreSQL.
Why use it?
It helps identify compatibility limits and migration work before changing the database used by a Bitrix installation.

Skill for Claude CodeCodex

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

Good fit Use it when configuring PostgreSQL Enterprise editions, moving from MySQL, or checking whether modules and custom code support PostgreSQL.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/bxmaximum/bitrix-framework-skills/bitrix-postgresql"><img src="https://agentmods.dev/badge/skills/bxmaximum/bitrix-framework-skills/bitrix-postgresql.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 899 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.00899
Opus 5.5 $0.00020 $0.00360
Sonnet 5.5 $0.00010 $0.00180
Haiku 4.5 $0.00005 $0.00090

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

Security

Grade A, and why

bitrix-postgresql 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-postgresql/SKILL.md · 55 lines

How it starts

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

PostgreSQL

Baseline: main 23.900.900+ (first PostgreSQL-capable main) · Verified: main 26.800.0, perfmon 25.300.0

Licensed as Bitrix24 / CMS "Enterprise for Postgres". Connection class \Bitrix\Main\DB\PgsqlConnection; the rest of connections is as in bitrix-database.

Before migrating

  1. Current license must cover the test period (up to 6 months) and the switch. The Postgres license gives a coupon (activate after testing) and a key for a separate test copy; production stays on MySQL meanwhile.
  2. perfmon 24.0.0+, site in UTF-8, the latest updates on the test copy.
  3. Rehearse on a copy of production; going back to MySQL afterwards is manual work.
  4. Close the site during the final copy.

Wizard perfmon.pgsql (Settings → Wizards)

  • Step 0 lists installed modules that ship install/mysql (or install/db/mysql) without the pgsql twin and blocks until you uninstall them. With the dev flag file bitrix/modules/perfmon/dev it only warns and removes them from b_module in the target DB after copying (their tables stay).
  • It checks /bitrix/modules/* only. /local/modules and modules without SQL install files (install/migrations) are never checked: audit them yourself.
  • It asks for an extra default_pgsql connection in .settings.php, copies the tables, then you switch default.
  • Manual (CLI) migration: find unsupported modules with
for m in bitrix/modules/*/; do
  for d in install install/db; do
    [ -d "$m$d/mysql" ] && [ ! -d "$m$d/pgsql" ] && echo "no pgsql: $m$d"
  done
done

Module support (docs, main 26.800)

  • Not supported: abtest, advertising, b24connector, bitrix.sitecorporate, conversion, form, meeting, photogallery, report, statistic, storeassist, support, translate, webservice, wiki. translate:index is therefore unavailable.
  • abtest and report ship pgsql scripts but are still unsupported: scripts ≠ support.
  • Added recently: anonymizer 26.100, superset 26.200, note 26.250, biconnector 26.800. The Bitrix24 PG distribution has no vibecodeconnector and no workflow.
  • Marketplace modules: confirm with the vendor.

Read the full file on GitHub · 55 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 Changed · -20 lines · -5 tokens per session 42288c83f1f8
  2. 1mo ago First seen · 75 lines · 56 tokens per session scan A 5b7551ef6181

Subscribe to this mod's changes

bitrix-postgresql 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 899 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

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

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

supabase-js

This skill should be used when user asks to "use supabase-js", "query Supabase database", "supabase auth", "supabase storage", "supabase realtime", "supabase edge functions", or works with the @supabase/supabase-js JavaScript/TypeScript SDK.

fcakyon/claude-codex-settings · 64 tokens

api-baas-neon

Serverless PostgreSQL with branching, autoscaling, and edge-compatible driver.

agents-inc/skills · 20 tokens

api-database-postgresql

Direct PostgreSQL access with node-postgres (pg) -- connection pools, parameterized queries, transactions, streaming, LISTEN/NOTIFY, error handling.

agents-inc/skills · 37 tokens

sap-cap-capire

SAP Cloud Application Programming Model (CAP) development skill using Capire documentation. Use when: building CAP applications, defining CDS models, implementing services, working with SAP HANA/SQLite/PostgreSQL databases, deploying to SAP BTP Cloud Foundry or Kyma, implementing Fiori UIs, handling authorization…

secondsky/sap-skills · 103 tokens