Agent skill

Meta Decompile

by Nikolay-Shirokov in Nikolay-Shirokov/cc-1c-skills

Декомпиляция объекта метаданных 1С в JSON-заготовку формата meta-compile.

MITAuto-check: notes

Install Meta Decompile

skills CLI
$ npx skills add Nikolay-Shirokov/cc-1c-skills --skill meta-decompile -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Nikolay-Shirokov/cc-1c-skills meta-decompile --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Nikolay-Shirokov/cc-1c-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/meta-decompile .claude/skills/meta-decompile && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
meta-decompile
GitHub stars
671
Token cost
~766 tokens
SKILL.md length
303 words
Files
3 (incl. scripts)
Skills in repo
81
Repo updated
First seen
Licence
MIT

At a glance

Декомпиляция объекта метаданных 1С в JSON-заготовку формата meta-compile.

  • Works in 5 steps: /meta-decompile <Образец.xml>… → В draft.json сменить name на имя нового… → /meta-compile -JsonPath draft.json… → …
  • SKILL.md covers ⚠️ Главное: это НЕ обратимая…, Когда использовать, Когда не использовать and Параметры, plus 1 more section
  • Runs PowerShell and Python scripts from its folder

What it does

Meta Decompile is an agent skill from Nikolay-Shirokov/cc-1c-skills. Декомпиляция объекта метаданных 1С в JSON-заготовку формата meta-compile. Используй когда нужно получить черновик DSL-описания нового объекта по образцу другого. Не сохраняет UUID/модули/формы.

Its SKILL.md is about 770 tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including scripts (for example `scripts/meta-decompile.py`).

The repository describes itself as: Набор навыков для AI(ИИ)-агентов (Claude Code, Cursor, Codex и др.), помогающий охватить полный цикл разработки на платформе 1С:Предприятие 8.3. Даёт модели абстракции над… The licence is MIT.

Example prompts

  • “/meta-decompile”

Requirements

  • Python 3
  • PowerShell
  • Pre-approved tools (allowed-tools): Bash, Read, Write, Glob

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. /meta-decompile <Образец.xml> -OutputPath draft.json — получить заготовку.
  2. В draft.json сменить name на имя нового объекта и адаптировать состав (реквизиты/ТЧ/свойства). Ссылки на другие объекты (владельцы, ввод…
  3. /meta-compile -JsonPath draft.json -OutputDir — собрать (объект получит свежие UUID).
  4. /meta-validate + /meta-info — проверить.
  5. Модули, формы, макеты, права — добавить отдельно (в черновик они не попадают).

What it can do on your machine

Read from SKILL.md and the folder at commit 1fa205b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash
    • Read
    • Write
    • Glob

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (PowerShell and Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Meta Decompile loads about 766 tokens when it runs. Until then it costs about 52 tokens; SKILL.md has 303 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~52
When it runs · the whole SKILL.md, loaded when a task matches
~766

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash, Read, Write, Glob

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from Nikolay-Shirokov/cc-1c-skills at commit 1fa205b, republished under its MIT licence (© Nikolay-Shirokov). 303 words, ~766 tokens.

Download SKILL.mdSave it as .claude/skills/meta-decompile/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
meta-decompile
description
Декомпиляция объекта метаданных 1С в JSON-заготовку формата meta-compile. Используй когда нужно получить черновик DSL-описания нового объекта по образцу другого. Не сохраняет UUID/модули/формы.
allowed-tools
Bash, Read, Write, Glob
argument-hint
<ObjectPath> [-OutputPath <out.json>]
disable-model-invocation
true

/meta-decompile — DSL-заготовка из XML объекта метаданных

Читает XML объекта метаданных (Catalogs/Имя.xml и т.п.) и эмитит компактный JSON в формате /meta-compile. Назначение — взять существующий объект образцом и собрать по нему НОВЫЙ: декомпилировать → поправить → скомпилировать под другим именем.

⚠️ Главное: это НЕ обратимая выгрузка

Компиляция черновика создаёт новый объект с новой идентичностью, а не копию исходного. В JSON не попадают: UUID (идентичность самого объекта и всех дочерних), тела модулей, формы, макеты, права. Захватываются только структура и свойства.

Отсюда правило: никогда не компилируй черновик поверх объекта-источника и не выдавай его за «реимпорт» — у пересобранного объекта другие UUID, поэтому все ссылки на исходный объект (из кода, других объектов, состава подсистем, предопределённых данных) сломаются, а код модулей и формы пропадут.

Когда использовать

Собрать новый объект по образцу существующего — получить DSL-заготовку рабочего объекта, переименовать и адаптировать состав, скомпилировать в новый. Быстрее, чем писать DSL с нуля для богатого объекта.

Когда не использовать

  • Точечная правка существующего объекта (добавить реквизит, ТЧ, свойство) → /meta-edit. Цикл decompile→compile тут вреден: даёт объект с новой идентичностью и теряет модули/формы.
  • Сохранить / восстановить / перенести тот же объект (бэкап, миграция между конфигурациями с сохранением ссылок) → штатная выгрузка 1С (/db-dump-xml ↔ /db-load-xml, CF), а не decompile.
  • Просто понять структуру объекта (реквизиты, ТЧ, типы) без пересборки → /meta-info (дешевле, не плодит файл).

Параметры

ПараметрОписание
ObjectPathПуть к XML объекта (Catalogs/Имя.xml), обязательный
OutputPathПуть к выходному JSON. Если не задан — JSON в stdout
powershell
powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/scripts/meta-decompile.ps1" -ObjectPath "<Объект.xml>" -OutputPath "<out.json>"

Неподдерживаемый тип объекта или не-MetaDataObject root → ненулевой код выхода и сообщение в stderr.

Workflow (сборка нового объекта по образцу)

  1. /meta-decompile <Образец.xml> -OutputPath draft.json — получить заготовку.
  2. В draft.json сменить name на имя нового объекта и адаптировать состав (реквизиты/ТЧ/свойства). Ссылки на другие объекты (владельцы, ввод на основании, типы) — по имени, сохраняются как есть.
  3. /meta-compile -JsonPath draft.json -OutputDir <ConfigDir> — собрать (объект получит свежие UUID).
  4. /meta-validate + /meta-info — проверить.
  5. Модули, формы, макеты, права — добавить отдельно (в черновик они не попадают).

© Nikolay-Shirokov, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (scripts) in .claude/skills/meta-decompile of Nikolay-Shirokov/cc-1c-skills.

  • SKILL.md
  • scripts/meta-decompile.ps1
  • scripts/meta-decompile.py

Open the folder on GitHubat commit 1fa205b

Compare with similar skills

Meta Decompile next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Meta Decompile compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Meta Decompile this skillNikolay-Shirokov/cc-1c-skills671—~766Automated safety check: NotesMIT
Decompiledariushoule/x64dbg-skills209—~626Automated safety check: NotesMIT
Nes Decompilejonathanpeppers/dotnes780—~1.6kAutomated safety check: PassMIT
The Worry Decompilermohitagw15856/pm-claude-skills1.4k—~1.1kAutomated safety check: PassMIT
Decompilationvricosti/ruzu-emu171—~1.1kAutomated safety check: PassGPL-3.0
Java Decompilerptn1411/skill220—~788Automated safety check: NotesNone

Similar skills

  • Decompile

    dariushoule/x64dbg-skills

    Decompile a function to C-like pseudocode using angr. An agent skill from dariushoule/x64dbg-skills.

    209 GitHub stars~626 tokensUpdated 7 mo ago
    Auto-check: notes
  • Nes Decompile

    jonathanpeppers/dotnes

    Decompile NES ROM files (.nes) into C projects that can be rebuilt with dotnes.

    780 GitHub stars~1.6k tokensUpdated 16 days ago
    SecurityAuto-check passed
  • The Worry Decompiler

    mohitagw15856/pm-claude-skills

    Turn an anxious spiral into a concrete list — separate the specific worries from the vague dread, sort what you can act on from what you can't, and get one action.

    1.4k GitHub stars~1.1k tokensUpdated yesterday
    SecurityAuto-check passed
  • Decompilation

    vricosti/ruzu-emu

    A skill your agent uses when investigating Nintendo Switch binaries (NSP/NCA/NSO) — extracting code via hactool, parsing NSO format (sections, dynsym, dynstr, JMPREL), identifying which symbol a PLT…

    171 GitHub stars~1.1k tokensUpdated 2 days ago
    Auto-check passed
  • Java Decompiler

    ptn1411/skill

    Decompile Java applications (JAR/WAR/APK/class) — extract archives, detect obfuscators, decompile bytecode to source, analyse license logic and secrets.

    220 GitHub stars~788 tokensUpdated 18 days ago
    SecurityAuto-check: notes
  • Ilspy Decompile

    davidfowl/dotnet-skillz

    Understand implementation details of .NET code by decompiling assemblies.

    294 GitHub stars~1.3k tokensUpdated 7 mo ago
    Auto-check passed

More from Nikolay-Shirokov/cc-1c-skills

All 81 skills in this repo
  • DB Repo

    Nikolay-Shirokov/cc-1c-skills

    Работа с хранилищем конфигурации 1С. An agent skill from Nikolay-Shirokov/cc-1c-skills.

    671 GitHub stars~2.4k tokensUpdated 4 days ago
    Auto-check: notes
  • Form Compile

    Nikolay-Shirokov/cc-1c-skills

    Компиляция управляемой формы 1С из JSON-определения или из метаданных объекта.

    671 GitHub stars~4.5k tokensUpdated 4 days ago
    Auto-check: notes
  • Cf Edit

    Nikolay-Shirokov/cc-1c-skills

    Точечное редактирование конфигурации 1С. An agent skill from Nikolay-Shirokov/cc-1c-skills.

    671 GitHub starsUsed in 1 repo~706 tokens
    Auto-check: notes
  • Form Edit

    Nikolay-Shirokov/cc-1c-skills

    Правка существующей управляемой формы 1С — элементы, реквизиты, команды и свойства самой формы.

    671 GitHub stars~2.9k tokensUpdated 4 days ago
    Auto-check: notes
  • Cf Init

    Nikolay-Shirokov/cc-1c-skills

    Создать пустую конфигурацию 1С (scaffold XML-исходников). An agent skill from Nikolay-Shirokov/cc-1c-skills.

    671 GitHub starsUsed in 1 repo~603 tokens
    Auto-check: notes
  • Cfe Init

    Nikolay-Shirokov/cc-1c-skills

    Создать расширение конфигурации 1С (CFE) — scaffold XML-исходников.

    671 GitHub starsUsed in 1 repo~717 tokens
    Auto-check: notes

Questions about Meta Decompile

What does Meta Decompile do?

Декомпиляция объекта метаданных 1С в JSON-заготовку формата meta-compile. Meta Decompile is an agent skill from Nikolay-Shirokov/cc-1c-skills. Декомпиляция объекта метаданных 1С в JSON-заготовку формата meta-compile.

How do I install Meta Decompile in Claude Code?

Run `npx skills add Nikolay-Shirokov/cc-1c-skills --skill meta-decompile -a claude-code`. Or copy the skill folder (.claude/skills/meta-decompile in Nikolay-Shirokov/cc-1c-skills) into .claude/skills/meta-decompile in your project. Claude Code loads it when a task matches its description.

How do I install Meta Decompile in Codex?

Run `npx skills add Nikolay-Shirokov/cc-1c-skills --skill meta-decompile -a codex`. Or copy the skill folder (.claude/skills/meta-decompile in Nikolay-Shirokov/cc-1c-skills) into .agents/skills/meta-decompile in your project. Codex loads it when a task matches its description.

Can I use Meta Decompile in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Nikolay-Shirokov/cc-1c-skills --skill meta-decompile -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/meta-decompile, .gemini/skills/meta-decompile, .github/skills/meta-decompile and .opencode/skills/meta-decompile in your project.

What does Meta Decompile need to run?

Going by SKILL.md and its folder, Meta Decompile needs PowerShell and Python for the scripts in its folder. Our summary lists: Python 3; PowerShell. Its frontmatter pre-approves these tools: Bash, Read, Write, Glob.

Does Meta Decompile access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Meta Decompile safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Meta Decompile use?

Meta Decompile is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Meta Decompile use?

About 766 tokens (SKILL.md is roughly 3.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Meta Decompile?

Skills that share tags, products or a category with Meta Decompile: Decompile (dariushoule/x64dbg-skills, 209 stars), Nes Decompile (jonathanpeppers/dotnes, 780 stars), The Worry Decompiler (mohitagw15856/pm-claude-skills, 1.4k stars) and Decompilation (vricosti/ruzu-emu, 171 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Meta Decompile?

Nikolay-Shirokov (a GitHub user) maintains it in Nikolay-Shirokov/cc-1c-skills, which has 671 GitHub stars. The repository holds 81 skills in this directory. The repository was last updated on October 5, 2026.

Source: Nikolay-Shirokov/cc-1c-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.