Skip to content

Guide · Agent skill

How to use the Applying a permission policy agent skill

Updated · written with AI from the project's own documentation and checked against our catalogue data

The applying-a-permission-policy skill is an agent skill from the OpenRig project. It helps an agent set the command permissions you choose in the tool that runs it, such as Claude Code or Codex, so that OpenRig agent teams ask you less often for approval of routine commands. This guide explains what the skill does, how to install it, how to ask for it in plain language, and what limits to expect. It is written for readers who have not used agent skills before.

Applying a permission policymvschwarz/openrig · Apache-2.0

Quick start

  1. 1Install the skill. Download the ZIP from this page and unzip it into ~/.claude/skills/ or a project's .claude/skills/ folder, or upload it under Settings → Capabilities → Skills in the Claude apps.
  2. 2Confirm the requirements. Make sure OpenRig is installed, an agent harness such as Claude Code or Codex is available, and you can write to the relevant native settings files.
  3. 3Ask in plain language. Tell the agent you want to configure OpenRig command permissions or reduce repeated approval prompts before launching a team.
  4. 4Pick a scope. Choose keep the team default, remember selected commands for a project, or another option the agent explains.
  5. 5Review the diff. Read the proposed changes to the settings files before the agent applies them, including the backups it will make.
  6. 6Verify the result. Let the agent run harmless matching commands twice and check the effective settings and any remaining prompts.

What is an agent skill and what does this one do?

An agent skill is a folder with a SKILL.md file that gives an AI agent instructions for one kind of task. This skill covers one task: configuring command permissions for an OpenRig agent team in the harness that runs the agent.

The skill explains the permission options, recommends keeping the safe team default, and only adds allow rules you explicitly approve. It backs up files before editing them and avoids adding duplicate entries. It also states that some lifecycle commands still ask for approval even after you say yes.

Install the skill in Claude Code or the Claude apps

Download the ZIP file from the skill's page on this directory and unzip it into ~/.claude/skills/ for your user account, or into a project's .claude/skills/ folder to limit it to one project.

In the Claude apps, you can instead upload the skill under Settings → Capabilities → Skills.

  • Requirements: OpenRig installed, an agent harness such as Claude Code or Codex, and write access to the relevant native settings files (project or user config).

Trigger the skill with natural requests

You do not need a special command. The skill is meant to be used before launching a team during agent-guided setup, or when you ask the agent to configure OpenRig command permissions, reduce repeated native approval prompts, or apply a selected rig or seat permission policy.

  • Configure OpenRig command permissions for this project.
  • Reduce the repeated approval prompts my agent team keeps showing me.
  • Apply the permission policy I chose for this seat.
  • Set up the team before we launch it, and ask me which permissions I want.

Choose the scope of permissions

The agent explains the options and asks which one you want unless an explicit choice already exists. The source describes four choices: keep the team default, prompt for everything (only on explicit request), remember selected commands, or broader permissive operation.

  • Keep the team default: leaves an unset policy unset and preserves your current native settings. Claude lifecycle asks remain.
  • Prompt for everything (none): an explicit opt-out of the team allowances. Native rules still decide each prompt.
  • Remember selected commands: adds native allow rules for the chosen command family or narrower verbs, leaving other rules intact.
  • Broader permissive operation: explains filesystem and network exposure and needs its own explicit opt-in.

Understand what the agent changes and how you undo it

Before writing, the agent identifies the target settings files, reads existing rules, and prepares a diff. It preserves deny and ask rules, sandbox posture, hooks, auth, MCP and model settings. Backups are made of touched files, and only authorized additions are merged.

To reverse the changes, use this request: Undo the OpenRig command allowances added by this setup; keep my other rules. The agent removes only the recorded entries from their exact files. For Claude it removes the permissions.allow entries it added; for Codex it removes the prefix_rule entries.

  • Whole-family allows match all rig verbs, including lifecycle and topology changes. Narrower prefixes such as rig ps or rig queue list are offered when they fit better.

Check that the change loaded

After applying a change, the agent validates the format and confirms whether your version needs a new session. It then verifies an ordinary matching command twice in the target conversation and checks that an unrelated command gained no matching rule, using harmless reads only.

A file write does not prove that an existing conversation loaded the change, and a command already allowed by the launch default does not prove that a new rule is active.

What people use it for

  • Setting up a new OpenRig agent team and deciding which rig commands the agents may run without asking each time.
  • Reducing repeated approval prompts for routine read-only rig commands such as rig ps in one project.
  • Keeping a clear, reversible record of added allow rules so you can later ask the agent to remove only those entries.
  • Checking which permissions are still active after a change, and which lifecycle commands still prompt.

Frequently asked questions

Is the applying-a-permission-policy skill free to use?

The source material for this page does not state pricing or licence terms beyond the listed licence, Apache-2.0. Check the OpenRig repository for the terms that apply to the project.

What do I need to use this skill?

You need OpenRig installed, an agent harness such as Claude Code or Codex, and write access to the relevant native settings files at project or user level. The skill does not run scripts and does not use the network.

Will this skill stop all approval prompts?

No. The skill states that native rules still prompt for lifecycle commands, installs, commits and writes outside writable roots. With the Claude team default, commands such as rig up and rig down still ask even after you say yes.

How do I install it in Claude Code?

Download the ZIP from this page and unzip it into ~/.claude/skills/ for all your projects, or into a project's .claude/skills/ folder for one project. In the Claude apps you can upload it under Settings → Capabilities → Skills.

Is it safe to let the agent change my permission settings?

The skill backs up touched files, preserves existing deny and ask rules, and adds only the allowances you approve. Broader filesystem or network access is a separate explicit opt-in, and the skill treats it as widening exposure, so review it carefully.

How do I undo the changes?

Ask the agent: Undo the OpenRig command allowances added by this setup; keep my other rules. The agent removes only the entries it recorded from their exact files, and it does not restore the whole backup over later changes.

New agent skills, repos and AI tools — every week

The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.

Our verdict

This skill suits developers setting up OpenRig agent teams who want fewer repeated approval prompts and a clear, reversible way to control which rig commands agents can run. It is not the right choice if you expect fully prompt-free operation, or if you need broad filesystem or network access without careful review, since the skill itself treats that as a separate opt-in that widens exposure.

Download the skill

Find exactly what
you're looking for