/claude-code-tools:permissions-analyzerfrom claude-code-tools
Vets Claude Code permission allowlists against a GREEN/YELLOW/RED safety model, filtering auto-allow candidates before merging into ~/.claude/settings.json. Also toggles proactive permission-prompt suggestions on/off.
Ships in claude-code-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The mechanical scan of session history for frequently-approved commands is a job for Claude Code's
built-in /fewer-permission-prompts skill and permission auto mode (https://code.claude.com/docs/en/permissions).
This skill adds the layer neither provides: an opinionated safety filter plus a guarded
write into the user's global ~/.claude/settings.json. The built-in scan does not apply the RED
override below, so it can auto-allow commands this skill would reject — this skill applies the filter.
Pick the mode from the argument after /permissions-analyzer:
disable (or off, stop, mute) — silence the proactive suggestion nudge. Run touch ~/.claude/.disable-permissions-analyzer-suggestions, confirm the tips are off for all sessions, and mention /permissions-analyzer enable turns them back on. Do not run the vet-and-merge flow.enable (or on) — re-enable the nudge. Check whether ~/.claude/.disable-permissions-analyzer-suggestions exists, run rm -f ~/.claude/.disable-permissions-analyzer-suggestions, then confirm — say the suggestions are back on if the marker existed, or that they were never disabled if it did not. Do not run the vet-and-merge flow.The marker only governs the proactive suggestions; the flow is always available by running /permissions-analyzer with no argument.
The goal: get safe, high-frequency commands onto the auto-allow list without letting anything that can execute arbitrary code slip through.
/fewer-permission-prompts, which mines their session history and proposes an allowlist. Also accept a list the user pastes or the entries already in their permissions.allow. For users who want prompts gone entirely rather than command-by-command, mention permission auto mode as the broader option. With no candidates supplied and nothing to review, do not fabricate a classified list — route the user to /fewer-permission-prompts first, then vet what it returns..claude/settings.json allowlist without applying the RED override. When the user has already run it, read that allowlist (and the user's ~/.claude/settings.json), identify any RED entries, and — on the same explicit confirmation the write path requires — remove them from the allowlist. Flagging alone is not enough: a RED rule the built-in auto-allowed stays active until it is removed.references/safety-tiers.md. The RED override is the whole point of this skill — see below.~/.claude/settings.json on explicit confirmation.references/safety-tiers.md firstClassification rules and the permission syntax table live there. Two things matter most:
run/exec/start subcommands — is RED, even if the same tool is a "package manager" or "build tool". npm, npx, uv, bundle, pipx, bunx, deno, mise and bare interpreters (bash, python, node, ruby) are never auto-allow candidates.eslint without --fix, rubocop without -A/-a).references/security-rationale.md covers the threat model (prompt injection, supply chain, side effects) — cite it when a user pushes back on a RED.
Constraints:
~/.claude/settings.json permissions.allow. Skip a command only if it is already allowed there; a command being present in the project .claude/settings.json allowlist is not a reason to skip promoting it to the global allowlist.~/.claude/settings.json without explicit user confirmation via AskUserQuestion. Show the diff first.permissions.allow, preserve every other key in settings.json — surgical merge, never a full-file overwrite.settings.json.safety-tiers.md for rule format — don't improvise patterns.references/safety-tiers.md — Classification rules, RED override, permission syntaxreferences/security-rationale.md — Threat model and defense layersWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub intercom/2x-skills --plugin claude-code-tools4 skills in this plugin
/audit-memoryAudit Claude's saved memories for claims that no longer hold true — verify each against current code, PRs and tickets, then archive the stale ones with your approval, and name the MCPs needed for anything unverifiable.
/cc-cost-analysisAnalyze Claude Code usage costs from OpenTelemetry data — per-user spend, expensive sessions, context bloat, and model/token cost breakdowns — with a structured framework, ready-to-use query shapes, and cost-model formulas. Triggers on "analyze Claude Code costs", "break down the Claude Code bill", "find expensive sessions", "identify context bloat".
/tool-missesOther plugins' skills for the same job