bitrix-logger

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

A guide to logging in Bitrix using PSR-3, a common PHP interface for recording diagnostic messages. It covers file, system, empty, formatted, named, and third-party loggers.

In plain words
What is it for?
Use it to configure Bitrix loggers, write formatted logs, select named system loggers, and connect Monolog or other PSR-3 loggers.
Why use it?
It helps applications record useful diagnostic information without tying every module to one logging implementation.

Skill for Claude CodeCodex

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

Good fit Use it to configure Bitrix loggers, write formatted logs, select named system loggers, and connect Monolog or other PSR-3 loggers.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/bxmaximum/bitrix-framework-skills/bitrix-logger"><img src="https://agentmods.dev/badge/skills/bxmaximum/bitrix-framework-skills/bitrix-logger.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 473 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.00054 $0.00473
Opus 5.5 $0.00022 $0.00189
Sonnet 5.5 $0.00011 $0.00095
Haiku 4.5 $0.00005 $0.00047

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

Security

Grade A, and why

bitrix-logger 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 29d 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-logger/SKILL.md · 35 lines

What it actually says

Логирование (PSR-3)

Baseline: main 23.0+ · Verified: main 26.1000.0

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

Код зависит от Psr\Log\LoggerInterface; реализация выбирается в секции loggers файла .settings.php. AddMessage2Log() — только для совместимости.

Задача Читать
Получить/включить логгер, передать в сервис rules/factory.md
Секция loggers, фабрики, ID логгеров ядра rules/configuration.md
Выбрать реализацию/формат, записать сообщение, Monolog rules/writing.md

Основные правила

  • Бизнес-код получает LoggerInterface; настройка конкретной реализации находится вне сервиса.
  • Секреты и персональные данные не должны попадать в текст, контекст, заголовки и URL журналов.
  • HTTP-трафик по умолчанию не записывается. Безопасная локальная диагностика: bitrix-http-client → rules/config-security.md.

Проверка

  • Сервисы получают LoggerInterface (по умолчанию NullLogger), без new FileLogger() внутри бизнес-логики.
  • ID логгеров имеют префикс модуля; при LoggerFactory включены через LoggerRegistry.
  • Файлы журналов находятся вне DOCUMENT_ROOT, задан размер ротации.
  • Сообщения и контекст не содержат паролей, токенов и персональных данных.
  • При JsonLinesFormatter текст сообщения добавлен в контекст.
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. 29d ago Changed · -73 lines · -6 tokens per session 4e6cf2b41af1
  2. 2mo ago Changed · -127 lines · -69 tokens per session 901763c65694
  3. 3mo ago First seen · 235 lines · 129 tokens per session scan A 4ae52a436c3e

Subscribe to this mod's changes

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

bitrix-logger next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bitrix-loggerbxmaximum/bitrix-framework-skillsSkill822d agoMITA54Claude Code, Codex
roblox-performanceTabooHarmony/roblox-brainSkill2392d agoMITA30Claude Code
roblox-debuggingTabooHarmony/roblox-brainSkill2392d agoMITA38Claude Code
roblox-luauTabooHarmony/roblox-brainSkill2392d agoMITA36Claude Code
bug-diagnosisborghei/Claude-SkillsSkill1.3kyesterdaynoneA67Claude Code
incident-responderreatlat/fullstory-claude-pluginSkill341mo agoMITA45Claude Code
chaos-engineeringborghei/Claude-SkillsSkill1.3kyesterdaynoneA56Claude Code