applying-a-permission-policy
यह क्या करती है
यह स्किल OpenRig टीम सेटअप के दौरान AI coding एजेंट की कमांड अनुमति चुनाव को कॉन्फ़िगर करती है। यह उन लोगों के लिए है जो एजेंट टीमें सेट करते हैं और साफ़, सीमित मंज़ूरियां चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप एजेंट टीम सेट कर रहे हैं और कमांड अनुमतियां चुननी हैं।
- ✓जब एजेंट आम कमांड पर बार-बार मंज़ूरी मांगता है और आप कम प्रॉम्प्ट चाहते हैं।
- ✓जब आप सहेजी अनुमति नीति को किसी rig या seat पर लागू करना चाहते हैं।
Skill का लिंक
https://github.com/mvschwarz/openrig/blob/main/packages/daemon/assets/plugins/openrig-core/skills/applying-a-permission-policy/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरी एजेंट टीम के लिए कमांड अनुमतियां सेट कीजिए, ताकि रोज़ के rig और टेस्ट कमांड बार-बार पूछे बिना चलें।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह आपसे एक बार पसंद पूछती है, केवल वही अनुमतियां लागू करती है जो आप मंज़ूर करें, एजेंट की अपनी सेटिंग्स में, और बताती है कि कौन से प्रॉम्प्ट बाकी रहेंगे।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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
अक्सर पूछे जाने वाले सवाल
क्या यह हर अनुमति दे देती है?
नहीं, स्किल केवल वही विकल्प लागू करती है जो आप मंज़ूर करें, और मौजूदा नियमों का विस्तार नहीं करती।
क्या सारे प्रॉम्प्ट खत्म हो जाएंगे?
नहीं, स्किल कहती है कि कुछ lifecycle और install कमांड अब भी पूछेंगे, इसलिए बिना प्रॉम्प्ट काम का वादा नहीं है।
यह किन एजेंट टूल्स को कवर करती है?
यह OpenRig टीमों में इस्तेमाल होने वाले harnesses को कवर करती है, जैसे Claude और Codex।
जानकारी
लेखक का मूल विवरण
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
लोकप्रियता
- GitHub स्टार
- 8.6k
- रैंकिंग में स्थान
- #12384
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
agent-operated-software
8.6kयह आपके एजेंट को ऐसे चालू ऐप को डिज़ाइन, बनाने या डीबग करने में मदद करती है जिसके लाइव बैकएंड में AI एजेंट शामिल हैं, जैसे Markdown या JSON control plane।
agent-operated-workflows
8.6kयह आपके एजेंट को तय करने में मदद करती है कि कोई सीमित प्रक्रिया AI एजेंट चलाए या साधारण कोड, और सत्यापित सबूत से उसे कैसे फिर से शुरू करे।
claude-compaction-restore
8.6kयह Claude Code एजेंट को compact होने के बाद सहेजे restore map, उसके transcript और छुई गई फ़ाइलों से अपनी कार्य-समझ फिर बनाने में मदद करती है।
delegating-work
8.6kयह आपके एजेंट को तय करने में मदद करती है कि काम कौन करे: वह खुद, एक subagent, या ऐसा साथी जिसके पास संदर्भ पहले से है, और उस कार्यकर्ता को कैसे समझाएं।
मिलती-जुलती skills
add-model-provider
394kयह आपके एजेंट को सुरक्षित कमांड से OpenClaw में नया AI मॉडल प्रोवाइडर जोड़ने, API कीज़ को सादे टेक्स्ट से बचाने और लाइव टेस्ट चलाने देती है।
acp-router
394kयह आपके एजेंट को OpenClaw के ज़रिए Claude Code या Cursor जैसे कोडिंग असिस्टेंट को काम भेजने देती है, ताकि काम उसी टूल में चले।
browser-automation
394kयह आपके एजेंट को लॉगिन, टैब और अटकी वेब पेज से उबरने समेत, वेबसाइट पर चरण-दर-चरण काम करना सिखाती है।