Skip to content
Skillpedia
Security48k · #3821

permission-manager

Helps your agent manage code permissions. It reviews allow lists and suggests safe commands to prevent issues.

What it does

This agent helps manage command permissions in a system called opencode. It reviews which commands are allowed, suggests safe commands that can run without asking for permission, and helps set up who can do what.

When to use it

  • ✓When you want to know which commands are allowed in opencode.
  • ✓When setting up which commands an AI agent can safely run.
  • ✓To review the security of command permissions.

Example of what to ask your AI

“Manage opencode permissions”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/permission-manager/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/permission-manager/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

It reads the current permission settings, shows a summary of what's allowed, and suggests changes to make the system safer, especially by allowing commands that only read information.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add sickn33/agentic-awesome-skills --skill permission-manager

Or download just the file:

curl -L https://raw.githubusercontent.com/sickn33/agentic-awesome-skills/main/plugins/agentic-awesome-skills-claude/skills/permission-manager/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

What I do

  • Review and summarize currently always-allowed commands
  • Suggest safe read-only commands for auto-approval
  • Add or remove commands from the allow list in opencode.json
  • Configure skill-level permissions (allow/deny/ask) with wildcard patterns
  • Audit permission configs for security and usability

When to Use

Use this when optimizing opencode's permission settings, reviewing allowed commands, or configuring skill access controls.

Workflow Steps

  1. Read current config: Load ~/.config/opencode/opencode.json or project-level opencode.json
  2. Summarize permissions: Identify currently allowed commands and skill permissions
  3. Suggest additions: Propose safe read-only commands for auto-allow (see recommended list below)
  4. Apply changes: Edit the config to add/remove permission entries
  5. Validate: Ensure JSON is valid after changes

Complements opencode's built-in allow/deny/ask permissions by auditing current config and recommending adjustments through conversation.

Key Rules

  • Never allow commands that modify files, commit, push, or change system state
  • Prefer exact command entries such as git status --short, git diff --stat, and ls -la
  • Avoid trailing wildcards such as git status* unless the expanded command family has been manually reviewed as read-only
  • Confirm with user before modifying permission config
  • Distinguish between bash command permissions and skill permissions
  • Keep config organized: group related commands together

Limitations

  • This skill is scoped to opencode permission configuration and should not modify other agent hosts' permission stores.
  • Treat all write-capable command permissions as high-risk; review them manually even when a pattern looks narrow.

How to trigger me

Use the Task tool with the permission-manager subagent type:

/permissions

Or in natural language, ask opencode to "manage opencode permissions" or "review allowed commands".

FAQ

What is 'opencode'?

It's a system that allows AI agents to run commands on your computer. This agent helps control which commands they can execute.

What are 'always-allow lists'?

These are lists of commands that the opencode system can run without needing to ask for permission every time.

Why is it important to review commands?

To ensure AI agents don't run dangerous commands that could change your files or system without your permission.

Details

Original description by the author

Manage opencode permissions: review always-allow lists, suggest safe read-only commands, configure permission patterns

repo: sickn33/agentic-awesome-skills

Popularity

GitHub stars
48k
Ranking position
#3821
License
MIT
Updated
10/15/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills