Logotipo de Handoff

Handoff

Comunidad
TyrealQ
handoff

Capture session decisions, conventions, and lessons into plan files, auto-memory, and CLAUDE.md so a fresh session resumes cleanly. Use for "hand off," "wrap up," "update docs for next session," or before /compact.

Descripción general

EditorTyrealQ
Repositorioq-skills
Nombre de la habilidadhandoff
Estrellas
109
Forks
1
Archivos incluidos
Solo instrucciones
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando una petición es realmente relevante.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por TyrealQ en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Handoff en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/TyrealQ/q-skills/tree/main/skills/handoff
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → Desde URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/TyrealQ/q-skills.git /tmp/q-skills
mkdir -p .claude/skills
cp -r /tmp/q-skills/skills/handoff .claude/skills/handoff
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Handoff en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición es relevante, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Handoff automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Handoff no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición relevante, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

handoff

Captures the load-bearing outcomes of a session and writes them to the right durable location. Goal: a future session can pick up without re-deriving context from the transcript.

Workflow

Step 1 — Survey the session

Identify what changed beyond the literal edits.

bash
git log --oneline <session-start>..HEAD
git diff <session-start>..HEAD --stat

If session-start is unclear, infer from the first commit timestamp after a context reset, or ask the user.

For each commit, note:

  • Decisions: terminology choices, structural conventions, methodological positions taken
  • Conventions reinforced or established: subtitle patterns, voice rules, argument structures, naming schemes
  • Controversies resolved: where the user pushed back and a final position landed
  • Lessons that emerged: when an early draft failed, what symptom triggered the fix, what rule the fix expressed (latent rules > literal pushbacks)

Skip routine work: typo fixes, formatting-only changes, mechanical refactors. Only capture outcomes a future session would otherwise have to re-derive.

Step 2 — Locate destinations

Discover what already exists; do not create new doc locations without asking.

bash
# Plan files (task tracking, current state, open items)
ls ~/.claude/plans/ 2>/dev/null | grep -i <project-keyword>

# Auto-memory (cross-session learnings keyed to project)
ls ~/.claude/projects/<project-id>/memory/ 2>/dev/null

# Project CLAUDE.md (project conventions, structure, banned terms)
ls <project-root>/CLAUDE.md 2>/dev/null

# User CLAUDE.md (cross-project preferences)
ls ~/CLAUDE.md 2>/dev/null

Match each session outcome to the right destination:

Outcome typeDestination
Task progress, completed items, residual open itemsPlan file
Verified-state anchors (specific phrasings that mark current correct state)Plan file
Writing/coding lessons, symptom → rule patternsAuto-memory *_lessons.md
Banned terms, terminology decisionsAuto-memory *_terms.md (or project CLAUDE.md if it already lists them)
Project-level conventions (file layout, naming, structure)Project CLAUDE.md
Cross-project user preferencesUser CLAUDE.md

Do not duplicate. If a rule lives in CLAUDE.md, do not also add it to memory; if a lesson lives in memory, do not restate it in the plan.

Step 3 — Apply updates

Read every target file before editing. Match the existing style, depth, and section conventions.

  • Plan files: mark resolved items with strikethrough or RESOLVED YYYY-MM-DD tag; append new open items; refresh "verified state" anchors with the line content as it stands now (not as drafted earlier in the session).
  • Auto-memory *_lessons.md: append numbered lessons (L7, L8, ...) with trigger + corrective move + brief rationale. Update the file's frontmatter description if the scope expanded.
  • MEMORY.md index: add a pointer line only if a new memory file was created. Update the existing entry's hook only if its underlying content shifted materially. Keep each line under ~150 chars.
  • Project CLAUDE.md: insert into the appropriate existing section (style rules, structure, etc.). Do not create a session log section. If a new convention does not fit any section, ask before adding.
  • User CLAUDE.md: only for preferences that generalize beyond the current project. Be conservative.

Step 4 — Produce a resume prompt

Output a single message the user can copy-paste verbatim into a fresh session as the opening prompt. The next Claude reads this message and a fresh, cold-started auto-memory load — nothing else from the prior transcript carries over. The resume prompt must be self-contained.

Wrap the resume prompt in a clearly delimited block (e.g., ```text ... ```) so the user can copy it cleanly.

Required sections, in order:

  1. Context — one sentence on what project this is and what stage the work is at.
  2. Read first — explicit absolute paths to the files the next Claude should load before acting (plan file, key memory files if not auto-loaded, the canonical source document, the active downstream document). Annotate each with one phrase on why.
  3. Where we left off — last 2–4 commits relevant to the resumed thread (hash + one-line summary). Do not list every commit; only the load-bearing ones.
  4. Conventions to honor — only conventions established or reinforced THIS session that have not yet propagated into memory or CLAUDE.md. If everything is durable, write "All conventions are captured in memory and the plan file."
  5. Next task — the single most actionable next item with a file:line pointer and a one-sentence statement of the change to make. If multiple, list up to 3 in priority order.
  6. Known gotchas — only if relevant: discrepancies, blockers, or non-obvious traps the next session should be aware of. Omit the section if none.

After the wrapped resume prompt, add a 2-line operator note for the user (outside the block):

  • where the new commits and doc updates landed (commit-hash range, files touched)
  • whether anything is uncommitted

Keep the resume prompt itself under ~250 words. The user pastes it; the next Claude executes from there.

Anti-patterns

  • Don't write session logs into project files. Permanent docs capture conventions, not session narratives.
  • Don't update CLAUDE.md with rules already in memory (and vice versa). Each rule has one durable home.
  • Don't create new doc locations without asking. Use what exists.
  • Don't restate edits as "decisions." A typo fix is not a decision. A terminology choice the user pushed back on twice is.
  • Don't bloat memory. Each memory file should have a clear scope. If a new lesson does not fit any existing file, ask before creating a new one.
  • Don't extract lessons the user has not validated. A first-draft pattern from one session is a hypothesis, not a rule. Wait for repeated correction or explicit confirmation before persisting.

Preguntas frecuentes

¿Qué hace la habilidad de IA Handoff?

Capture session decisions, conventions, and lessons into plan files, auto-memory, and CLAUDE.md so a fresh session resumes cleanly. Use for "hand off," "wrap up," "update docs for next session," or before /compact.

¿Por qué usar Handoff en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Handoff está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Handoff en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/TyrealQ/q-skills/tree/main/skills/handoff. TypingMind lee su archivo SKILL.md y la instala como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Handoff?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Handoff?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Handoff con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Handoff?

Sí. TyrealQ la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇