opencode-permission
CommunityControl OpenCode command approvals with ease.
AuthorCNife
Version1.0.0
Installs0
System Documentation
What problem does it solve?
OpenCode can interrupt every shell command for confirmation; this Skill centralizes permission rules so common commands can run automatically, be blocked, or still ask for confirmation without manual config editing.
Core Features & Use Cases
- Rule Management: Add, remove, list, and format bash permission patterns in opencode.jsonc.
- Safe Config Editing: Preserves JSONC comments, creates timestamped backups, and keeps rules formatted one per line.
- Practical Scenarios: Allow routine commands like kubectl get *, require confirmation for git push *, or deny dangerous patterns like rm -rf *.
Quick Start
Ask me to add, remove, or list OpenCode permission rules for specific shell commands and I will update the configuration safely.
Dependency Matrix
Required Modules
json-five
Components
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: opencode-permission Download link: https://github.com/CNife/skills/archive/main.zip#opencode-permission 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 536,000+ vetted skills library on demand.