1c-mxl-compile

1c-mxl-compile is a skill for Claude Code, Codex from Desko77/cursor-1c-skills. It costs 36 tokens per session (660 once invoked), scanned A, original, MIT.

A compiler that creates a 1C spreadsheet-layout file, Template.xml, from a JSON description. These layouts define the structure of printed forms in 1C business applications.

In plain words
What is it for?
Use it to generate or update 1C print forms from JSON, including layouts based on a screenshot or scanned form.
Why use it?
It handles the XML details needed for a valid layout, so you can describe regions, parameters, and styles in a smaller format.

Skill for Claude CodeCodex

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

Good fit Use it to generate or update 1C print forms from JSON, including layouts based on a screenshot or scanned form.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/desko77/cursor-1c-skills/1c-mxl-compile"><img src="https://agentmods.dev/badge/skills/desko77/cursor-1c-skills/1c-mxl-compile.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 660 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 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.00036 $0.00660
Opus 5 $0.00018 $0.00330
Sonnet 5 $0.00007 $0.00132
Haiku 4.5 $0.00004 $0.00066

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

Security

Grade A, and why

1c-mxl-compile 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/mxl-compile.ps1, scripts/mxl-compile.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.

skills/1c-mxl-compile/SKILL.md · 60 lines

How it starts

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

/mxl-compile - Компилятор макета из DSL

Принимает компактное JSON-определение макета и генерирует корректный Template.xml для табличного документа 1С. Claude описывает что нужно (области, параметры, стили), скрипт обеспечивает корректность XML (палитры, индексы, объединения, namespace).

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

/mxl-compile <JsonPath> <OutputPath>

Параметры

Параметр Обязательный Описание
JsonPath да Путь к JSON-определению макета
OutputPath да Путь для генерации Template.xml

Команда

powershell.exe -NoProfile -File skills/1c-mxl-compile/scripts/mxl-compile.ps1 -JsonPath "<путь>.json" -OutputPath "<путь>/Template.xml"

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

  1. Claude пишет JSON-определение → файл .json
  2. Claude вызывает /mxl-compile для генерации Template.xml
  3. Claude вызывает /mxl-validate для проверки корректности
  4. Claude вызывает /mxl-info для верификации структуры

Если макет создается по изображению (скриншот, скан печатной формы) - сначала вызвать /img-grid для наложения сетки, по ней определить границы колонок и пропорции, затем использовать "Nx" ширины + "page" для автоматического расчета размеров.

JSON-схема DSL

Полная спецификация формата: docs/mxl-dsl-spec.md (прочитать через перед написанием JSON).

Краткая структура:

{ columns, page, defaultWidth, columnWidths,
 fonts: { name: { face, size, bold, italic, underline, strikeout } },
 styles: { name: { font, align, valign, border, borderWidth, wrap, format } },
 areas: [{ name, rows: [{ height, rowStyle, cells: [
 { col, span, rowspan, style, param, detail, text, template }
 ]}]}]
}

Ключевые правила:

  • page - формат страницы ("A4-landscape", "A4-portrait" или число). Автоматически вычисляет defaultWidth из суммы пропорций "Nx"
  • col - 1-based позиция колонки
  • rowStyle - автозаполнение пустот стилем (рамки по всей ширине)
  • Тип заполнения определяется автоматически: param → Parameter, text → Text, template → Template
  • rowspan - объединение строк вниз (rowStyle учитывает занятые ячейки)

Read the full file on GitHub · 60 lines

Files

What ships with it

3 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 · 60 lines · 36 tokens per session scan A 937387109d17

Subscribe to this mod's changes

1c-mxl-compile is a skill published in the GitHub repository Desko77/cursor-1c-skills (57 stars, last pushed today), licensed MIT. It adds 36 tokens to every session and 660 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.