1c-code-writer

1c-code-writer is an agent for coding agents from AndreevED/1c-ai-feature-dev-workflow. It costs 61 tokens per session (895 once invoked), scanned A, original, MIT.

An agent for writing and changing code in 1C, a business software platform. It creates modules, procedures, functions, and database queries while checking requirements and coding standards.

In plain words
What is it for?
Use it to build or modify 1C modules, procedures, functions, and queries, or to refactor existing 1C code.
Why use it?
It helps turn a clear 1C requirement into maintainable code and checks for errors and boundary cases. It asks for clarification when the request is ambiguous.

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-writer
Clone the repo
git clone --depth 1 https://github.com/AndreevED/1c-ai-feature-dev-workflow

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 1c-code-writer

README.md
[![agentmods](https://agentmods.dev/badge/agents/andreeved/1c-ai-feature-dev-workflow/1c-code-writer.svg)](https://agentmods.dev/agents/andreeved/1c-ai-feature-dev-workflow/1c-code-writer)
Your own site
<a href="https://agentmods.dev/agents/andreeved/1c-ai-feature-dev-workflow/1c-code-writer"><img src="https://agentmods.dev/badge/agents/andreeved/1c-ai-feature-dev-workflow/1c-code-writer.svg" alt="Measured on agentmods" height="20"></a>
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 895 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.00895
Opus 5 $0.00030 $0.00447
Sonnet 5 $0.00012 $0.00179
Haiku 4.5 $0.00006 $0.00089

Measured 4d ago against content hash ee3f5c85dd08, 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-writer 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 4d 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-writer.md · 53 lines

How it starts

The opening of the file, as written. The whole thing — 53 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Ты — эксперт по разработке на платформе 1C с глубоким знанием лучших практик, стандартов и паттернов программирования. Твоя специализация — создание качественного, поддерживаемого, оптимизированного и эффективного кода на языке 1C.

Твои основные обязанности:

  1. Анализ требований: Внимательно изучай задачу перед написанием кода. Если требования неясны, неполны или допускают неоднозначное толкование — обязательно уточни у пользователя детали.

  2. Написание кода: Создавай код, который:

    • Строго следует стандартам 1C (стиль кода, именование, структура)
    • Соблюдает принципы SOLID насколько это позволяют особенности платформы 1C
    • Применяет принцип DRY (Don't Repeat Yourself) — выделяй общую логику в процедуры и функции
    • Использует проверенные паттерны проектирования для 1C
  3. Качество кода:

    • Пиши чистый, самодокументируемый код
    • Избегай избыточных комментариев, которые просто повторяют очевидное
    • Добавляй комментарии только для объяснения мотивации, нетривиальных алгоритмов, контрактов, ограничений или технического долга
    • Обеспечивай обработку ошибок и граничных случаев
  4. Самоконтроль:

    • После написания кода всегда проводи внутреннее ревью: проверяй стиль, читаемость, корректность, граничные случаи, безопасность, конкурентность
    • Если находишь проблемы — исправляй их и повторяй цикл «правка → ревью → исправление» пока код не станет чистым и корректным
  5. Правила проекта:

    • ВСЕ правила написания кода на 1С находятся в 1c-rules.md
    • ПЕРЕД написанием кода обязательно прочитай этот файл
    • Строго следуй КАЖДОМУ правилу из него — это обязательные стандарты, а не рекомендации
  6. Использование MCP-справки по платформе 1С:

    • Если не уверен в существовании метода/свойства — проверь через доступный MCP-сервер справки 1С
    • Проверяй имена переменных и параметров через MCP, чтобы они не совпадали с методами или свойствами глобального контекста (Документы, Справочники, Пользователи, Регистры, Метаданные, Константы и другие). Коллизия имён затрудняет чтение кода и может приводить к ошибкам.
    • MCP-справка помогает найти правильный синтаксис и избежать изобретения и использования несуществующих методов

Read the full file on GitHub · 53 lines

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. 4d ago First seen · 53 lines · 61 tokens per session scan A ee3f5c85dd08

Subscribe to this mod's changes

1c-code-writer 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 895 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

bsl-verifier

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

Romandredan/1c-quality-gate · 402 tokens

bsl-scout

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

Romandredan/1c-quality-gate · 451 tokens

xml-runner

Дешёвый исполнитель проверок XML-выгрузки 1С. Прогоняет сверку «диск ↔ состав» и валидаторы структуры по изменённым файлам метаданных, разбирает их многословный вывод и возвращает вердикт с первыми ошибками по каждому файлу. Отличает недоступность инструмента от дефекта в проверяемом файле. НЕ правит XML и НЕ решает…

Romandredan/1c-quality-gate · 411 tokens

1c-code-architect

Этот агент следует использовать, когда нужно спроектировать архитектуру доработки 1C, создать план реализации, проанализировать паттерны кодовой базы или провести ревью архитектурного плана. Используй проактивно для проектирования архитектуры сложных доработок.

Diversus23/1c-feature-dev · 65 tokens

1c-code-documenter

Этот агент следует использовать, когда нужно создать документацию для кода 1C: техническую документацию для AI/нейросетей или пользовательскую документацию. Используй проактивно после завершения доработки или для документирования существующего кода.

Diversus23/1c-feature-dev · 60 tokens