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.
npx skills add Desko77/claude-code-skills-1c --skill kd2-rulesgit clone --depth 1 https://github.com/Desko77/claude-code-skills-1cWrote 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/skills/desko77/claude-code-skills-1c/kd2-rules)<a href="https://agentmods.dev/skills/desko77/claude-code-skills-1c/kd2-rules"><img src="https://agentmods.dev/badge/skills/desko77/claude-code-skills-1c/kd2-rules.svg" alt="Measured on agentmods" 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.00280 | $0.03212 |
| Opus 5 | $0.00140 | $0.01606 |
| Sonnet 5 | $0.00056 | $0.00642 |
| Haiku 4.5 | $0.00028 | $0.00321 |
Grade A, and why
kd2-rules 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 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl http://localhost:7003/health This is a copy
88% identical to kd2-rules — 155 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 219 lines — stays where its author put it; the contents beside it link to each section on GitHub.
KD 2.0 - правила обмена через MCP-toolkit
Скилл описывает, как агент создает/изменяет правила обмена в живой ИБ
"Конвертация данных 2.1" (КД 2.0) через MCP-toolkit HTTP API (порт по
умолчанию 6003, в проектах часто 7003) и в финале выгружает XML
штатными обработками КД.
Что такое КД 2.0
- Конфигурация фирмы "1С", v2.1.8.2, обычные формы, режим совместимости 8.2.13. Программа для разработки правил обмена данными между парами конфигураций (например, БП КОРП -> УПП, УТ -> ERP).
- Результат работы в КД - XML с правилами, который грузится в "Универсальный обмен данными в формате XML" в конфигурации-источнике.
- Все правила хранятся в справочниках самой КД:
Конвертации,ПравилаКонвертацииОбъектов,ПравилаКонвертацииСвойств,ПравилаКонвертацииЗначений,ПравилаВыгрузкиДанных,ПравилаОчисткиДанных,ПравилаРегистрацииОбъектов, плюсКонфигурации/Объекты/Свойства/Значения(теневая модель метаданных источника и приемника).
Архитектура работы
Claude (агент)
↕ MCP-протокол / прямые tool-вызовы
Скилл kd2-rules
↕ HTTP POST :6003/api/* (или :7003 если переопределен порт)
MCP-toolkit (обработка MCP_Toolkit.epf в живой ИБ)
↕ внутрипроцессно
ИБ КД 2.0
↕ через ВыгрузкаКонвертации.ВыполнитьВыгрузкуПравил()
Файл XML с правилами обмена
Низкоуровневый транспорт - MCP-toolkit (скилл 1c-mcp-toolkit). Главные
эндпоинты, которые используются здесь:
POST /api/execute_query- читать справочники КД и их связи.POST /api/execute_code- создавать/изменять элементы справочников, запускать экспортные методы обработок.GET /api/health- проверка живости.
Предварительные требования
- Запущенная ИБ КД 2.0 в тонком/толстом клиенте с открытой обработкой
MCP_Toolkit.epf(см. скилл1c-mcp-toolkit). HTTP-сервер слушаетlocalhost:6003(или:7003по настройке). - В форме toolkit-а проверить и при необходимости снять защиту от записи:
снять флажки на ключевые слова
Записать,Удалить,УстановитьПривилегированныйРежим. Без этого работают толькоexecute_queryи read-only вызовы. - Желательно тестовая копия ИБ КД, а не production - правила пишутся напрямую в справочники.
What ships with it
6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 4d ago First seen · 219 lines · 280 tokens per session scan A 6244e497b83e
kd2-rules is a skill published in the GitHub repository Desko77/claude-code-skills-1c (56 stars, last pushed 5d ago), licensed MIT. It adds 280 tokens to every session and 3,212 once invoked, about $0.0014 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 88% identical to kd2-rules, differing in 155 lines, and is treated as a copy.
Other skills, from other repositories
composing-1c-queries
A guide to writing queries in the 1C:Enterprise query language, which reads and combines data from a 1C configuration. It requires checking the configuration's actual metadata before writing a query.
lmstudio-api
A reference for controlling LM Studio through its HTTP API. LM Studio is a local server for running AI models, and the guide covers checking, loading, unloading, and configuring models.
1c-bsp-api
An offline reference for the programming interface of 1C’s Standard Subsystems Library (БСП), listing its shared modules, exported methods, parameters, types, and execution contexts. It covers versions 3.1.11 and 3.2.1 and is queried when needed.
kd2-rules
A skill for creating and editing data-exchange rules in the 1C Data Conversion 2.0 application through an HTTP toolkit. It exports the resulting rules as XML for use in another 1C configuration.
1c-xdto-compile
A builder that creates a 1C XDTO package from an XML Schema (XSD). XDTO packages describe XML data structures used for integrations, web services, and external XML formats.
1c-xdto-decompile
A converter that turns a 1C XDTO package into a readable, editable XML Schema (XSD) file. XDTO is 1C's format for describing XML data used in integrations.