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가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
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
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
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
capabilities-manage
5.2k에이전트가 간단한 요청으로 Kode CLI의 언어 서버, 상태 표시줄, 플러그인을 켜거나 끄고 작동하게 만들도록 돕습니다.
doc-coauthoring
5.2k에이전트가 거친 메모를 바탕으로 명확한 제안서, 사양서, 결정 문서를 쓰도록 단계별로 안내합니다.
lsp-maintain
5.2k에이전트가 Kode에서 코드 제안이 빠진 이유를 찾고, 언어 서버를 제공하는 플러그인을 설정하도록 돕습니다.
mcp-builder
5.2k에이전트가 외부 서비스를 위한 MCP 서버를 만들도록 안내합니다. AI가 쉽게 쓸 수 있는 명확한 이름의 기능을 TypeScript 또는 Python으로 제공합니다.
비슷한 스킬
add-model-provider
394k에이전트가 안전한 설정 명령으로 새 AI 모델 제공자를 OpenClaw에 연결하고, API 키를 평문으로 두지 않으며, 실시간 테스트를 실행하도록 돕습니다.
acp-router
394k에이전트가 OpenClaw를 통해 Claude Code나 Cursor 같은 코딩 도우미에 작업을 전달해, 작업이 그 도구에서 실행되도록 돕습니다.
browser-automation
394k에이전트가 로그인, 탭, 페이지 응답이 멈췄을 때의 복구를 포함해 웹 페이지를 단계별로 조작하도록 가르칩니다.