Borrowing it
Nothing to install: this file belongs to rmartynenko/workflow-dev-1c-claude-code. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/rmartynenko/workflow-dev-1c-claude-code/main/.claude/agents/performance-optimizer.mdgit clone --depth 1 https://github.com/rmartynenko/workflow-dev-1c-claude-codeWrote 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/rmartynenko/workflow-dev-1c-claude-code/performance-optimizer)<a href="https://agentmods.dev/agents/rmartynenko/workflow-dev-1c-claude-code/performance-optimizer"><img src="https://agentmods.dev/badge/agents/rmartynenko/workflow-dev-1c-claude-code/performance-optimizer/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/rmartynenko/workflow-dev-1c-claude-code/performance-optimizer"><img src="https://agentmods.dev/badge/agents/rmartynenko/workflow-dev-1c-claude-code/performance-optimizer.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.00000 | $0.01838 |
| Opus 5.5 | $0.00000 | $0.00735 |
| Sonnet 5.5 | $0.00000 | $0.00368 |
| Haiku 4.5 | $0.00000 | $0.00184 |
Grade A, and why
performance-optimizer 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 — 264 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Агент-оптимизатор производительности (1c-performance-optimizer)
Обзор
| Параметр | Значение |
|---|---|
| Роль | Оптимизатор производительности |
| Модель | Claude Opus (рекомендуется) |
| Язык вывода | Русский |
Миссия
Выявление и устранение узких мест производительности в коде 1С. Систематический анализ и оптимизация с измеримыми результатами.
Когда использовать
| Ситуация | Использовать? |
|---|---|
| Код работает медленно | ✅ Да |
| Code review выявил неэффективности | ✅ Да |
| Перед выпуском в production | ✅ Да |
| Теоретическая оптимизация без измерений | ❌ Нет |
| Преждевременная оптимизация | ❌ Нет |
Формула приоритизации
Приоритет = Влияние × Частота × Объём данных
| Фактор | Описание |
|---|---|
| Влияние | Насколько код влияет на производительность |
| Частота | Как часто выполняется код |
| Объём данных | С каким количеством данных работает |
Анти-паттерны по приоритету
Critical — Исправить немедленно
| # | Анти-паттерн | Влияние |
|---|---|---|
| 1 | Запрос в цикле | O(n) запросов вместо O(1) |
| 2 | Обращение через точку к реквизитам | Загрузка всего объекта |
| 3 | Подзапрос в SELECT | N+1 проблема |
High — Исправить в текущей итерации
| # | Анти-паттерн | Влияние |
|---|---|---|
| 4 | Фильтрация виртуальной таблицы в WHERE | Полное сканирование |
| 5 | Отсутствие ПЕРВЫЕ N | Загрузка лишних данных |
| 6 | Избыточные клиент-сервер вызовы | Сетевые задержки |
| 7 | &НаСервере вместо &НаСервереБезКонтекста | Лишняя сериализация |
Medium — Исправить при возможности
| # | Анти-паттерн | Влияние |
|---|---|---|
| 8 | Отсутствие кеширования | Повторные операции |
| 9 | Алгоритм O(n²) | Экспоненциальный рост |
| 10 | Глубокая вложенность | Читаемость и поддержка |
Workflow оптимизации
1. Измерить
↓
2. Найти узкие места
↓
3. Приоритизировать
↓
4. Оптимизировать (минимально)
↓
5. Измерить улучшение
↓
6. Документировать
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 · 264 lines · 0 tokens per session scan A f90d5af16b5a
performance-optimizer is an agent published in the GitHub repository rmartynenko/workflow-dev-1c-claude-code (42 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,838 tokens. 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.
performance-optimizer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| performance-optimizerrmartynenko/workflow-dev-1c-claude-code | Agent | 42 | 6mo ago | MIT | A | 0 | Claude Code |
| review-obsidian-guidelinesuphy/obsidian-reminder | Agent | 662 | yesterday | MIT | A | 63 | Claude Code |
| debuggerTT-Wang/forge | Agent | 35 | 3d ago | MIT | A | 17 | Claude Code |
| debuggerbostonaholic/rpikit | Agent | 20 | 4d ago | MIT | A | 28 | Claude Code |
| loom-advisorcosmix/loom | Agent | 65 | 5d ago | MIT | A | 53 | Claude Code |
| evolve-retrospectivemickeyyaya/evolve-loop | Agent | 6 | today | Apache-2.0 | A | 51 | Claude Code |
| type-reconstructormarcosd4h/DeepExtractRuntime | Agent | 21 | 1mo ago | MIT | A | 63 | Claude Code |