fewer-permission-prompts — Reduce Permission Prompts
- Trigger:
/fewer-permission-promptsor keywords "fewer prompts", "too many permissions", "allow list" - Best for: Frequent operations blocked by permission dialogs, batch allowlisting
- Not for: Commands with uncertain safety, infrequent operations
Overview
fewer-permission-prompts scans your conversation transcripts for common read-only Bash and MCP tool calls, then adds a prioritized allowlist to .claude/settings.json to reduce unnecessary permission prompts.
Trigger Conditions
fewer-permission-prompts auto-triggers when you:
- Complain about too many permission prompts
- Use the
/fewer-permission-promptscommand
Examples
Example 1: Auto-Analysis
/fewer-permission-promptsClaude will:
- Scan recent conversation transcripts
- Count request frequency per command/tool
- Filter to read-only operations (safe to allow)
- Generate prioritized allowlist suggestions
- Write to settings.json after your confirmation
Example 2: Manual Add
/fewer-permission-prompts Allow npm test, npm run lint, and git statusSafety Principles
- Read-only only — Write, network, and destructive commands still require confirmation
- Least privilege — Allow specific commands, not wildcards
- Project-first — Prefer project-level config so other projects aren't affected
Notes
- Don't add destructive commands like
rm,git push,npm publish - Periodically audit the allowlist and remove stale entries
- Settings in
.claude/settings.local.jsonshould not be committed
Related Skills
- update-config — Manually configure permissions and other settings
- security-review — Audit project security configuration