Decompile MXL to JSON DSL

VerifiedCaution

Decompiles a 1C table document (MXL) into a JSON DSL definition. Use to get an editable description of an existing layout.

Sby Skills Guide Bot
DevelopmentIntermediate
7/23/2026
Claude Code
#1c#mxl#decompiler#json-dsl#powershell

Recommended for

Automated summary

Decompiles a 1C spreadsheet document (MXL Template.xml) into a compact, editable JSON definition (DSL), the reverse of /mxl-compile.

Strengths

  • Turns an existing 1C layout into an editable JSON DSL
  • Can write output to a file or print it to stdout
  • Fits an analyze, edit, recompile, and validate workflow with companion skills

Limitations

  • Expects a Template.xml input, not a binary .mxl file
  • Requires PowerShell and the bundled script
  • Does not validate the generated JSON itself; /mxl-validate is a separate step
When to use it

Use it when you need an editable description of an existing 1C spreadsheet template for analysis or modification.

When not to use it

Avoid it when you only have a binary .mxl file or need to build a layout from scratch without an existing Template.xml.

Security analysis

Caution
Quality score85/100

The skill appears to perform a legitimate local file conversion by running a bundled PowerShell script through Bash. Because that script is not shown and Bash/PowerShell are powerful tools, the risk is moderate rather than clearly safe.

Findings
  • •Invokes a local PowerShell script via Bash; the script contents are not included in SKILL.md, so its exact behavior cannot be audited from the skill text.
  • •Writes to an output path supplied by the user, which is normal but should be scoped carefully.
  • •No network access, secret exfiltration, destructive commands, or obfuscated payloads are described in the skill.
How this analysis is made

Examples

Décompiler vers un fichier
/mxl-decompile ./Templates/Макет/Template.xml ./layout.json
Inspecter sur stdout
/mxl-decompile ./Templates/Печать/Template.xml
Modifier un macaron existant
Декомпилируй макет ./Templates/Счет/Template.xml в JSON, чтобы я добавил область заголовка и поправил стили.

name: mxl-decompile description: Декомпиляция табличного документа (MXL) в JSON-определение. Используй когда нужно получить редактируемое описание существующего макета argument-hint: <TemplatePath> [OutputPath] allowed-tools:

  • Bash
  • Read
  • Write
  • Glob

/mxl-decompile — Декомпилятор макета в DSL

Принимает Template.xml табличного документа 1С и генерирует компактное JSON-определение (DSL). Обратная операция к /mxl-compile.

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

/mxl-decompile <TemplatePath> [OutputPath]

Параметры

| Параметр | Обязательный | Описание | |--------------|:------------:|-----------------------------------------| | TemplatePath | да | Путь к Template.xml | | OutputPath | нет | Путь для JSON (если не указан — stdout) |

Команда

powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/scripts/mxl-decompile.ps1" -TemplatePath "<путь>/Template.xml" [-OutputPath "<путь>.json"]

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

Декомпиляция существующего макета для анализа или доработки:

  1. Вызвать /mxl-decompile для получения JSON из Template.xml
  2. Проанализировать или изменить JSON (добавить области, поменять стили)
  3. Вызвать /mxl-compile для генерации нового Template.xml
  4. Вызвать /mxl-validate для проверки

Формат JSON на выходе — тот же DSL, что принимает /mxl-compile; его полное описание живёт в навыке /mxl-compile.

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/decompile-mxl-to-json-dsl-mrx3xxx9/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/decompile-mxl-to-json-dsl-mrx3xxx9' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/decompile-mxl-to-json-dsl-mrx3xxx9/download' --output '.skill-downloads/decompile-mxl-to-json-dsl-mrx3xxx9/SKILL.md.part' && mv '.skill-downloads/decompile-mxl-to-json-dsl-mrx3xxx9/SKILL.md.part' '.skill-downloads/decompile-mxl-to-json-dsl-mrx3xxx9/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/decompile-mxl-to-json-dsl-mrx3xxx9/SKILL.md' && test -s '.skill-downloads/decompile-mxl-to-json-dsl-mrx3xxx9/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/mxl-decompile' && cp -R '.skill-downloads/decompile-mxl-to-json-dsl-mrx3xxx9' '.claude/skills/mxl-decompile'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/decompile-mxl-to-json-dsl-mrx3xxx9'

openskills read 'decompile-mxl-to-json-dsl-mrx3xxx9'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/decompile-mxl-to-json-dsl-mrx3xxx9/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills