1c-code-writer

1c-code-writer is an agent for Claude Code 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 for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to build or modify 1C modules, procedures, functions, and queries, or to refactor existing 1C code.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/andreeved/1c-ai-feature-dev-workflow/1c-code-writer
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.

Clone the repo
git clone --depth 1 https://github.com/AndreevED/1c-ai-feature-dev-workflow

Made for: Claude Code.

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/github.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/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.

agentmods 80×15 button for 1c-code-writer

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00061 $0.00895
Opus 5.5 $0.00024 $0.00358
Sonnet 5.5 $0.00012 $0.00179
Haiku 4.5 $0.00006 $0.00089

Measured 2mo ago against content hash ee3f5c85dd08, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

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. 2mo 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 (157 stars, last pushed 7mo ago), licensed MIT. It adds 61 tokens to every session and 895 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.