Saltar al contenido
Skillpedia
Agentes5,2 mil · #15023

permissions-debug

Qué hace

Explica cómo revisar las herramientas aprobadas de Kode y sus límites de comandos, y luego hace el cambio de permisos más pequeño posible. Es para usuarios de Kode cuyas herramientas se bloquean de forma inesperada.

Cuándo usarla

  • ✓Cuando Kode bloquea una herramienta que esperabas que funcionara.
  • ✓Cuando Kode sigue pidiendo el mismo permiso una y otra vez.
  • ✓Cuando un agente auxiliar se comporta distinto al agente principal de Kode.

Link de la skill

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

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/shareAI-lab/Kode-CLI/blob/main/packages/builtin-skills/skills/permissions-debug/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Kode sigue bloqueando mi herramienta de búsqueda de archivos aunque la aprobé. ¿Por qué pasa y cómo lo arreglo?”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

El agente revisa la acción exacta bloqueada, enumera las herramientas aprobadas y busca límites de comandos. Hace el cambio más pequeño y reversible posible y luego repite la acción para probarlo.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de 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.
Preguntas frecuentes

¿El agente activará los permisos automáticamente?

No. La skill no aprueba de forma automática acciones que normalmente necesitarían tu aprobación.

¿Qué pasa en una ejecución donde no se muestran avisos?

Cualquier acción que necesitaría un aviso se trata como denegada, lo que mantiene todo seguro.

¿Cómo confirma el agente la solución?

Repite la acción bloqueada para ver si ahora está permitida o si sigue denegada.

Detalles

Descripción original del autor

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

Popularidad

Estrellas en GitHub
5,2 mil
Posición en el ranking
#15023
Licencia
Apache-2.0
Actualizada
2/11/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas