1c-skd-decompile

1c-skd-decompile is a skill for Claude Code, Codex from Desko77/cursor-1c-skills. It costs 66 tokens per session (1,386 once invoked), scanned A, a copy of 1c-skd-decompile, MIT.

A converter that turns a 1C data-composition schema from XML into a JSON draft. The schema is the definition used to build configurable reports.

In plain words
What is it for?
Use it to decompile a Template.xml file before inspecting or editing it as JSON.
Why use it?
It gives you a compact, editable representation of a large XML report definition, while marking parts that may need review.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to decompile a Template.xml file before inspecting or editing it as JSON.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/desko77/cursor-1c-skills/1c-skd-decompile
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.

Any agent
npx skills add Desko77/cursor-1c-skills --skill 1c-skd-decompile
Clone the repo
git clone --depth 1 https://github.com/Desko77/cursor-1c-skills

Made for: Claude Code, Codex.

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-skd-decompile

README.md
[![agentmods](https://agentmods.dev/badge/skills/desko77/cursor-1c-skills/1c-skd-decompile/github.svg)](https://agentmods.dev/skills/desko77/cursor-1c-skills/1c-skd-decompile)
Your own site
<a href="https://agentmods.dev/skills/desko77/cursor-1c-skills/1c-skd-decompile"><img src="https://agentmods.dev/badge/skills/desko77/cursor-1c-skills/1c-skd-decompile/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-skd-decompile

Your own site · 80×15
<a href="https://agentmods.dev/skills/desko77/cursor-1c-skills/1c-skd-decompile"><img src="https://agentmods.dev/badge/skills/desko77/cursor-1c-skills/1c-skd-decompile.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,386 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium analysis-evasion · line 1
    Suspicious Unicode normalization or mixed-script content
    Fix: Review the flagged content for security risks. Ensure no credentials, secrets, or sensitive data are exposed.
How audits are shown
Origin 86% copy Near-identical to another mod 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.00066 $0.01386
Opus 5 $0.00033 $0.00693
Sonnet 5 $0.00013 $0.00277
Haiku 4.5 $0.00007 $0.00139

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

Security

Grade A, and why

1c-skd-decompile 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 7d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/skd-decompile.ps1, scripts/skd-decompile.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Origin

This is a copy

86% identical to 1c-skd-decompile — 25 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.

skills/1c-skd-decompile/SKILL.md · 78 lines

How it starts

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

/skd-decompile - Декомпилятор СКД в JSON DSL

Принимает XML схемы компоновки данных (корневой элемент DataCompositionSchema; в выгрузке EDT/Конфигуратора это обычно Template.xml макета) и генерирует JSON-черновик в формате DSL скила /skd-compile. Обратная операция к /skd-compile.

ВАЖНО: результат - ЧЕРНОВИК, не гарантированный lossless round-trip. Перед компиляцией через /skd-compile обязательно просмотреть JSON и разрешить все маркеры _todo.

Использование

/skd-decompile <Template.xml> [output.json]

Команда

powershell.exe -NoProfile -File skills/1c-skd-decompile/scripts/skd-decompile.ps1 -InputFile "<путь>/Template.xml" [-OutputFile "<путь>.skd.json"]

Параметры

Параметр Обязательный Описание
InputFile да Путь к XML СКД. Имя файла любое - проверяется только корневой элемент DataCompositionSchema
OutputFile нет Путь для JSON. По умолчанию рядом с входным: <имя>.skd.json

Коды возврата

Код Условие
0 Успех (в том числе с предупреждениями _todo)
1 Ошибка: файл не найден, XML не парсится, корень не DataCompositionSchema
2 Неверные аргументы (python-версия, argparse)

Рабочий процесс

  1. /skd-decompile - получить JSON-черновик из существующей СКД
  2. Просмотреть черновик, разрешить каждый _todo (вручную или моделью)
  3. Править JSON под задачу (новые поля, варианты, параметры)
  4. /skd-compile - собрать новый Template.xml
  5. /skd-validate и /skd-info - проверить результат

Легитимные сценарии: заготовка нового отчета на основе существующего как шаблона; структурный рефакторинг полей/вариантов. Для точечной правки одного отчета лучше /skd-edit - полный цикл переписывает весь макет.

Ограничения - черновик и маркеры _todo

  • Конструкции XML, которые наш DSL не выражает, помечаются ключом "_todo" (массив строк-пояснений) на уровне соответствующего элемента JSON или корня. Каждая помета дублируется предупреждением в stderr.
  • Перед скармливанием /skd-compile разрешить каждый _todo: перенести смысл в поддерживаемую форму или сознательно удалить (компилятор упадет на объектах-заглушках, состоящих из одного _todo).
  • В _todo уходят (не полный список): составные типы значений и TypeSet, папки полей (DataSetFieldFolder), вложенные схемы (nestedSchema), условия выбора макета (templateCondition), ячейки-картинки, привязки макета к полю (fieldTemplate), пользовательские поля вариантов (userFields), scope условного оформления, GroupItemAuto в группировках, неизвестные типы элементов структуры/отбора/выборки.
  • Молчаливые упрощения (без _todo на каждом узле): userSettingID структурных элементов отбрасываются (одна сводная помета в корне), userSettingID отборов в shorthand-форме заменяются флагом @user (при компиляции сгенерируется новый GUID), стиль ячеек макета подбирается эвристикой по 4 встроенным пресетам (header/data/subheader/total), ширины и высота макета читаются только из первой строки.
  • dataParameters всегда выводятся явным массивом (свертка в "auto" не выполняется).
  • Схема без единого dataSet декомпилируется, но помечается в корне: /skd-compile требует минимум один набор данных.
  • py-версия строит глобальную карту namespace-префиксов документа (первое объявление префикса побеждает). На XML, где один и тот же префикс переиспользован с разными URI на разных уровнях (встречается у .NET-сериализаторов), возможен неверный резолвинг типов - для таких файлов используй ps1-версию (контекстный резолвинг по месту).

Read the full file on GitHub · 78 lines

Files

What ships with it

2 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.

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. 7d ago First seen · 78 lines · 66 tokens per session scan A aa19da56a9b8

Subscribe to this mod's changes

1c-skd-decompile is a skill published in the GitHub repository Desko77/cursor-1c-skills (57 stars, last pushed today), licensed MIT. It adds 66 tokens to every session and 1,386 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 86% identical to 1c-skd-decompile, differing in 25 lines, and is treated as a copy.