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.
npx skills add bxmaximum/bitrix-framework-skills --skill bitrix-filesgit clone --depth 1 https://github.com/bxmaximum/bitrix-framework-skillsWrote 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.
[](https://agentmods.dev/skills/bxmaximum/bitrix-framework-skills/bitrix-files)<a href="https://agentmods.dev/skills/bxmaximum/bitrix-framework-skills/bitrix-files"><img src="https://agentmods.dev/badge/skills/bxmaximum/bitrix-framework-skills/bitrix-files/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.
<a href="https://agentmods.dev/skills/bxmaximum/bitrix-framework-skills/bitrix-files"><img src="https://agentmods.dev/badge/skills/bxmaximum/bitrix-framework-skills/bitrix-files.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00051 | $0.00574 |
| Opus 5.5 | $0.00020 | $0.00230 |
| Sonnet 5.5 | $0.00010 | $0.00115 |
| Haiku 4.5 | $0.00005 | $0.00057 |
Grade A, and why
bitrix-files 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.
What it actually says
Файлы Битрикс
Baseline: main 23.0+ · Verified: main 26.1000.0, ui 26.700.0
Перед PHP-кодом прочитай bitrix-framework, если ещё не читал его в этой задаче. По таблице открой только нужный файл правил.
| Задача | Читать |
|---|---|
Сохранение, чтение, уменьшение, удаление; b_file, облака, замена содержимого с сохранением ID |
rules/storage.md |
Загрузка в своё действие: проверки, MIME, старый main.file.input |
rules/uploads.md |
| Административное поле FileInput, временная загрузка и сохранение формы | rules/file-input.md |
Серверная часть ui.uploader: UploaderController, закрепление временных файлов |
rules/ui-uploader.md |
Выдача: BFile, приватные файлы, просмотрщик |
rules/delivery.md |
JS-виджеты ui.uploader, ui.viewer: bitrix-ui. Настройки загрузчика в .settings.php: bitrix-settings. Файловые поля: bitrix-iblocks, bitrix-highloadblock.
Общие правила
- Записывай
b_fileтолько черезCFile.FileTable— только чтение:add/update/deleteбросаютNotImplementedException. Храни ID файла, а не путь. - URL:
CFile::GetFileArray()['SRC']илиCFile::GetPath(); локальное содержимое:CFile::MakeFileArray($id)['tmp_name']. Не склеивай/upload/+SUBDIR: облака, опцияupload_dirи замены ломают такой путь. - Имя, MIME и размер клиента недостоверны: разрешай конкретные расширения, определяй MIME по содержимому, декодируй изображения.
- Не передавай пользовательский ввод в
CFile::MakeFileArray(): метод читает локальные пути, ID b_file и URL. - Всё внутри
/upload/доступно по URL. Приватные файлы выдавай действием с проверкой прав. CFile::Delete()удаляет физический файл и кеш уменьшенных копий без возможности отмены.
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.
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.
- 26d ago Changed · +3 lines · -8 tokens per session 7e1b21922b2a
- 2mo ago First seen · 27 lines · 59 tokens per session scan A dc1df8d8eb16
bitrix-files is a skill published in the GitHub repository bxmaximum/bitrix-framework-skills (75 stars, last pushed 13d ago), licensed MIT. It adds 51 tokens to every session and 574 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-10-01.
bitrix-files compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| bitrix-filesbxmaximum/bitrix-framework-skills | Skill | 75 | 13d ago | MIT | A | 51 | Claude Code, Codex |
| n8n-architectEtienneLescot/n8n-as-code | Skill | 1.7k | 2d ago | MIT | A | 52 | Claude Code, Codex |
| roblox-cloudTabooHarmony/roblox-brain | Skill | 229 | today | MIT | A | 38 | Claude Code |
| webhook-healthreatlat/fullstory-claude-plugin | Skill | 34 | 1mo ago | MIT | A | 38 | Claude Code |
| api-monitorreatlat/fullstory-claude-plugin | Skill | 34 | 1mo ago | MIT | A | 45 | Claude Code |
| bitrixPoliklot/bitrix-agent-skill | Skill | 22 | 29d ago | MIT | A | 267 | Codex |
| cto-advisorborghei/Claude-Skills | Skill | 1.2k | 6d ago | none | A | 36 | Claude Code |