Audit Permission State
If fewer-permission-prompts resolves in this session, prefer it for prompts; this skill merges every settings scope read-only into allow/ask/deny set in…
от melodic-software★ 34 звезды на GitHub
Установить Audit Permission State в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Audit permission state
Arguments. [--unattended] [--scopes] [--entry-diff] [--lint] [--managed] [--block] [--oracle] [--critique]. Full form: (none) every read-only stage | [--scopes] [--entry-diff] [--lint] [--managed] [--block] narrow | [--oracle] [--critique] priced
Purpose
For "where is this rule written", use /permissions. This skill answers a different question: it
computes the merged allow/ask/deny outcome itself, locally and off a live session, as line records a
script can read, and it reports a scope it could not read apart from one that was empty.
- Pointer: when deciding whether a built-in surface already exports the merged set, fetch
CLI commands and the
/permissionsrow of commands: all commands live. - Recheck trigger: a release note mentions a permissions export or a
/permissionsexport action, or either section adds one.
It answers a question the siblings do not. audit-permission-grants asks whether the grants you
wrote are durable and portable; audit asks whether your config files are correct. This
skill asks what is in effect: which scopes exist on this machine, which of them this reader
could actually open, and what each one holds.
Scope boundary (route out)
- Grant portability and auto-mode durability (P1/P2/P3) →
harness-config:audit-permission-grants. - Settings-file correctness outside the permission plane (schema and unknown keys, baseline
deny/ask presence, deny-rule placement, MCP, hooks, plugin drift) →
harness-config:audit. The permission plane's own dead config, thedisableAutoModetype trap, and rules that cannot match stay here, in Phase 4: they are read across all five scopes at once, which is this skill's asset and not something a project-scope reader can do. - The instruction layer (CLAUDE.md, a natively read AGENTS.md, rules, auto-memory) → the
harness-memoryplugin.
Boundary, native Claude Code surfaces
Two native surfaces act on the same permission rules this skill reports, so "fix my permissions" can mean any of the three.
fewer-permission-prompts(bundled skill): writes an allowlist into project settings to cut prompts. Either the model or the person may run it./permissions(built-in command). The person's interactive editor for rules by scope and for auto mode's classifier rules. This skill never runs it.- This skill (marketplace plugin). Computes the effective merged set across every scope, off a live session, with source, precedence, auto mode drops, and dead config. It writes nothing.
The built-in /status command is the person's in-session view (what it lists: its row of All commands).
This skill never runs it; its inert record, naming the rule that outranked each beaten entry, is the evidence-backed answer off a live session.
Native suggestions are on unless native_suggestions resolves off: the native_suggestions key of <home>/harness-config.local.yaml wins over the same key of <home>/harness-config.yaml (<home> is what bash "${CLAUDE_PLUGIN_ROOT}/lib/resolve-convention-home.sh" prints, else docs/conventions), which wins over the per-user value ${user_config.native_suggestions} (a literal unexpanded token means unset); with none set they are on. A value other than on or off is named and that layer dropped: a valid higher layer still wins, otherwise on, never a lower layer's value. When off, skip the /permissions offer below and write nothing in its place, not even a note that it was skipped or why.
Routing. When the bundled fewer-permission-prompts skill resolves in this session, prefer it
for reducing prompts by writing an allowlist; prefer this skill to see what is in effect. When the
report ends with a rule the person wants added, removed, or moved, offer it to the person:
If /permissions is available in your session (gate basis: it varies by version and host; records
in reference/native-surfaces.md) and native suggestions are on
(native_suggestions, Configuration), you can run it to view and
edit these rules interactively. When the caller passes
--unattended, omit the offer, write Withheld suggestion (unattended): /permissions in the
output, and do not ask; without that flag it asks.
Mutation gate. fewer-permission-prompts writes project settings, and /permissions writes
whichever scope the person edits. This skill never chains into either on its own behalf.
Availability is never assumed. Settings, version and host decide whether either surface resolves; this section states what to do when they resolve, never that they are present. The four-part records live in reference/native-surfaces.md.
Report-only, permanently
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- evals/evals.json
- reference/criteria.md
- reference/gotchas.md
- reference/native-surfaces.md
- scripts/audit.sh
- scripts/audit.test.sh
- scripts/automode-block-lint.sh
- scripts/automode-block-lint.test.sh
- scripts/automode-entry-diff.sh
- scripts/automode-entry-diff.test.sh
- scripts/managed-conformance.sh
- scripts/managed-conformance.test.sh
- scripts/no-writes.test.sh
- scripts/permission-merge.sh
- scripts/permission-merge.test.sh
- scripts/permission-plane-lint.sh
- scripts/permission-plane-lint.test.sh
- scripts/permission-state-primary-dir.test.sh
- scripts/permission-state.sh
- scripts/permission-state.test.sh
- scripts/test-helpers.sh
FAQ
Что делает скилл Audit Permission State?
If fewer-permission-prompts resolves in this session, prefer it for prompts; this skill merges every settings scope read-only into allow/ask/deny set in effect (source/precedence per rule), flagging auto-mode drops. Use when: 'what permissions are actually in effect', 'which of my rules survive auto mode', 'is my managed policy being read'.
Как установить скилл Audit Permission State?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Audit Permission State запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…