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-grants)<a href="https://agentmods.dev/skills/melodic-software/claude-code-plugins/audit-permission-grants"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/audit-permission-grants/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-grants"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/audit-permission-grants.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.00065 | $0.03361 |
| Opus 5.5 | $0.00026 | $0.01344 |
| Sonnet 5.5 | $0.00013 | $0.00672 |
| Haiku 4.5 | $0.00006 | $0.00336 |
Grade A, and why
audit-permission-grants scanned grade A with 1 finding 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 today.
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.
Reads agent configuration directorieslowAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
operator-manual (the bare-name rule must land in user-global `~/.claude/settings.json`, which a skill Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
How it starts
The opening of the file, as written. The whole thing — 230 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Arguments. [frontmatter|settings|plugins|all] [--unattended]. default: all
Purpose
Audit whether a repo's permission grants actually take effect. Answers a question the sibling
audit skill does not: "Are our allow-rules and allowed-tools grants portable across
machines and durable when the session enters auto mode, and is the operative rule in a place that can
work?"
The principle, the three anti-patterns, and the correct pattern (with official-doc citations) live in the marketplace's permission-rule-hygiene convention, published at https://raw.githubusercontent.com/melodic-software/claude-code-plugins/main/docs/contracts/permission-rule-hygiene/README.md. The mechanical check definitions (P1/P2/P3, severities, detector invocation) are in reference/criteria.md, which carries every recommendation this skill needs at run time. The convention is the doctrine's owner, not a runtime dependency.
Scope boundary (route out)
This skill owns grant portability + auto-mode durability + who adds the operative rule. It does not
own config-file correctness. Baseline deny/ask presence, overly broad patterns, and live plugin
drift belong to the sibling audit skill. When a request is about
those, route it there rather than answering here. The audit skill in the harness-memory plugin
owns the instruction layer (CLAUDE.md / a natively read AGENTS.md / rules / auto-memory).
Arguments
Parse $ARGUMENTS for an optional scope filter. It narrows which checks may produce findings,
never what the detector scans. One full detector run happens either way, and the filter is
applied to its output:
frontmatter: skill/command/agentallowed-toolsonlysettings: project, local, and user-globalpermissions.allowonlyplugins: pluginsettings.jsonself-grant (P3) onlyall: everything (default)
--unattended, anywhere in the arguments, is not a filter: the caller declares nobody is present, which changes only
the /permissions offer (see "Boundary" below). Take it out before reading the filter, and never
pass it to the detector.
What ships with it
6 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.
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.
- today Changed bf1e63caa06f
- yesterday Changed · -29 tokens per session a19b44a82e1e
- 9d ago Changed 4e17df0369ec
- 14d ago Changed · +1 lines 9000954dfaf0
- 17d ago Changed · -4 lines fb61c090f153
- 19d ago Changed f4dd018160ab
- 25d ago Changed · +1 lines bf5cff926c9e
- 26d ago Changed · +7 lines b5c26055c10d
- 27d ago Changed 62f0f6d50007
- 28d ago First seen · 225 lines · 94 tokens per session scan A 0945ecc6ae64
audit-permission-grants is a skill published in the GitHub repository melodic-software/claude-code-plugins (33 stars, last pushed today), licensed MIT. It adds 65 tokens to every session and 3,361 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
audit-permission-grants compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| audit-permission-grantsmelodic-software/claude-code-plugins | Skill | 33 | today | MIT | A | 65 | 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 |