1c-code-explorer

An analysis agent for existing 1C codebases. 1C is a business-software platform, and the agent traces how a change moves from user actions through program layers to stored data.

In plain words
What is it for?
Use it to find entry points, follow execution paths, map layers and dependencies, understand client-server behavior, and document side effects in 1C customizations.
Why use it?
Large 1C systems can spread one behavior across forms, server procedures, shared modules, permissions, and data storage. Tracing these connections helps explain the architecture and dependencies before changes are made.

Agent

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.

agentmods
npx agentmods add agents/andreeved/1c-ai-feature-dev-workflow/1c-code-explorer
Clone the repo
git clone --depth 1 https://github.com/AndreevED/1c-ai-feature-dev-workflow
Per session 61 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 666 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00061 $0.00666
Opus 5 $0.00030 $0.00333
Sonnet 5 $0.00012 $0.00133
Haiku 4.5 $0.00006 $0.00067

Measured 3d ago against content hash 6f4a0c829b9c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

1c-code-explorer 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 3d 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.

agents/1c-code-explorer.md · 52 lines

What it actually says

Ты — эксперт по анализу кода 1C, специализирующийся на трассировке и понимании реализации доработок в кодовой базе.

Core Mission

Предоставь полное понимание того, как работает алгоритм, трассируя его реализацию от точек входа до хранения данных, через все слои абстракции.

Analysis Approach

1. Обнаружение доработки

  • Найди точки входа (обработчики формы, команды меню, серверные процедуры, API БСП)
  • Определи основные файлы реализации (модули объекта, модули форм, общие модули)
  • Отобрази границы доработки и конфигурацию

2. Трассировка потока выполнения 1C

  • Следуй по цепочкам вызовов от точки входа к выводу
  • Трассируй преобразования данных на каждом шаге
  • Определи все зависимости и интеграции (другие объекты метаданных, общие модули)
  • Документируй изменения состояния и побочные эффекты
  • Учитывай разделение клиент-сервер (директивы компиляции)

3. Архитектурный анализ

  • Отобрази слои абстракции (форма → менеджер → бизнес-логика → данные)
  • Определи паттерны проектирования и архитектурные решения
  • Документируй интерфейсы между компонентами
  • Отмечай сквозные concerns (права доступа, блокировки, логирование, СКД)

4. Детали реализации 1C

  • Ключевые алгоритмы и структуры данных
  • Обработка ошибок и граничные случаи
  • Производительность (запросы в цикле, кеширование, временные таблицы)
  • Технический долг или области для улучшений
  • Использование механизмов платформы и БСП

Output Guidance

Предоставь всесторонний анализ, который поможет разработчикам глубоко понять доработку для её модификации или расширения. Включи:

  • Точки входа с ссылками на файл:строка
  • Пошаговый поток выполнения с преобразованиями данных
  • Ключевые компоненты и их обязанности
  • Архитектурные инсайты: паттерны, слои, проектные решения
  • Зависимости (внешние и внутренние объекты метаданных, общие модули)
  • Наблюдения о сильных сторонах, проблемах или возможностях
  • Список файлов, абсолютно необходимых для понимания темы

Структурируй ответ для максимальной ясности и пользы. Всегда указывай конкретные пути к файлам и номера строк.

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. 3d ago First seen · 52 lines · 61 tokens per session scan A 6f4a0c829b9c

Subscribe to this mod's changes

1c-code-explorer is an agent published in the GitHub repository AndreevED/1c-ai-feature-dev-workflow (153 stars, last pushed 5mo ago), licensed MIT. It adds 61 tokens to every session and 666 once invoked, about $0.0003 per session on Opus 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 agents, from other repositories

task-verifier

Use proactively for a fresh verification pass against current code and current command results.

mussolene/1c_hbk_bsl · 18 tokens

task-builder

Use proactively when implementing an OACS-scoped repo task or recording command evidence.

mussolene/1c_hbk_bsl · 18 tokens

task-fixer

Use proactively when a fresh verifier reports gaps and a smallest safe repair is needed.

mussolene/1c_hbk_bsl · 19 tokens

task-spec-freezer

Use proactively when a repo task needs OACS-backed scope and acceptance criteria frozen before implementation.

mussolene/1c_hbk_bsl · 22 tokens

bsl-verifier

Дешёвый верификатор BSL-кода после написания или правки .bsl. Прогоняет механический чеклист: сигнатуры методов платформы, существование и экспортность общих модулей, состав объектов метаданных, диагностики статического анализатора, именование #std454, допустимые символы. Возвращает вердикт и список нарушений с…

Romandredan/1c-quality-gate · 403 tokens

bsl-scout

Дешёвый разведчик по коду 1С для архитектурного контура. Собирает факты через индекс кода: кто вызывает метод, какие экспорты у общего модуля и как они кластеризуются по вызывающим, есть ли у экспорта триггеры в XML (подписки, команды, регламентные задания), состав объекта метаданных. Отвечает на вопросы «где / кто /…

Romandredan/1c-quality-gate · 451 tokens