permissions-debug
यह क्या करती है
यह समझाती है कि Kode की स्वीकृत टूल सूची और कमांड की सीमाएँ कैसे जाँची जाती हैं, फिर सबसे छोटा ज़रूरी बदलाव करती है। यह उन Kode उपयोगकर्ताओं के लिए है जिनके टूल अचानक ब्लॉक हो जाते हैं।
कब इस्तेमाल करें
- ✓जब Kode वह टूल ब्लॉक करता है जिससे आप उम्मीद कर रहे थे कि वह चलेगा।
- ✓जब Kode बार-बार वही अनुमति माँगता रहता है।
- ✓जब कोई हेल्पर एजेंट मुख्य Kode एजेंट से अलग व्यवहार करता है।
Skill का लिंक
https://github.com/shareAI-lab/Kode-CLI/blob/main/packages/builtin-skills/skills/permissions-debug/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मैंने अपना फ़ाइल सर्च टूल मंज़ूर किया है, फिर भी Kode उसे ब्लॉक कर रहा है। ऐसा क्यों है, और इसे कैसे ठीक करूँ?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
आपका एजेंट ठीक उस ब्लॉक हुई कार्रवाई को जाँचता है, स्वीकृत टूल की सूची देखता है, और कमांड की सीमाएँ खोजता है। फिर सबसे छोटा बदलाव करता है जिसे पलटा जा सके, और उसी कार्रवाई को दोबारा चलाकर परखता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Permissions Debug (Kode-first, fail-closed)
Non-negotiables
- Do not auto-escalate permissions. If an action would normally require user approval, keep it interactive and explain why.
- Prefer minimal, reversible permission changes and verify immediately.
- In
dontAskcontexts, treat “would prompt” as deny (fail-closed). Do not try to bypass.
Fast triage (what to check first)
Confirm what is blocked
- Look for the exact tool name and the rejection message.
- If the failure is from a subagent, confirm whether the parent context was more restricted.
Inspect approved tools / project allowlist
- Use
SlashCommandto run/approved-tools listand confirm whether the tool (or its rule category) is present. - If the list is unexpectedly long or contains stale entries, remove only the minimum needed with
/approved-tools remove <tool>.
- Use
Check per-command constraints
- Some flows apply
commandAllowedToolsconstraints (slash command / skill execution contexts). Confirm the command’sallowed-toolsfrontmatter and whether it should be restrictive.
- Some flows apply
Verification loop (keep it tight)
- Re-run the exact action that was blocked and confirm:
- whether the prompt appears (interactive modes), or
- whether the tool is allowed/denied deterministically (headless /
dontAsk).
Forensics (when “it should have worked”)
- Inspect the latest session artifacts under
~/.kode/(messages + errors) to confirm what tool call was attempted and why it was denied. - If a background shell was involved, cross-check task output files in
~/.kode/**/tasks/for the correspondingbashId.
अक्सर पूछे जाने वाले सवाल
क्या एजेंट अपने-आप अनुमतियाँ चालू कर देगा?
नहीं। जिन कार्रवाइयों के लिए सामान्यतः आपकी मंज़ूरी चाहिए, स्किल उन्हें अपने-आप मंज़ूर नहीं करती।
जिस रन में कोई प्रॉम्प्ट नहीं दिखता, वहाँ क्या होता है?
जो भी कार्रवाई प्रॉम्प्ट माँगती, उसे अस्वीकार माना जाता है, ताकि सब कुछ सुरक्षित रहे।
एजेंट सुधार की पुष्टि कैसे करता है?
वह ब्लॉक हुई कार्रवाई को दोबारा चलाकर देखता है कि वह अब मंज़ूर है या अब भी अस्वीकृत है।
जानकारी
लेखक का मूल विवरण
Troubleshoot Kode permission prompts/denials (tool allowlists, commandAllowedTools, dontAsk fail-closed, subagent inheritance). Use when tools are unexpectedly blocked, permission prompts repeat, or behavior differs between main agent and subagents.
repo: shareAI-lab/Kode-CLI
लोकप्रियता
- GitHub स्टार
- 5.2k
- रैंकिंग में स्थान
- #15023
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
capabilities-manage
5.2kयह आपके एजेंट को सादे अनुरोध से Kode CLI की सुविधाएँ, जैसे लैंग्वेज सर्वर, स्टेटस लाइन और प्लगइन, चालू, बंद या सही हालत में लाने में मदद करती है।
doc-coauthoring
5.2kयह आपके एजेंट को बिखरे नोट्स से साफ़ प्रस्ताव, स्पेक या निर्णय-दस्तावेज़ लिखने में मार्गदर्शन देती है, फिर एक नए पाठक से उसकी जाँच करवाती है।
lsp-maintain
5.2kयह आपके एजेंट को पता लगाने में मदद करती है कि Kode में कोड सुझाव क्यों नहीं आ रहे, और उस भाषा का लैंग्वेज सर्वर देने वाला प्लगइन सेट करती है।
mcp-builder
5.2kयह आपके एजेंट को बाहरी सेवा के लिए MCP सर्वर बनाने में मार्गदर्शन देती है, जो AI को साफ़ नाम वाले और स्पष्ट कार्य देता है, TypeScript या Python में।
मिलती-जुलती skills
add-model-provider
394kयह आपके एजेंट को सुरक्षित कमांड से OpenClaw में नया AI मॉडल प्रोवाइडर जोड़ने, API कीज़ को सादे टेक्स्ट से बचाने और लाइव टेस्ट चलाने देती है।
acp-router
394kयह आपके एजेंट को OpenClaw के ज़रिए Claude Code या Cursor जैसे कोडिंग असिस्टेंट को काम भेजने देती है, ताकि काम उसी टूल में चले।
browser-automation
394kयह आपके एजेंट को लॉगिन, टैब और अटकी वेब पेज से उबरने समेत, वेबसाइट पर चरण-दर-चरण काम करना सिखाती है।