1c-subsystem-validate

1c-subsystem-validate is a skill for Claude Code, Codex from Desko77/cursor-1c-skills. It costs 34 tokens per session (540 once invoked), scanned A, original, MIT.

A checker for the XML definition of a 1C subsystem. It verifies the subsystem's structure and can compare its listed contents with objects that actually exist in the configuration.

In plain words
What is it for?
Use it after creating or changing a subsystem, optionally checking its contents against a configuration index.
Why use it?
It catches malformed entries, duplicate references, and links to objects that have been removed.

Skill for Claude CodeCodex

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python skills/1c-config-index/scripts/config-index.py -ConfigPath src -OutFile .cache/index.json.

Good fit Use it after creating or changing a subsystem, optionally checking its contents against a configuration index.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Desko77/cursor-1c-skills
agentmods
npx agentmods add skills/desko77/cursor-1c-skills/1c-subsystem-validate

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-subsystem-validate

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/desko77/cursor-1c-skills/1c-subsystem-validate"><img src="https://agentmods.dev/badge/skills/desko77/cursor-1c-skills/1c-subsystem-validate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 540 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.00034 $0.00540
Opus 5 $0.00017 $0.00270
Sonnet 5 $0.00007 $0.00108
Haiku 4.5 $0.00003 $0.00054

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

Security

Grade A, and why

1c-subsystem-validate 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 5d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/subsystem-validate.ps1, scripts/subsystem-validate.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-subsystem-validate/SKILL.md · 45 lines

What it actually says

/subsystem-validate - валидация подсистемы 1С

Проверяет структурную корректность XML-файла подсистемы из выгрузки конфигурации.

Параметры

Параметр Обяз. Умолч. Описание
SubsystemPath да - Путь к XML-файлу подсистемы
Detailed нет - Подробный вывод (все проверки, включая успешные)
MaxErrors нет 30 Остановиться после N ошибок
OutFile нет - Записать результат в файл
IndexPath нет - Индекс от 1c-config-index: включает сверку состава с конфигурацией

Команда

powershell.exe -NoProfile -File "skills/1c-subsystem-validate/scripts/subsystem-validate.ps1" -SubsystemPath "Subsystems/Продажи"
powershell.exe -NoProfile -File "skills/1c-subsystem-validate/scripts/subsystem-validate.ps1" -SubsystemPath "Subsystems/Продажи.xml"

Сверка состава с конфигурацией (проверка 14)

Раньше валидатор проверял ФОРМУ записей состава - что это xr:MDObjectRef, что имя не во множественном числе, что нет дублей. Существует ли объект на самом деле, он не знал: про конфигурацию ему было ничего не известно.

С -IndexPath знает. Ссылка на удаленный объект больше не проходит молча.

Имена в составе (Catalog.Контрагенты) совпадают с ключами индекса, поэтому карта соответствий не нужна. Ссылка по UUID не проверяется - разбирать ее нечем.

Тяжесть - предупреждение. В расширении формулировка мягче: объект может лежать в основной конфигурации, которой в этой выгрузке нет.

python skills/1c-config-index/scripts/config-index.py -ConfigPath src -OutFile .cache/index.json
python skills/1c-subsystem-validate/scripts/subsystem-validate.py -SubsystemPath src/Subsystems/Продажи -IndexPath .cache/index.json
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. 5d ago First seen · 45 lines · 34 tokens per session scan A 687db8148a92

Subscribe to this mod's changes

1c-subsystem-validate is a skill published in the GitHub repository Desko77/cursor-1c-skills (55 stars, last pushed 7d ago), licensed MIT. It adds 34 tokens to every session and 540 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.