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.
git clone --depth 1 https://github.com/Desko77/cursor-1c-skillsnpx agentmods add skills/desko77/cursor-1c-skills/1c-role-validateWrote 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.
[](https://agentmods.dev/skills/desko77/cursor-1c-skills/1c-role-validate)<a href="https://agentmods.dev/skills/desko77/cursor-1c-skills/1c-role-validate"><img src="https://agentmods.dev/badge/skills/desko77/cursor-1c-skills/1c-role-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.
<a href="https://agentmods.dev/skills/desko77/cursor-1c-skills/1c-role-validate"><img src="https://agentmods.dev/badge/skills/desko77/cursor-1c-skills/1c-role-validate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
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 contentFix: Review the flagged content for security risks. Ensure no credentials, secrets, or sensitive data are exposed.
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00029 | $0.00714 |
| Opus 5 | $0.00015 | $0.00357 |
| Sonnet 5 | $0.00006 | $0.00143 |
| Haiku 4.5 | $0.00003 | $0.00071 |
Grade A, and why
1c-role-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 8d ago.
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.
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.
/role-validate - валидация роли 1С
Проверяет корректность Rights.xml роли: формат XML, namespace, глобальные флаги, типы объектов, имена прав, RLS-ограничения, шаблоны. Опционально проверяет метаданные роли (UUID, имя, синоним).
Параметры
| Параметр | Обяз. | Умолч. | Описание |
|---|---|---|---|
| RightsPath | да | - | Путь к роли (директория или Rights.xml) |
| Detailed | нет | - | Подробный вывод (все проверки, включая успешные) |
| MaxErrors | нет | 30 | Макс. ошибок до остановки (по умолчанию 30) |
| IndexPath | нет | - | Индекс от 1c-config-index: включает сверку объектов прав с конфигурацией |
| OutFile | нет | - | Записать результат в файл (UTF-8 BOM) |
Команда
powershell.exe -NoProfile -File skills/1c-role-validate/scripts/role-validate.ps1 -RightsPath "Roles/МояРоль"
Дополнительно - проверка прав на перечисления
После запуска валидатора отдельно проверь наличие прав на Enum.* в Rights.xml - это анти-паттерн в любой роли:
$content = Get-Content -Raw "Roles/МояРоль/Ext/Rights.xml"
if ($content -match '<name>Enum\.[^<]+</name>') {
Write-Warning "Найдены права на перечисления - удалить (Enum общедоступны, явные права избыточны и ломают LoadConfigFromFiles)"
}
Если найдены - предложить пользователю удалить блоки <object><name>Enum.*</name>...</object>. См. 1c-role-rights.md.
Сверка объектов прав с конфигурацией (проверка 7)
Права на удаленный объект - обычный след рефакторинга: объект убрали, роль осталась. Платформа такую роль загрузит, а право просто повиснет.
С -IndexPath валидатор сверяет каждое имя из <object><name>. Имена там те же, что ключи
индекса (Catalog.Контрагенты), поэтому карта соответствий не нужна.
Разбираются три формы имени:
- две части - сам объект;
- четыре части - вложенная сущность:
Attribute,StandardAttribute,TabularSection,Command,Form,Template; - шесть частей - реквизит табличной части.
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.
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.
- 8d ago First seen · 60 lines · 29 tokens per session scan A e72616ddd85b
1c-role-validate is a skill published in the GitHub repository Desko77/cursor-1c-skills (57 stars, last pushed today), licensed MIT. It adds 29 tokens to every session and 714 once invoked, about $0.0001 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.
Other skills, from other repositories
1c-form-compile
A builder for managed 1C forms, the screens users work with in the 1C business-software platform. It creates the Form.xml file from a JSON description or from an object's metadata.
composing-1c-queries
A guide for writing queries in the 1C:Enterprise query language. It covers how to select, filter, join, group, and summarize data from 1C catalogs, documents, and registers.
humanize-ai-text
A writing aid for rewriting text produced by language-model agents into a more natural human style. It keeps the original meaning, facts, numbers, and technical terms.
transcribe
A tool for turning video and audio recordings into written text, with optional speaker identification and video analysis.
1c-web-test
A browser-automation tool for testing the 1C:Enterprise web client. It uses scripted actions to navigate screens, fill forms, read tables and reports, and apply filters.
lmstudio-api
A reference for controlling LM Studio through its HTTP API. LM Studio is a local app that runs downloaded AI models on your computer.