本文へスキップ
Skillpedia
セキュリティ48k · #5435

permission-manager

できること

このエージェントは、opencodeというシステムでのコマンドの許可設定を管理する手助けをします。どのコマンドが許可されているかを確認し、確認なしで安全に実行できるコマンドを提案して、誰が何をできるかの設定を行うのを手伝います。

使う場面

  • ✓opencodeでどのコマンドが許可されているかを知りたいとき。
  • ✓AIエージェントが安全に実行できるコマンドを設定するとき。
  • ✓コマンドの許可設定のセキュリティを見直したいとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/permission-manager/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“opencodeの権限を管理してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

このエージェントは現在の権限設定を読み取り、許可されている内容の概要を示します。そして、特に情報を読み取るだけのコマンドを許可するなど、システムをより安全にするための変更を提案します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)を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".

よくある質問

「opencode」とは何ですか?

AIエージェントがご自身のコンピューター上でコマンドを実行できるようにするシステムです。このエージェントは、AIが実行できるコマンドを管理する手助けをします。

「常に許可するリスト」とは何ですか?

opencodeシステムが、毎回確認を求めずに実行できるコマンドの一覧のことです。

なぜコマンドを確認することが重要なのですか?

AIエージェントが、ご自身の許可なくファイルやシステムを変更してしまうような危険なコマンドを実行しないようにするためです。

詳細

作者による元の説明

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

repo: sickn33/agentic-awesome-skills

人気

GitHubのスター
48k
ランキング
#5435
ライセンス
MIT
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル