본문으로 건너뛰기
Skillpedia
에이전트5.2k · #15023

permissions-debug

하는 일

Kode에서 승인된 도구와 명령 제한을 확인하는 방법을 설명하고, 필요한 가장 작은 권한 변경만 합니다. 예상치 않게 도구가 차단되는 Kode 사용자를 위한 스킬입니다.

사용하는 경우

  • ✓Kode가 기대했던 도구를 차단할 때.
  • ✓Kode가 같은 권한을 계속 다시 물어볼 때.
  • ✓보조 에이전트가 메인 Kode 에이전트와 다르게 동작할 때.

스킬 링크

https://github.com/shareAI-lab/Kode-CLI/blob/main/packages/builtin-skills/skills/permissions-debug/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/shareAI-lab/Kode-CLI/blob/main/packages/builtin-skills/skills/permissions-debug/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“파일 검색 도구를 승인했는데도 Kode가 계속 차단해요. 이유가 뭐고 어떻게 고치나요?”

매주 새 스킬 5개. 읽는 데 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
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬