Точечное редактирование существующей роли 1С. An agent skill from Nikolay-Shirokov/cc-1c-skills.

MITAuto-check: notes

Install Role Edit

skills CLI
$ npx skills add Nikolay-Shirokov/cc-1c-skills --skill role-edit -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Nikolay-Shirokov/cc-1c-skills role-edit --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Nikolay-Shirokov/cc-1c-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/role-edit .claude/skills/role-edit && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
role-edit
GitHub stars
680
Token cost
~1.3k tokens
SKILL.md length
369 words
Files
3 (incl. scripts)
Skills in repo
81
Repo updated
First seen
Licence
MIT

At a glance

Точечное редактирование существующей роли 1С. An agent skill from Nikolay-Shirokov/cc-1c-skills.

  • SKILL.md covers Параметры и команда, Операции, Быстрые примеры and Права, plus 3 more sections
  • Runs PowerShell and Python scripts from its folder

What it does

Role Edit is an agent skill from Nikolay-Shirokov/cc-1c-skills. Точечное редактирование существующей роли 1С. Используй когда нужно добавить, снять или запретить права, настроить RLS-ограничения и шаблоны, изменить свойства роли без потери прочих прав и UUID

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including scripts (for example `scripts/role-edit.py`).

The repository describes itself as: Набор навыков для AI(ИИ)-агентов (Claude Code, Cursor, Codex и др.), помогающий охватить полный цикл разработки на платформе 1С:Предприятие 8.3. Даёт модели абстракции над… The licence is MIT.

Example prompts

  • “/role-edit”

Requirements

  • Python 3
  • PowerShell
  • Pre-approved tools (allowed-tools): Bash, Read, Write, Glob

What it can do on your machine

Read from SKILL.md and the folder at commit 1fa205b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash
    • Read
    • Write
    • Glob

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (PowerShell and Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Role Edit loads about 1.3k tokens when it runs. Until then it costs about 51 tokens; SKILL.md has 369 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~51
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash, Read, Write, Glob

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from Nikolay-Shirokov/cc-1c-skills at commit 1fa205b, republished under its MIT licence (© Nikolay-Shirokov). 369 words, ~1,324 tokens.

Download SKILL.mdSave it as .claude/skills/role-edit/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
role-edit
description
Точечное редактирование существующей роли 1С. Используй когда нужно добавить, снять или запретить права, настроить RLS-ограничения и шаблоны, изменить свойства роли без потери прочих прав и UUID
allowed-tools
Bash, Read, Write, Glob
argument-hint
<RolePath> -Operation <op> -Value "<val>" | -DefinitionFile <json> [-NoValidate]

/role-edit — точечное редактирование роли 1С

Меняет права существующей роли на месте: UUID, прочие права, RLS и шаблоны сохраняются. Создание новой роли — /role-compile.

Параметры и команда

ПараметрОписание
RolePathКаталог роли, Roles/Имя.xml или Roles/Имя/Ext/Rights.xml
OperationОдна операция из таблицы ниже
ValueЗначение операции; несколько значений — через ;;
DefinitionFileJSON-массив операций (альтернатива Operation) — так задают несколько разных операций
NoValidateНе запускать role-validate после правки
powershell
powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/scripts/role-edit.ps1" -RolePath "<роль>" -Operation <op> -Value "<значение>"

Операции применяются в том порядке, в котором перечислены.

Операции

ОперацияФормат ValueОписание
add-rightsТип.Имя: Право1, Право2 или Тип.Имя: @пресетДобавить права, прежние сохранить
set-rightsто жеЗаменить набор прав объекта целиком
remove-rightsТип.Имя: Право1, Право2 — снять права<br>Тип.Имя — удалить объект целикомСнять права
deny-rightsТип.Имя: Право1, Право2Закрыть реквизит или ТЧ, которые иначе наследуют права объекта
set-rlsТип.Имя.Право: условие<br>Тип.Имя.Право[Поле1, Поле2]: условиеОграничение доступа к данным
remove-rlsТип.Имя.Право — снять все<br>Тип.Имя.Право[Поле1] — снять одну строкуСнять ограничение, право оставить
add-templateИмя(Параметры): условиеДобавить шаблон ограничения
set-templateто жеЗаменить шаблон, а если его нет — добавить
remove-templateИмя(Параметры) или ИмяУдалить шаблон
modify-propertysetForNewObjects=true<br>setForAttributesByDefault=false<br>independentRightsOfChildObjects=trueГлобальные флаги роли
set-synonymтекстСиноним роли
set-commentтекстКомментарий роли

Быстрые примеры

powershell
# Добавить права нового регистра, ничего не потеряв
... -RolePath "src/Roles/Менеджер" -Operation add-rights -Value "InformationRegister.Цены: Read, Update"

# Пресет и несколько объектов в одном вызове
... -RolePath "src/Roles/Менеджер" -Operation add-rights -Value "Catalog.Товары: @view ;; Document.Заказ: @edit"

# Снять права; объект без разрешающих прав удаляется целиком
... -RolePath "src/Roles/Менеджер" -Operation remove-rights -Value "Document.Заказ: Delete"

# Закрыть реквизит от роли
... -RolePath "src/Roles/Менеджер" -Operation deny-rights -Value "Catalog.Товары.Attribute.Цена: View"

Несколько разных операций — списком в файле:

json
[
  { "operation": "add-rights", "value": "Catalog.Товары: @view" },
  { "operation": "set-rls", "value": "Catalog.Товары.Read: #ПоОрганизации(\"\")" }
]
powershell
... -RolePath "src/Roles/Менеджер" -DefinitionFile "операции.json"

Права

Имена объектов и прав — те же, что в /role-compile: Catalog, Read, пресеты @view и @edit, вложенные пути (Catalog.Контрагенты.Attribute.ИНН: View, Edit), короткая запись сервиса (HTTPService.ЭДО: Use раскрывается по всем методам шаблонов URL).

remove-rights и deny-rights задевают больше перечисленного: уходят и права, которым снятое нужно (сняли Read — уйдут Update, View, Edit). Снятое каскадом перечисляется в выводе.

Ошибка в значении — отказ до записи, файл не меняется. Полные таблицы «тип → права» и виды вложенности — в справке /role-compile.

Show full SKILL.md (115 more words)Show less

RLS

Ограничения права — это список строк, как в таблице «Ограничения доступа к данным» редактора. Строка без списка полей действует на все прочие поля, строка со списком — только на них. Типовой приём: закрыть данные целиком, но оставить поля представления ссылки открытыми, иначе ссылки на объект превратятся в «объект не найден»:

powershell
... -Operation set-rls -Value "Catalog.Товары.Read: ГДЕ ЛОЖЬ"
... -Operation set-rls -Value "Catalog.Товары.Read[Ссылка, Код, Наименование]: "

Строка с тем же набором полей заменяется, с другим — добавляется. Право должно быть уже выдано: ограничение без права платформа игнорирует, поэтому навык откажет.

Ссылка на шаблон — #ИмяШаблона(""); & в условиях экранируется автоматически.

Значение из файла

Вместо текста можно указать @путь — условие RLS, тело шаблона, синоним и комментарий берутся из файла. Относительный путь ищется рядом с DefinitionFile, затем в текущем каталоге. Разделитель ;; внутри файла остаётся обычным текстом.

powershell
... -Operation set-rls -Value "Catalog.Товары.Read: @условие.txt"
... -Operation add-template -Value "ПоОрганизации(Мод): @условие.txt"
... -Operation set-comment -Value "@комментарий.txt"

Верификация

/role-info <RightsPath>      — сводка прав после правки
/role-validate <RightsPath>  — проверка корректности (запускается автоматически)

© Nikolay-Shirokov, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (scripts) in .claude/skills/role-edit of Nikolay-Shirokov/cc-1c-skills.

  • SKILL.md
  • scripts/role-edit.ps1
  • scripts/role-edit.py

Open the folder on GitHubat commit 1fa205b

Compare with similar skills

Role Edit next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Role Edit compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Role Edit this skillNikolay-Shirokov/cc-1c-skills680—~1.3kAutomated safety check: NotesMIT
Aria Rolesthedaviddias/Front-End-Checklist74k—~515Automated safety check: PassMIT
Azure Role Selectorgithub/awesome-copilot40k2 repos~246Automated safety check: PassMIT
Aria Deprecated Rolethedaviddias/Front-End-Checklist74k—~441Automated safety check: PassMIT
OMP Sub-Agent Role Presetsagentscope-ai/QwenPaw36k—~1.1kAutomated safety check: PassApache-2.0
Building Role Mining For Rbac Optimizationmukul975/Anthropic-Cybersecurity-Skills34k—~2.6kAutomated safety check: PassApache-2.0

Similar skills

  • Aria Roles

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing rendered HTML, interactive components, or design-system patterns related to Use valid ARIA role values.

    74k GitHub stars~515 tokensUpdated 4 days ago
    Frontend & DesignAuto-check passed
  • Azure Role Selector

    github/awesome-copilot

    Official

    When user is asking for guidance for which role to assign to an identity given desired permissions, this agent helps them understand the role that will meet the requirements with least privilege…

    40k GitHub starsUsed in 2 repos~246 tokens
    DevOps & CloudAuto-check passed
  • Aria Deprecated Role

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing rendered HTML, interactive components, or design-system patterns related to Avoid using deprecated ARIA roles.

    74k GitHub stars~441 tokensUpdated 4 days ago
    Frontend & DesignAuto-check passed
  • OMP Sub-Agent Role Presets

    agentscope-ai/QwenPaw

    Gives the allowed_tools and skills preset for each OMP sub-agent role, to apply when calling spawn_subagent.

    36k GitHub stars~1.1k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Building Role Mining For Rbac Optimization

    mukul975/Anthropic-Cybersecurity-Skills

    Apply bottom-up and top-down role mining techniques, including clustering algorithms and formal concept analysis, to discover optimal RBAC roles from existing user-permission assignments…

    34k GitHub stars~2.6k tokensUpdated 1 mo ago
    Backend & APIsAuto-check passed
  • Securing AWS Lambda Execution Roles

    mukul975/Anthropic-Cybersecurity-Skills

    Hardens AWS Lambda execution roles by writing least-privilege IAM policies, applying permission boundaries, restricting resource-based policies, validating permissions with IAM Access Analyzer, and…

    34k GitHub stars~3.3k tokensUpdated 1 mo ago
    SecurityAuto-check passed

More from Nikolay-Shirokov/cc-1c-skills

All 81 skills in this repo
  • DB Repo

    Nikolay-Shirokov/cc-1c-skills

    Работа с хранилищем конфигурации 1С. An agent skill from Nikolay-Shirokov/cc-1c-skills.

    680 GitHub stars~2.4k tokensUpdated 4 days ago
    Auto-check: notes
  • Form Compile

    Nikolay-Shirokov/cc-1c-skills

    Компиляция управляемой формы 1С из JSON-определения или из метаданных объекта.

    680 GitHub stars~4.5k tokensUpdated 4 days ago
    Auto-check: notes
  • Cf Edit

    Nikolay-Shirokov/cc-1c-skills

    Точечное редактирование конфигурации 1С. An agent skill from Nikolay-Shirokov/cc-1c-skills.

    680 GitHub starsUsed in 1 repo~706 tokens
    Auto-check: notes
  • Form Edit

    Nikolay-Shirokov/cc-1c-skills

    Правка существующей управляемой формы 1С — элементы, реквизиты, команды и свойства самой формы.

    680 GitHub stars~2.9k tokensUpdated 4 days ago
    Auto-check: notes
  • Cf Init

    Nikolay-Shirokov/cc-1c-skills

    Создать пустую конфигурацию 1С (scaffold XML-исходников). An agent skill from Nikolay-Shirokov/cc-1c-skills.

    680 GitHub starsUsed in 1 repo~603 tokens
    Auto-check: notes
  • Cfe Init

    Nikolay-Shirokov/cc-1c-skills

    Создать расширение конфигурации 1С (CFE) — scaffold XML-исходников.

    680 GitHub starsUsed in 1 repo~717 tokens
    Auto-check: notes

Questions about Role Edit

What does Role Edit do?

Точечное редактирование существующей роли 1С. An agent skill from Nikolay-Shirokov/cc-1c-skills. Role Edit is an agent skill from Nikolay-Shirokov/cc-1c-skills. Точечное редактирование существующей роли 1С.

How do I install Role Edit in Claude Code?

Run `npx skills add Nikolay-Shirokov/cc-1c-skills --skill role-edit -a claude-code`. Or copy the skill folder (.claude/skills/role-edit in Nikolay-Shirokov/cc-1c-skills) into .claude/skills/role-edit in your project. Claude Code loads it when a task matches its description.

How do I install Role Edit in Codex?

Run `npx skills add Nikolay-Shirokov/cc-1c-skills --skill role-edit -a codex`. Or copy the skill folder (.claude/skills/role-edit in Nikolay-Shirokov/cc-1c-skills) into .agents/skills/role-edit in your project. Codex loads it when a task matches its description.

Can I use Role Edit in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Nikolay-Shirokov/cc-1c-skills --skill role-edit -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/role-edit, .gemini/skills/role-edit, .github/skills/role-edit and .opencode/skills/role-edit in your project.

What does Role Edit need to run?

Going by SKILL.md and its folder, Role Edit needs PowerShell and Python for the scripts in its folder. Our summary lists: Python 3; PowerShell. Its frontmatter pre-approves these tools: Bash, Read, Write, Glob.

Does Role Edit access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Role Edit safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Role Edit use?

Role Edit is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Role Edit use?

About 1.3k tokens (SKILL.md is roughly 5.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Role Edit?

Skills that share tags, products or a category with Role Edit: Aria Roles (thedaviddias/Front-End-Checklist, 74k stars), Azure Role Selector (github/awesome-copilot, 40k stars), Aria Deprecated Role (thedaviddias/Front-End-Checklist, 74k stars) and OMP Sub-Agent Role Presets (agentscope-ai/QwenPaw, 36k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Role Edit?

Nikolay-Shirokov (a GitHub user) maintains it in Nikolay-Shirokov/cc-1c-skills, which has 680 GitHub stars. The repository holds 81 skills in this directory. The repository was last updated on October 5, 2026.

Source: Nikolay-Shirokov/cc-1c-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.