Permissions Analyzer

Vet a Claude Code permission allowlist against a GREEN/YELLOW/RED safety model and reduce permission prompts. Runs on top of the built-in /fewer-permission-prompts scan (and permission auto mode): filters proposed auto-allow commands through a GREEN/YELLOW/RED safety model — never auto-allowing interpreters or package-manager executors — before merging the safe ones into ~/.claude/settings.json. Also turns the proactive "reduce your prompts" suggestions off or on (disable/enable).

280 stars 15 forksAI, LLMs & Agents Plugin marketplace

Install

Claude Code plugin
/plugin marketplace add intercom/2x-skills

The repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add intercom/2x-skills --skill permissions-analyzer
Manual install
git clone --depth 1 https://github.com/intercom/2x-skills.git /tmp/2x-skills
mkdir -p ~/.claude/skills
cp -r /tmp/2x-skills/plugins/claude-code-tools/skills/permissions-analyzer ~/.claude/skills/permissions-analyzer

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Permissions Analyzer

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.

## Modes

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.
- **No argument (default)** — run the vet-and-merge flow below.

The marker only governs the proactive suggestions; the flow is always available by running `/permissions-analyzer` with no argument.

## Vet-and-merge flow
Read the full skill on GitHub

Details

Skill name
permissions-analyzer
Path
plugins/claude-code-tools/skills/permissions-analyzer/SKILL.md
License
MIT
Repo updated
11 November 2026

FAQ

What does the Permissions Analyzer skill do?

Vet a Claude Code permission allowlist against a GREEN/YELLOW/RED safety model and reduce permission prompts. Runs on top of the built-in /fewer-permission-prompts scan (and permission auto mode): filters proposed auto-allow commands through a GREEN/YELLOW/RED safety model — never auto-allowing interpreters or package-manager executors — before merging the safe ones into ~/.claude/settings.json. Also turns the proactive "reduce your prompts" suggestions off or on (disable/enable).

How do I install the Permissions Analyzer skill?

Claude Code plugin: /plugin marketplace add intercom/2x-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Permissions Analyzer popular?

It lives in intercom/2x-skills, which has 280 GitHub stars and 15 forks.

Related skills

Attach Github Assets

280

intercom/2x-skills

Upload local files (screenshots, screen recordings, images, videos) to GitHub as user-attachment assets and return markdown-ready URLs for PR descriptions, issue bodies, or PR/issue comments.

Git & Code Review15

Audit Memory

280

intercom/2x-skills

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

Productivity & Notes15

Cc Cost Analysis

280

intercom/2x-skills

Analyze 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".

AI, LLMs & Agents15

Skill Review

280

intercom/2x-skills

Review Claude Code skills against substantive quality standards — an 8-category rubric with JSON output, single-pass full-rubric review, and a determinism contract. Complements Anthropic's `plugin-dev:skill-reviewer` (structural checks). Use for: "review a skill", "check skill quality", "does this skill need evals", "review skill quality".

AI, LLMs & Agents15

Five Whys

280

intercom/2x-skills

Run an evidence-grounded five-whys RCA: claims verified by fact-checker subagents, causal links stress-tested by a cynic subagent. For internal RCAs, post-mortems, "why did this happen". Not for customer-facing incident write-ups.

AI, LLMs & Agents15

Tool Misses

280

intercom/2x-skills

Scan recent Claude Code sessions for "command not found" errors and BSD/GNU incompatibilities on macOS, fix them via Homebrew, and record availability in CLAUDE.md; runs only when the user invokes /tool-misses (scan | on | off | status).

AI, LLMs & Agents15

Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.