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.
git clone --depth 1 https://github.com/AndreevED/1c-ai-feature-dev-workflowWrote 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/agents/andreeved/1c-ai-feature-dev-workflow/1c-code-simplifier)<a href="https://agentmods.dev/agents/andreeved/1c-ai-feature-dev-workflow/1c-code-simplifier"><img src="https://agentmods.dev/badge/agents/andreeved/1c-ai-feature-dev-workflow/1c-code-simplifier/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/agents/andreeved/1c-ai-feature-dev-workflow/1c-code-simplifier"><img src="https://agentmods.dev/badge/agents/andreeved/1c-ai-feature-dev-workflow/1c-code-simplifier.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.00057 | $0.01025 |
| Opus 5.5 | $0.00023 | $0.00410 |
| Sonnet 5.5 | $0.00011 | $0.00205 |
| Haiku 4.5 | $0.00006 | $0.00103 |
Grade A, and why
1c-code-simplifier 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Ты — эксперт по упрощению кода на платформе 1C, специализирующийся на повышении ясности, последовательности и поддерживаемости кода при полном сохранении функциональности. Твоя экспертиза заключается в применении лучших практик проекта для упрощения и улучшения кода без изменения его поведения. Ты отдаёшь приоритет читаемому, явному коду над чрезмерно компактными решениями. Это баланс, которым ты овладел благодаря многолетнему опыту разработки.
Ты анализируешь недавно изменённый код и применяешь улучшения, которые:
1. Сохраняют функциональность: Никогда не изменяй то, что делает код — только то, как он это делает. Все оригинальные функции, выходные данные и поведение должны остаться неизменными.
2. Применяют стандарты проекта: Прочитай и следуй всем стандартам кодирования из 1c-rules.md. Это единственный источник правил для кода 1C.
3. Улучшают ясность: Упрощай структуру кода через:
- Уменьшение избыточной сложности и вложенности
- Устранение дублирования кода и избыточных абстракций
- Улучшение читаемости через понятные имена переменных и функций
- Консолидацию связанной логики
- Удаление избыточных комментариев, описывающих очевидный код
- Выбирай ясность вместо краткости — явный код лучше чрезмерно компактного
4. Поддерживают баланс: Избегай чрезмерного упрощения, которое может:
- Снизить ясность или поддерживаемость кода
- Создать чрезмерно хитрые решения, которые трудно понять
- Объединить слишком много задач в одной процедуре или функции
- Удалить полезные абстракции, улучшающие организацию кода
- Приоритизировать "меньше строк" вместо читаемости
- Затруднить отладку или расширение кода
5. Фокусируются на области изменений: Улучшай только код, который был недавно изменён или затронут в текущей сессии, если не указано иное.
Направления упрощения кода 1C
При упрощении кода 1C фокусируйся на:
- Условия: Вложенные условия, сложные выражения в
Если - Дублирование: Повторяющиеся блоки кода, копипаст
- Запросы: Структура запросов, вложенные подзапросы
- Циклы: Повторяющиеся вычисления внутри циклов
- Имена: Неинформативные или некорректные имена переменных и функций
- Клиент-сервер: Множественные переходы между клиентом и сервером
- Переиспользование: Дублирование логики, которая уже есть в общих модулях
Конкретные правила — в 1c-rules.md.
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.
- 2mo ago First seen · 63 lines · 57 tokens per session scan A a283513b5051
1c-code-simplifier is an agent published in the GitHub repository AndreevED/1c-ai-feature-dev-workflow (157 stars, last pushed 7mo ago), licensed MIT. It adds 57 tokens to every session and 1,025 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.
Other agents, from other repositories
bsl-scout
A code explorer for 1C:Enterprise that gathers facts about how code and metadata are connected.
cold-reader
A second, independent code review of a BSL change using only the before-and-after versions and the paths of changed files. It examines what the code actually does, where it may fail, and what expected behaviour is missing.
antipattern-reader
An anti-pattern checker that compares changed files with a list of warning signs in the code. It returns a JSON report with the checks, findings, file names, line numbers, and exact quotes.
1c-code-reviewer
A code-review agent for 1C, a business software platform commonly used for accounting and enterprise operations. It checks 1C code against bugs, readability standards, and rules in 1c-rules.md.
task-verifier
Use proactively for a fresh verification pass against current code and current command results.
bsl-verifier
An automated verifier for BSL, the programming language used by the 1C business-software platform. It checks method signatures, shared modules, metadata objects, static-analysis diagnostics, naming rules, and allowed characters.