applying-a-permission-policy
O que ela faz
Esta skill configura as escolhas de permissão de comando que um agente de programação usa durante a configuração de uma equipe no OpenRig. Ela serve para quem monta equipes de agentes e quer aprovações claras e limitadas.
Quando usar
- ✓Quando você está montando uma equipe de agentes e precisa escolher permissões de comando.
- ✓Quando um agente pede aprovação de comandos comuns o tempo todo e você quer menos solicitações.
- ✓Quando você quer aplicar uma política de permissão salva a um rig ou posto.
Link da skill
https://github.com/mvschwarz/openrig/blob/main/packages/daemon/assets/plugins/openrig-core/skills/applying-a-permission-policy/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Configure as permissões de comando da minha equipe de agentes para que os comandos rotineiros de rig e de teste rodem sem pedidos repetidos.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
Ela pede sua escolha uma vez, aplica somente as permissões aprovadas nas configurações do próprio agente e explica quais pedidos continuam aparecendo.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
Applying a permission policy
Configure the user's chosen permissions in the harness that runs the agent. OpenRig operating posture, native command rules, sandbox access and launch flags are separate controls. A command rule grants execution capability, not authority to invent tasks, publish work or change another host.
Ask once before team launch
Reuse an existing explicit choice for these harnesses and this scope from the user's onboarding context; do not ask again. Existing rules are configuration, not evidence of consent to expand their scope. Preserve them without expansion.
For a team with no explicit policy, recommend keeping the team default. Claude
already allows ordinary rig commands, project reads and common tests, while
lifecycle commands ask. Codex already has writable workspace and pod state;
its on-request policy does not guarantee lifecycle prompts. Explicit
policies, seat choices and named Codex profiles keep their existing meaning.
Native restrictions can still prompt for installs, commits, other shell
commands and writes outside writable roots. With the Claude team default, an
allow does not override lifecycle ask rules: rig up, rig down and the other listed
lifecycle commands still ask even after Yes. Do not promise prompt-free operation.
Only offer additional persistent allowances when wanted, for the selected project or explicitly user-wide scope, or to adjust an explicit seat policy:
Remember these selected OpenRig commands in your native settings for this project? This is separate from the team launch default; stricter rules and Claude lifecycle asks remain. Yes / No — keep the team default
- Yes: require an affirmative answer, then apply the procedure below only at the agreed scope. Do not replace ask/deny rules or substitute user-wide settings when project rules are unsupported.
- No / no answer: leave settings and any existing explicit choice unchanged.
With no policy selected, keep it unset; never record
noneto mean keeping the team default. Do not repeat the question during this setup.
A recommendation is not consent. Broader filesystem/network access requires its own explicit choice; permission consent is separate from launch approval.
Remember an explicit Yes or No in the existing onboarding/project context the agent already reads: choice, harnesses and scope. For Yes, record the exact files and entries added, any pre-existing equivalents, and the loading/verification result. Do not add a preference service or native configuration key. No answer is not a remembered No. Offer broader permissive operation only as a separate explicit opt-in; the setup question does not select a builtin policy or mode.
Choose the intended scope
Outside the setup question above, use an existing explicit choice; otherwise explain these options and ask which the user wants. Do not reopen the menu after an answered setup question or ask again for routine steps already authorized.
| Choice | What the agent configures |
|---|---|
| Keep the team default | Leave an unset policy unset and preserve current native settings; Claude lifecycle asks and other native restrictions remain. Preserve any existing explicit choice. |
“Prompt for everything” (none) |
Only on an explicit request, opt out of the team allowances. Native rules still decide each prompt; none does not guarantee a prompt for every command. |
| Remember selected commands | Add native allow rules for the chosen family or narrower verbs, leaving other rules and sandbox settings intact. |
| Broader permissive operation | Explain filesystem/network exposure and configure only the explicitly selected native mode and compatible launch settings. |
If repeated approvals later interrupt the work, name the actual commands and offer a scoped adjustment then. Keep the existing choice until the person accepts a change; do not promise to adjust later and silently leave the burden with them. Do not reopen an answered choice for each routine operation.
A whole-family allow matches all rig verbs, including lifecycle,
topology/config changes and commands that can launch other processes. It is not
a read-only grant, but stricter ask/deny rules still win. Offer narrower prefixes
such as rig ps or rig queue list when that better fits the request. Do not widen a choice to arbitrary shell
execution, an entire interpreter or a generic shell wrapper.
Apply the choice for the user
- Iden
Perguntas frequentes
Ela concede todas as permissões?
Não. A skill aplica apenas as escolhas que você aprova e não amplia as regras existentes.
Todos os pedidos vão desaparecer?
Não. A skill diz que alguns comandos de ciclo de vida e de instalação ainda pedem confirmação, então não promete um trabalho sem pedidos.
Quais ferramentas de agente ela cobre?
Ela cobre os harnesses usados nas equipes do OpenRig, como Claude e Codex.
Detalhes
Descrição original do autor
Use before launching a team during agent-guided setup, or when a user asks to configure OpenRig command permissions, reduce repeated native approval prompts, or apply a selected rig/seat permission policy.
repo: mvschwarz/openrig
Popularidade
- Estrelas no GitHub
- 8,6 mil
- Posição no ranking
- #12384
- Licença
- Apache-2.0
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
agent-operated-software
8,6 milAjuda seu agente a projetar, construir ou depurar um app contínuo cujo backend em execução inclui agentes de IA, como um painel de controle de agentes em Markdown ou JSON.
agent-operated-workflows
8,6 milAjuda seu agente a decidir se um procedimento limitado deve ser executado por um agente de IA ou por código comum, e como retomá-lo a partir de evidências verificadas.
claude-compaction-restore
8,6 milAjuda um agente do Claude Code a reconstruir sua visão de trabalho depois que o contexto é compactado, usando um mapa de restauração salvo, a transcrição e os arquivos tocados.
delegating-work
8,6 milAjuda seu agente a decidir quem deve fazer uma tarefa, ele mesmo, um subagente ou um colega que já tem o contexto, e como orientar esse trabalhador.
Skills parecidas
add-model-provider
394 milPermite que seu agente conecte um novo provedor de modelos de IA ao OpenClaw com comandos seguros, guarde as chaves de API com segurança e faça um teste ao vivo.
acp-router
394 milAjuda seu agente a enviar uma tarefa a um assistente de programação, como Claude Code ou Cursor, pelo OpenClaw, para que o trabalho rode nessa ferramenta.
browser-automation
394 milEnsina seu agente a controlar páginas web passo a passo, incluindo logins, abas e recuperação quando uma página para de responder.