optimize-permissions
CommunityTune opencode permissions with usage guardrails.
Authormichaeldwan
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill analyzes opencode permission prompts and actual usage to identify wasteful checks and misconfigurations, enabling teams to reduce friction while maintaining security.
Core Features & Use Cases
- Usage-analysis: scans the opencode database to surface the most frequent prompts and denial counts, prioritizing guardrails where they matter.
- Config-audit: reviews current permission rules (including last-match-wins semantics) to find redundant, conflicting, or missing guardrails.
- Actionable guidance: provides concrete recommendations and a plan to update the global opencode.jsonc with minimal risk.
Quick Start
Ask your agent to run the optimize-permissions analysis and generate recommended guardrails for your permission config.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: optimize-permissions Download link: https://github.com/michaeldwan/opencode-permission-optimizer/archive/main.zip#optimize-permissions 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 471,000+ vetted skills library on demand.