Skills Agentes

Daily Task Manager

Gestión del ciclo de vida de tareas con IDs estables. Añade, completa, aplaza, elimina y revisa tareas con enrutado determinista y manejo fail-closed de ambigüedad.

Solicitasearchget_pageput_pageadd_timeline_entry
Estrellas
28.9k

en todo el repo

Actividad
59

0–100, la ruta de este skill

Actualizado
hace 9 días

último commit aquí

Commits
1

últimos 90 días

Contexto
2.1k tok

53 tok en reposo

Paquete
2 archivos

9 KB

Instalar

Funciona con cualquier agente que lea SKILL.md

npx -y skills add garrytan/gbrain --skill daily-task-manager --agent claude-code

Se instala solo en este repositorio.

Qué hace

  • Gestiona un ciclo de vida de tareas (añadir, completar, aplazar, eliminar, revisar) sobre una página brain en ops/tasks.md
  • Asigna IDs estables tipo t-YYYYMMDD-NN a cada tarea para referenciarlas sin ambigüedad
  • Enruta la intención del usuario a una acción determinista y devuelve un resultado estructurado
  • Aplica manejo fail-closed ante ambigüedad: nunca muta si hay 0 o varias coincidencias
  • Guarda con ediciones mínimas, preservando secciones desconocidas y sin sobrescribir la página entera

Úsalo cuando

  • El usuario dice 'add task', 'complete task', 'what are my tasks', 'task list' o 'defer task'
  • Se necesita añadir, completar, aplazar, eliminar o revisar tareas con prioridades P0-P3
  • Se requiere una lista de tareas persistente y auditable como página brain

No lo uses cuando

    Qué lo activa

    Di cualquiera de estas frases y el agente debería cargar este skill.

    • Añade una tarea: revisar el contrato con el proveedor
    • ¿Qué tareas tengo para hoy?
    • Marca como completada la tarea de deploy
    • Aplaza la tarea t-20260115-01 a la próxima semana
    • Elimina la tarea de comprar boletos

    SKILL.md

    En inglés

    Daily Task Manager

    Contract

    This skill guarantees:

    • Tasks stored as a brain page (ops/tasks.md) with structured format and a stable id per task
    • Task lifecycle: add → in-progress → complete | defer | remove
    • Priority levels: P0 (urgent), P1 (today), P2 (this week), P3 (backlog)
    • Completed tasks archived with completion date; deferred tasks carry a target date + reason
    • Mutations never drop unrelated tasks or unknown sections
    • Every action returns the structured result below (Returns)

    Returns

    After every action, report a structured result so callers (including sub-agents) can chain reliably:

    {action, task_id, status: ok|not_found|ambiguous|needs_confirmation, priority, date, page: "ops/tasks.md", saved: true|false}
    

    For review, return the grouped active-task list instead of a single task_id. When invoked with the trigger "task list json", return a JSON array of task objects {id, description, priority, due, status} instead of markdown.

    Tool Interface

    Use ONLY the declared tools. get_page("ops/tasks.md") to read, put_page("ops/tasks.md", …) to write, add_timeline_entry for the audit trail, search for cross-referencing. Do not shell out to gbrain CLI verbs from this skill; the tools are the interface. (When the user runs this manually outside an agent, the CLI equivalents are gbrain get ops/tasks / gbrain put ops/tasks — equivalents only, not the skill's interface.)

    Action Routing

    Map user intent deterministically before touching state:

    • "add / remind me to / put X on my list" → add
    • "done with X / finished X / completed X / ✅ X" → complete
    • "push X / defer X / move X to next week" → defer
    • "delete X / remove X / kill task X" → remove (explicit delete words only — never infer remove)
    • "what are my tasks / task list / what's on my plate (today)" → review ("today" filters to P0+P1)

    Phases

    1. Load. get_page("ops/tasks.md"). First run: if the page does not exist, create it from the Output Format template, then proceed.
    2. Validate. Determine the action via Action Routing. If required fields are missing (see per-action rules), ask ONE concise clarification before mutating state. Never fabricate priorities, due dates, or defer reasons.
    3. Identify the target task (complete/defer/remove): match by id when given; otherwise fuzzy-match description against ACTIVE tasks only. Zero matches → return not_found, do not mutate. Multiple matches → list candidates with IDs, return ambiguous, do not mutate.
    4. Execute:
      • Add: Require a description. Priority: use the user's stated/clearly-implied level; otherwise default to P3 and say so in the reply + timeline entry. Due date only if supplied or explicit in the user's words. Mint a new task ID (t-YYYYMMDD-NN, NN = next free ordinal that day). Add a timeline entry.
      • Complete: Mark [x], move to Completed with (completed: YYYY-MM-DD).
      • Defer: Require a target date/timeframe AND a reason; ask if missing. Move to Deferred preserving original text, ID, and priority unless the user changes them.
      • Remove: Destructive — require explicit confirmation unless the user's message already contains it. Prefer suggesting complete or defer.
      • Review: Read-only. Never mutates. Active tasks grouped by priority, IDs shown.
    5. Save. put_page("ops/tasks.md") after any mutation. Diff-mindset: touch only the affected lines; preserve all other content, including sections this skill doesn't recognize.

    Edge Cases

    • First run: page missing → create from template before acting; status: ok, note "initialized".
    • Malformed page: if ops/tasks.md exists but doesn't match the schema, do NOT rewrite it wholesale. Append/edit within it minimally, preserve unknown content verbatim, and flag the malformation in the reply.
    • Retry/duplicate add: if an identical description already exists in active tasks, do not add a duplicate — report the existing task ID instead.
    • Dates: ISO 8601 (YYYY-MM-DD) everywhere. Compute "today"/"next week" with code/clock, never guess.
    • Page identifier: always ops/tasks.md (with extension) in tool calls; this is the single canonical location.
    • Single-writer assumption (concurrency limitation). The task cycle is read-modify-write: get_page("ops/tasks.md") → edit → put_page("ops/tasks.md"). put_page replaces the WHOLE page and has no compare-and-swap, so two mutations that interleave are last-writer-wins: the second put_page overwrites the first's change (a completed task reappears, an added task vanishes), and the t-YYYYMMDD-NN minting can hand the same ordinal to two concurrent adds (duplicate IDs). Serialize task edits — never run parallel task mutations (multiple subagents, concurrent chat turns) against ops/tasks.md. If a mutation might race, re-get_page immediately before put_page and re-derive the next free ordinal from the freshly-read page.

    Output Format

    Persisted page format

    Each task carries a stable ID so later actions can target it safely:

    # Tasks
    
    ## P0 — Urgent
    - [ ] <!-- id: t-20260115-01 --> {task description} (due: {date})
    
    ## P1 — Today
    - [ ] <!-- id: {task-id} --> {task description} (due: {date optional})
    
    ## P2 — This Week
    - [ ] <!-- id: {task-id} --> {task description} (due: {date optional})
    
    ## P3 — Backlog
    - [ ] <!-- id: {task-id} --> {task description}
    
    ## Deferred
    - [ ] <!-- id: {task-id} --> {task description} (deferred until: {date}; reason: {reason})
    
    ## Completed
    - [x] <!-- id: {task-id} --> {task description} (completed: {date})
    

    User-facing response

    After a mutation: one concise line — action, task ID, priority/status, relevant date, saved-or-not. For review: active tasks grouped by priority. Keep replies compact; avoid tables on narrow chat surfaces.

    Anti-Patterns

    Each with its corrective action:

    • Adding a task without priority → default P3 and SAY the default was applied (never silent).
    • Mutating on an ambiguous reference → stop, list candidates with IDs, ask.
    • Completing without a completion date → always stamp (completed: YYYY-MM-DD).
    • Deferring without target date + reason → ask for both first.
    • Removing without explicit confirmation → confirm first; offer complete/defer instead.
    • Overwriting the page wholesale / dropping unknown sections → minimal diff edits only.
    • Using undeclared tools or CLI verbs → get_page/put_page/search/add_timeline_entry only.
    • Fabricating due dates, priorities, or reasons → never invent required fields; ask.
    • Unbounded list growth → when Backlog exceeds ~20 items, prompt a weekly review.
    • Storing tasks outside the brain page → everything lives in ops/tasks.md (searchable).
    • Running parallel task mutations against ops/tasks.md → last-writer-wins whole-page put_page silently loses updates and mints duplicate IDs; serialize edits, re-read immediately before writing.

    Design Rationale (failure modes this version closes)

    • Interface drift: an earlier version declared get_page/put_page as tools but instructed CLI verbs in the body — models picked one at random. The declared tools are now the interface; CLI is relegated to a human-equivalent note.
    • Unmatchable tasks: without task IDs, "complete the deploy task" against two similar tasks silently mutated the wrong one. Stable t-YYYYMMDD-NN IDs + fail-closed ambiguity handling fix this.
    • First-run crash: assuming ops/tasks.md exists made a missing page undefined behavior. Create-from-template on first run fixes this.
    • Wholesale overwrite risk: "write updated task list" invited full-page rewrites that drop concurrent edits. Minimal-diff mandate + preserve-unknown-content rule fix this.

    Reproducido de garrytan/gbrain bajo licencia MIT. Leer esta página en markdown.

    Archivos

    2 archivos en el paquete. Solo se lee SKILL.md al activarse — las referencias se cargan si el skill decide que las necesita.

    Antes de instalar

    Requiere las herramientas search, get_page, put_page y add_timeline_entry; no usa la CLI de gbrain como interfaz.

    Detalles

    Creador
    garrytan
    Categoría
    Productividad
    Licencia
    MIT
    Recursos incluidos
    Incluye scripts o referencias
    Repositorio
    garrytan/gbrain
    Código fuente
    Ver SKILL.md

    Etiquetas

    Más de garrytan/gbrain

    Este repo incluye 75 skills. Si instalas uno, normalmente ya tienes los demás.

    Setup

    28.9k

    Configura GBrain con auto-aprovisionamiento de Supabase o PGLite, inyección en AGENTS.md y primera importación.

    Costo de contexto al activarse
    7.4k tok
    Tamaño del paquete
    1 archivo
    Última actualización
    hace 4 días
    bases de datos

    Chequeos de salud del brain: aplicación de back-links, auditoría de citas, validación de filing, detección de info obsoleta, páginas huérfanas y benchmarks.

    Costo de contexto al activarse
    5k tok
    Tamaño del paquete
    1 archivo
    Última actualización
    hace 4 días
    productividad

    Migra un brain de gbrain-base a la taxonomía de 14 tipos canónicos de gbrain-base-v2 usando gbrain onboard --check y el handler Minion unify-types.

    Costo de contexto al activarse
    3.2k tok
    Tamaño del paquete
    1 archivo
    Última actualización
    hace 5 días
    bases de datos

    Cuándo y qué recuperar: abre la página del brain de una entidad relevante antes de responder desde memoria.

    Costo de contexto al activarse
    740 tok
    Tamaño del paquete
    1 archivo
    Última actualización
    hace 1 hora
    productividad

    Operaciones del brain: búsqueda primero, ciclo leer-enriquecer-escribir, atribución de fuentes, enriquecimiento ambiental y back-linking. Leer antes de cualquier interacción con el brain.

    Costo de contexto al activarse
    2.6k tok
    Tamaño del paquete
    1 archivo
    Última actualización
    hace 3 días
    productividad

    Importa exports de ChatGPT, Claude y Perplexity y transcripciones de sesiones como páginas fechadas en conversations/, valida y extrae hechos, y mantiene el archivo sin huecos con detección y backfill.

    Costo de contexto al activarse
    5k tok
    Tamaño del paquete
    2 archivos
    Última actualización
    hace 4 días
    productividad

    Skills relacionados

    Archivista universal para archivos personales (Dropbox/B2/Gmail-takeout/disco local). Filtra contenido de alto valor y lo muestra de forma interactiva; exige un allow-list scan_paths explícito en gbrain.yml.

    Costo de contexto al activarse
    2.7k tok
    Tamaño del paquete
    2 archivos
    Última actualización
    hace 3 meses
    productividad

    Transforma volcados de texto crudo de artículos en el brain en páginas estructuradas con resumen ejecutivo, citas textuales, insights clave, por qué importa y referencias cruzadas.

    Costo de contexto al activarse
    1.5k tok
    Tamaño del paquete
    2 archivos
    Última actualización
    hace 3 meses
    productividad

    Filtro de calidad previo a la escritura para todo lo que entra al brain: nada de cp/mv en crudo. Resuelve entidades con nombre por registro y aplica el árbol de decisión de dedup leyendo el primer resultado.

    Costo de contexto al activarse
    3.7k tok
    Tamaño del paquete
    2 archivos
    Última actualización
    hace 9 días
    productividad