agendamientocorrecto

Configure Claude Code scheduled tasks with root-session write control and explicit permissions.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Matraca130/numero1_sseki_2325_55 --skill agendamientocorrecto
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agendamientocorrecto
Source: https://github.com/Matraca130/numero1_sseki_2325_55/tree/main/.claude/skills/agendamientocorrecto
Command: npx skills add https://github.com/Matraca130/numero1_sseki_2325_55 --skill agendamientocorrecto

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Este manual proporciona directrices para crear y depurar tareas programadas en Claude Code evitando errores de permisos y asegurando que las acciones de escritura las ejecuta la sesión raíz, mientras las acciones de lectura pueden delegarse a sub-agentes. Incluye precedentes para evitar errores comunes al trabajar con defaultMode y listas de permisos, y describe cuándo spawnear sub-agentes y cuándo actuar directamente desde la sesión raíz.

Core Features & Use Cases

  • Evita prompts de permisos mediante una configuración explícita en settings.json (permissions > allow).
  • Garantiza que las acciones destructivas o de escritura se ejecuten desde la sesión raíz, evitando fallos en flujos de Bug Hunter Loop.
  • Proporciona un patrón recomendado para Task auditing y corrección (AUDIT vs FIX) y señales para actualizar STATE.md.
  • Ofrece señales de alerta para SKILL.md existente y guía para escribir SKILL.md de nuevos tasks.

Quick Start

Sigue este flujo: cuando se dispare una tarea programada, la sesión raíz realiza las acciones de escritura y usa sub-sesiones solo para lecturas/auditoría, luego actualiza STATE.

Frequently Asked Questions about agendamientocorrecto

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent permission prompts in Claude Code scheduled tasks?

To prevent permission prompts in Claude Code scheduled tasks, explicitly configure allowed tools in the settings.json file under the permissions allow list. This setup stops the system from prompting for access during automated execution.

Why do sub-agents fail to perform write operations in scheduled tasks?

Sub-agents fail write operations in scheduled tasks because write actions must be executed by the root session. Delegating destructive or write tasks to spawned agents causes permission failures and breaks the Bug Hunter Loop flow.

What is the Bug Hunter Loop pattern for Claude Code?

The Bug Hunter Loop pattern separates tasks into AUDIT and FIX phases, delegating read and audit actions to sub-agents while the root session handles corrections. It prevents spawning unproductive agents and updates STATE.md after corrections.

How do I configure defaultMode and permission lists in settings.json?

Configuring defaultMode and permission lists in settings.json requires explicitly defining allowed tools to avoid common errors. You must structure the permissions allow array correctly to ensure scheduled tasks execute without unexpected access denials.

When should I spawn sub-agents versus acting directly from the root session?

You should spawn sub-agents strictly for read and audit actions, while acting directly from the root session for all write and destructive operations. This division prevents unproductive agent spawning and ensures safe execution of scheduled tasks.

What is the correct workflow for updating STATE.md in scheduled tasks?

The correct workflow for updating STATE.md involves the root session performing write actions after sub-sessions complete read and audit operations. The root session then updates the state file to track the Bug Hunter Loop progress.