permission-manager

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

5 stars

Best use case

permission-manager is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

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

Teams using permission-manager should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/permission-manager/SKILL.md --create-dirs "https://raw.githubusercontent.com/FrancoStino/opencode-skills-collection/main/bundled-skills/permission-manager/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/permission-manager/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How permission-manager Compares

Feature / Agentpermission-managerStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

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

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

## 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".

Related Skills

uv-package-manager

5
from FrancoStino/opencode-skills-collection

Comprehensive guide to using uv, an extremely fast Python package installer and resolver written in Rust, for modern Python project management and dependency workflows.

risk-manager

5
from FrancoStino/opencode-skills-collection

Monitor portfolio risk, R-multiples, and position limits. Creates hedging strategies, calculates expectancy, and implements stop-losses.

product-manager

5
from FrancoStino/opencode-skills-collection

Senior PM agent with 6 knowledge domains, 30+ frameworks, 12 templates, and 32 SaaS metrics with formulas. Pure Markdown, zero scripts.

product-manager-toolkit

5
from FrancoStino/opencode-skills-collection

Essential tools and frameworks for modern product management, from discovery to delivery.

it-manager-pro

5
from FrancoStino/opencode-skills-collection

Elite IT Management Advisor specializing in data-driven strategy, executive communication, and human-centric leadership for the 2026 digital era.

it-manager-hospital

5
from FrancoStino/opencode-skills-collection

World-class Hospital IT Management Advisor specializing in clinical safety, digital maturity (HIMSS/ONA/JCI), and HIS/PEP ecosystems.

context-manager

5
from FrancoStino/opencode-skills-collection

Elite AI context engineering specialist mastering dynamic context management, vector databases, knowledge graphs, and intelligent memory systems.

azure-resource-manager-sql-dotnet

5
from FrancoStino/opencode-skills-collection

Azure Resource Manager SDK for Azure SQL in .NET.

azure-resource-manager-redis-dotnet

5
from FrancoStino/opencode-skills-collection

Azure Resource Manager SDK for Redis in .NET.

azure-resource-manager-postgresql-dotnet

5
from FrancoStino/opencode-skills-collection

Azure PostgreSQL Flexible Server SDK for .NET. Database management for PostgreSQL Flexible Server deployments.

azure-resource-manager-playwright-dotnet

5
from FrancoStino/opencode-skills-collection

Azure Resource Manager SDK for Microsoft Playwright Testing in .NET.

azure-resource-manager-mysql-dotnet

5
from FrancoStino/opencode-skills-collection

Azure MySQL Flexible Server SDK for .NET. Database management for MySQL Flexible Server deployments.