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.
/plugin marketplace add melodic-software/claude-code-plugins/plugin install harness-configWrote 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.
[](https://agentmods.dev/skills/melodic-software/claude-code-plugins/audit-permission-state)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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.
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
/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.
What ships with it
23 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- evals/evals.json 2.9 KB
- evals/fixtures/automode-config-rawctl.json 454 B
- evals/fixtures/automode-defaults.json 557 B
- reference/criteria.md 43 KB
- reference/gotchas.md 4.0 KB
- reference/native-surfaces.md 3.3 KB
- scripts/audit.sh 3.5 KB runs code
- scripts/audit.test.sh 3.9 KB runs code
- scripts/automode-block-lint.sh 14 KB runs code
- scripts/automode-block-lint.test.sh 11 KB runs code
- scripts/automode-entry-diff.sh 13 KB runs code
- scripts/automode-entry-diff.test.sh 20 KB runs code
- scripts/managed-conformance.sh 9.4 KB runs code
- scripts/managed-conformance.test.sh 8.0 KB runs code
- scripts/no-writes.test.sh 4.9 KB runs code
- scripts/permission-merge.sh 16 KB runs code
- scripts/permission-merge.test.sh 20 KB runs code
- scripts/permission-plane-lint.sh 21 KB runs code
- scripts/permission-plane-lint.test.sh 26 KB runs code
- scripts/permission-state-primary-dir.test.sh 6.8 KB runs code
- scripts/permission-state.sh 16 KB runs code
- scripts/permission-state.test.sh 18 KB runs code
- scripts/test-helpers.sh 1.3 KB runs code
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.
- yesterday Changed · -32 tokens per session aea1a8c8a2dc
- 3d ago Changed · +2 lines 9b1d3ce7696d
- 6d ago Changed · +10 lines dcf6df3b48da
- 8d ago Changed 35838dafce4a
- 11d ago Changed · -2 lines 94b7e35466a6
- 14d ago Changed · +1 lines f90178f3fd78
- 16d ago Changed · +1 lines 53df62a1c382
- 17d ago Changed · -12 lines 2cb86da4ff4e
- 19d ago Changed · +5 lines 10cf4087fa56
- 25d ago First seen · 396 lines · 107 tokens per session scan A 334a068a8dd2
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.
audit-permission-state compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| audit-permission-statemelodic-software/claude-code-plugins | Skill | 33 | today | MIT | A | 75 | Claude Code |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 101k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 395k | today | MIT | A | 36 | Claude Code |
| systematic-debuggingobra/superpowers | Skill | 330k | 2d ago | MIT | A | 21 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 14k | yesterday | CC0-1.0 | A | 113 | Claude Code, Codex |
| next-cache-components-adoptionvercel/next.js | Skill | 144k | today | MIT | A | 95 | Claude Code |