elemctl: Instructions file for Claude Code

CLAUDE.md

elemctl CLAUDE.md is an instructions file for Claude Code from keyfire/elemctl. It costs 1,856 tokens per session, scanned A, original, MIT.

Repository-specific instructions for elemctl, a command-line tool, MCP server, and Python library for controlling the 1C:Enterprise Element Console API. They describe how code, comments, user messages, and documentation should be written.

In plain words
What is it for?
Use them when editing elemctl source code, tests, tools, editors, documentation, help text, or user-facing messages. They guide English technical text and the places where Russian is required.
Why use it?
They prevent contributors from using inconsistent languages, typography, names, or translations. They also clarify which Russian terms are official platform identifiers and must stay unchanged.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions AGENTS.md.

This is keyfire/elemctl's own configuration. It tells Claude Code how to work on elemctl itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything elemctl configures →

Reuse

Borrowing it

Nothing to install: this file belongs to keyfire/elemctl. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/keyfire/elemctl/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/keyfire/elemctl

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 elemctl CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/keyfire/elemctl/claude-md/github.svg)](https://agentmods.dev/instructions/keyfire/elemctl/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/keyfire/elemctl/claude-md"><img src="https://agentmods.dev/badge/instructions/keyfire/elemctl/claude-md/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 elemctl CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/keyfire/elemctl/claude-md"><img src="https://agentmods.dev/badge/instructions/keyfire/elemctl/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,856 This file is loaded in full into every session.
When invoked 1,856 The same file — it is already loaded in full.
Security scan A 1 finding. 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.01856 $0.01856
Opus 5.5 $0.00742 $0.00742
Sonnet 5.5 $0.00371 $0.00371
Haiku 4.5 $0.00186 $0.00186

Measured 10d ago against content hash 7fe6d4bc0329, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

elemctl CLAUDE.md scanned grade A with 1 finding 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 10d 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

Specify `stdin=subprocess.DEVNULL` for child processes. In an MCP server,
CLAUDE.md · 164 lines

How it starts

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

Repository conventions

elemctl is a public, international project: a CLI, an MCP server and a Python library for the 1C:Enterprise.Element Console API v2. The implemented contract is documented in docs/SPEC.md, with a Russian edition in docs/SPEC.ru.md. This file records how the repository itself is written.

Documentation style

For documentation changes, follow the Documentation instructions in AGENTS.md, including automatic use of tooling-docs-writing.

Language of the code

  • Code is English. Comments, docstrings, identifiers, test names – all of them, in src/, tests/, tools/ and editors/. The code is read by people who do not speak Russian.
  • Russian stays where it faces the user: the i18n message catalog (src/elemctl/i18n.py), argparse help strings, user-facing strings, the MCP tool descriptions and the server INSTRUCTIONS literal. An agent reads those in Russian.
  • 1C:Element identifiers are quoted as they are: Проект.yaml, Ресурсы, Имя, Поставщик, ВидПроекта, ОбластьВидимости and the like are real keys and file names, so do not translate them. The same goes for the Russian data of test fixtures.

Typography

Applies to English text as well:

  • dashes – en dash – (U+2013) only, never an em dash;
  • quotes – straight " and ', never guillemets or curly quotes;
  • ellipsis – three dots ..., never the … character.

Russian without borrowed words

Use the Russian equivalents listed in the docsguard dictionary rather than transliterated terms such as пин or прогон. The repository declares the checked documents in scripts/check_docs.py: pages under docs/ are selected by pattern; the README, changelog and this file are listed explicitly.

Format terms discussed as terms in backticks. The check excludes inline code, fenced blocks, link targets and file names. Exact command captions should also use inline-code formatting.

Nothing internal

Read the full file on GitHub · 164 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. 10d ago Changed · -20 lines · -804 tokens per session 7fe6d4bc0329
  2. 1mo ago Changed · +49 lines · +776 tokens per session 4e5b6de2f54f
  3. 1mo ago Changed · +78 lines · +1,181 tokens per session b773e815340e
  4. 2mo ago First seen · 57 lines · 703 tokens per session scan A dba20c006588

Subscribe to this mod's changes

elemctl CLAUDE.md is an instructions file published in the GitHub repository keyfire/elemctl (10 stars, last pushed yesterday), licensed MIT. It adds 1,856 tokens to every session, about $0.0074 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

elemctl CLAUDE.md compared with instructions from other repositories

elemctl CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
elemctl CLAUDE.mdkeyfire/elemctlInstructions file10yesterdayMITA1,856Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file275k2d agoMITA4,313Codex, OpenCode