skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
nikolay-shirokov/cc-1c-skills62 installs

role-info

Компактная сводка прав роли 1С из Rights.xml — объекты, права, RLS, шаблоны ограничений. Используй для аудита прав — какие объекты и действия доступны, ограничения RLS

How do I install this agent skill?

npx skills add https://github.com/nikolay-shirokov/cc-1c-skills --skill role-info
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    This skill provides tools to analyze 1C role configuration files (Rights.xml) to audit permissions and RLS restrictions. The tool uses PowerShell and Python scripts to parse XML and binary metadata. The primary security consideration is an indirect prompt injection surface due to processing external configuration files without specific sanitization or boundary markers.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

What does this agent skill do?

/role-info — анализ роли 1С

Парсит Rights.xml роли и выдаёт компактную сводку: объекты сгруппированы по типу, показаны только разрешённые права. Сжатие: тысячи строк XML → 50–150 строк текста.

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

/role-info <RightsPath>

RightsPath — путь к файлу Rights.xml роли (обычно Roles/ИмяРоли/Ext/Rights.xml).

Запуск скрипта

powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/scripts/role-info.ps1" -RightsPath <path> -OutFile <output.txt>

Параметры

ПараметрОбязательныйОписание
-RightsPathдаПуть к Rights.xml
-ShowDeniedнетПоказать запрещённые права (по умолчанию скрыты)
-LimitнетМакс. строк вывода (по умолчанию 150). 0 = без ограничений
-OffsetнетПропустить N строк — для пагинации (по умолчанию 0)
-OutFileнетЗаписать результат в файл (UTF-8 BOM). Без этого — вывод в консоль

Важно: Всегда используй -OutFile и читай результат через Read tool. Прямой вывод в консоль через bash ломает кириллицу.

Для большой роли при усечении вывода:

... -Offset 150            # пагинация: пропустить первые 150 строк

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/nikolay-shirokov/cc-1c-skills/role-info">View role-info on skillZs</a>