मुख्य सामग्री पर जाएँ
Skillpedia
एजेंट5.2k · #15023

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 पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/shareAI-lab/Kode-CLI/blob/main/packages/builtin-skills/skills/permissions-debug/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

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 dontAsk contexts, treat “would prompt” as deny (fail-closed). Do not try to bypass.

Fast triage (what to check first)

  1. 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.
  2. Inspect approved tools / project allowlist

    • Use SlashCommand to run /approved-tools list and 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>.
  3. Check per-command constraints

    • Some flows apply commandAllowedTools constraints (slash command / skill execution contexts). Confirm the command’s allowed-tools frontmatter and whether it should be restrictive.

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 corresponding bashId.
अक्सर पूछे जाने वाले सवाल

क्या एजेंट अपने-आप अनुमतियाँ चालू कर देगा?

नहीं। जिन कार्रवाइयों के लिए सामान्यतः आपकी मंज़ूरी चाहिए, स्किल उन्हें अपने-आप मंज़ूर नहीं करती।

जिस रन में कोई प्रॉम्प्ट नहीं दिखता, वहाँ क्या होता है?

जो भी कार्रवाई प्रॉम्प्ट माँगती, उसे अस्वीकार माना जाता है, ताकि सब कुछ सुरक्षित रहे।

एजेंट सुधार की पुष्टि कैसे करता है?

वह ब्लॉक हुई कार्रवाई को दोबारा चलाकर देखता है कि वह अब मंज़ूर है या अब भी अस्वीकृत है।

जानकारी

लेखक का मूल विवरण

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

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

capabilities-manage

5.2k

यह आपके एजेंट को सादे अनुरोध से Kode CLI की सुविधाएँ, जैसे लैंग्वेज सर्वर, स्टेटस लाइन और प्लगइन, चालू, बंद या सही हालत में लाने में मदद करती है।

AI और एजेंटएजेंट

doc-coauthoring

5.2k

यह आपके एजेंट को बिखरे नोट्स से साफ़ प्रस्ताव, स्पेक या निर्णय-दस्तावेज़ लिखने में मार्गदर्शन देती है, फिर एक नए पाठक से उसकी जाँच करवाती है।

लेखन और डॉक्यूमेंटलेखन

lsp-maintain

5.2k

यह आपके एजेंट को पता लगाने में मदद करती है कि Kode में कोड सुझाव क्यों नहीं आ रहे, और उस भाषा का लैंग्वेज सर्वर देने वाला प्लगइन सेट करती है।

कोडिंगसामान्य कोडिंग

mcp-builder

5.2k

यह आपके एजेंट को बाहरी सेवा के लिए MCP सर्वर बनाने में मार्गदर्शन देती है, जो AI को साफ़ नाम वाले और स्पष्ट कार्य देता है, TypeScript या Python में।

AI और एजेंटकनेक्टर (MCP)

मिलती-जुलती skills