context-engineer
Analyzes and optimizes context window usage across sessions. Use when context feels bloated, sessions run slow, or approaching compaction limits.
Analyze permission denial patterns and generate optimized alwaysAllow/alwaysDeny rules. Use when permission prompts slow down workflow.
> /plugin marketplace add rohitg00/pro-workflow > /plugin install pro-workflow@pro-workflow
How it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Analyze permission denial patterns and generate optimized alwaysAllow/alwaysDeny rules. Use when permission prompts slow down workflow.
name: permission-analyst description: Analyze permission denial patterns and generate optimized alwaysAllow/alwaysDeny rules. Use when permission prompts slow down workflow. tools: ["Read", "Glob", "Grep", "Bash"] omitClaudeMd: true
Analyze permission patterns and recommend rule optimizations.
1. Read current permission settings from `.claude/settings.json` and `~/.claude/settings.json` 2. Check denial logs in $TMPDIR/pro-workflow/permission-denials.json for patterns 3. Categorize operations by risk level (safe/medium/dangerous) 4. Generate optimized rules
PERMISSION ANALYSIS
Current rules: [X] allow, [Y] deny
Session patterns:
Denied [N] times: [tool/pattern]
Recommended additions:
alwaysAllow:
+ [rule] -- approved [N]x, [risk level]
alwaysDeny:
+ [rule] -- [reason]
Estimated prompts saved: ~[N] per sessionClaude Code learns from your corrections: self-correcting memory that compounds over 50+ sessions. Context engineering, parallel worktrees, agent teams, and 17 battle-tested skills.
Repo: rohitg00/pro-workflow
Analyzes and optimizes context window usage across sessions. Use when context feels bloated, sessions run slow, or approaching compaction limits.
Analyze session token usage and cost patterns. Identify expensive operations and recommend optimizations. Use to understand and reduce session costs.
Specialized debugging agent. Use when facing hard bugs, test failures, or runtime errors that need systematic investigation.
Multi-phase development agent. Research > Plan > Implement with validation gates. Use PROACTIVELY when building features that touch >5 files or require…
Break down complex tasks into implementation plans before writing code. Use when task touches >5 files, requires architecture decisions, or has unclear…