permission-analyzer
CommunityGenerate real permissions from session history.
AuthorArjenSchwarz
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Generate Claude Code permissions config from actual tool usage in past sessions. This helps ensure you only grant what is actually needed and automatically avoid dangerous operations.
Core Features & Use Cases
- Analyze session logs to extract Bash command prefixes and MCP tools actually used.
- Produce a ready-to-merge permissions JSON structure under the "permissions" key.
- Provide safe deny rules for dangerous commands and sensitive paths (e.g., .env, secrets/).
- Merge into existing .claude/settings.json when present, preserving other settings.
Quick Start
Run the analysis: ~/.claude/skills/permission-analyzer/scripts/analyze_permissions.py Review the JSON output and use the tool to merge into your project’s .claude/settings.json if present.
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: permission-analyzer Download link: https://github.com/ArjenSchwarz/agentic-coding/archive/main.zip#permission-analyzer Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.