audit-permission-state

audit-permission-state is a skill for Claude Code from melodic-software/claude-code-plugins. It costs 75 tokens per session (6,216 once invoked), scanned A, original, MIT.

A report of which Claude Code permissions are actually active on a computer. It reads permission settings from managed, user, project, local, and older start-directory locations, then works out which rules allow, ask, or deny actions.

In plain words
What is it for?
Use it to inspect the active permission state, trace rules to their sources, understand precedence, and provide the result to another tool.
Why use it?
Permission files can contain conflicting rules, and simply listing them does not show which rule wins. This explains the effective result and identifies settings that could not be read.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the harness-config plugin — 8 skills shipped together

Good fit Use it to inspect the active permission state, trace rules to their sources, understand precedence, and provide the result to another tool.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add melodic-software/claude-code-plugins
Claude Code
/plugin install harness-config

Made for: Claude Code.

Or install harness-config, the plugin that ships this one along with the rest of its 8 skills.

Wrote 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.

agentmods badge for audit-permission-state

README.md
[![agentmods](https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/audit-permission-state/github.svg)](https://agentmods.dev/skills/melodic-software/claude-code-plugins/audit-permission-state)
Your own site
<a href="https://agentmods.dev/skills/melodic-software/claude-code-plugins/audit-permission-state"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/audit-permission-state/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.

agentmods 80×15 button for audit-permission-state

Your own site · 80×15
<a href="https://agentmods.dev/skills/melodic-software/claude-code-plugins/audit-permission-state"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/audit-permission-state.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,216 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00075 $0.06216
Opus 5.5 $0.00030 $0.02486
Sonnet 5.5 $0.00015 $0.01243
Haiku 4.5 $0.00007 $0.00622

Measured yesterday against content hash aea1a8c8a2dc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

audit-permission-state 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 yesterday.

The scan reads SKILL.md. This mod also ships 17 executable files (scripts/audit.sh, scripts/audit.test.sh, scripts/automode-block-lint.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/harness-config/skills/audit-permission-state/SKILL.md · 401 lines

How it starts

The opening of the file, as written. The whole thing — 401 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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 /permissions row of commands: all commands live.
  • Recheck trigger: a release note mentions a permissions export or a /permissions export 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, the disableAutoMode type 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-memory plugin.

Read the full file on GitHub · 401 lines

Changes

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.

  1. yesterday Changed · -32 tokens per session aea1a8c8a2dc
  2. 3d ago Changed · +2 lines 9b1d3ce7696d
  3. 6d ago Changed · +10 lines dcf6df3b48da
  4. 8d ago Changed 35838dafce4a
  5. 11d ago Changed · -2 lines 94b7e35466a6
  6. 14d ago Changed · +1 lines f90178f3fd78
  7. 16d ago Changed · +1 lines 53df62a1c382
  8. 17d ago Changed · -12 lines 2cb86da4ff4e
  9. 19d ago Changed · +5 lines 10cf4087fa56
  10. 25d ago First seen · 396 lines · 107 tokens per session scan A 334a068a8dd2

Subscribe to this mod's changes

audit-permission-state is a skill published in the GitHub repository melodic-software/claude-code-plugins (33 stars, last pushed today), licensed MIT. It adds 75 tokens to every session and 6,216 once invoked, about $0.0003 per session on Opus 5.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-08-30.

Related

audit-permission-state compared with skills from other repositories

audit-permission-state next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
audit-permission-statemelodic-software/claude-code-pluginsSkill33todayMITA75Claude Code
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill330k2d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill14kyesterdayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code