一键导入
config-grant-permission
{{ 𝚫𝚫𝚫 }} Grant a permission rule globally or for the current project
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
{{ 𝚫𝚫𝚫 }} Grant a permission rule globally or for the current project
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
{{ 𝚫𝚫𝚫 }} Rebuild roadmap-system.zip, the distributable snapshot of the roadmap tooling (scripts, HTML template, conventions reference, and every roadmap-touching skill, including this one).
{{ 𝛀𝛀𝛀 }} Create a project roadmap in the rich phase-array format — roadmaps.json as source of truth plus a PHASE task list and prose overview
{{ 𝛀𝛀𝛀 }} Recompute and synchronise roadmap task statuses across roadmaps.json and its projections, with optional codebase reconciliation
{{ 𝛀𝛀𝛀 }} Add a task to a rich-format project roadmap with correct ID, dependency wiring, and graph integrity — ID assignment, status computation, dependency edges in both directions, and no unconnected islands.
Git workflow: branch management, commit conventions, PR patterns, conflict resolution.
{{ 𝛀𝛀𝛀 }} Review a pull request and post it as a GitHub review
| name | Config: Grant Permission |
| description | {{ 𝚫𝚫𝚫 }} Grant a permission rule globally or for the current project |
| when_to_use | When the user says things like 'allow X', 'add permission for Y', 'stop asking me about Z', or wants a Bash/tool rule added to settings without hand-editing JSON. |
| model | haiku |
| effort | low |
| disable-model-invocation | true |
| allowed-tools | ["Bash(python3 ~/.claude/library/scripts/config_permit.py:*)","Read"] |
| arguments | ["scope","rule"] |
| argument-hint | [global|project] [permission rule, e.g. Bash(svu:*)] |
Add the permission rule to permissions.allow at the requested scope. Replaces the former config-permit-global / config-permit-project pair; the JSON handling lives in a script so the array append, dedupe and sync are one deterministic command — do not hand-edit the settings files as a fallback.
Both arguments are required. If $scope is not global or project, or $rule is empty, ask rather than guessing — a permission grant is not a place for inference.
Run:
python3 ~/.claude/library/scripts/config_permit.py $scope "$rule"
~/.claude/settings.local.jsonc (comments preserved) and runs the settings-sync hook automatically..claude/settings.local.json in the current project, creating it if absent.Report the script's output verbatim: added, already present, or the error. On exit 2, surface the message and stop — if the script could not find the allow array, tell the user the file needs a look rather than editing it yourself.