session-handoff
Qué hace
Esta herramienta crea un resumen organizado de tu trabajo actual. Recoge lo que has hecho, las decisiones tomadas y lo que todavía falta por hacer, para que tú o alguien más pueda seguir donde lo dejaste sin perder información.
Cuándo usarla
- ✓Cuando vas a dejar un proyecto por un tiempo.
- ✓Antes de borrar o reiniciar tu sesión de trabajo.
- ✓Cuando cambias de tarea o cuando otra persona va a continuar el trabajo.
Link de la skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/session-handoff/SKILL.mdCó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
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Genera un resumen de mi trabajo para continuar más tarde.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
La herramienta analiza el estado actual de tu proyecto, anota las decisiones importantes y los pasos pendientes. Todo esto lo organiza en un documento claro para la siguiente etapa.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
Session Handoff Skill
Purpose
Large context windows degrade in instruction adherence, reasoning precision, and tool accuracy as token counts accumulate. Long sessions fill with superseded plans, aborted scratchpads, and repetitive error traces. Resetting to a fresh session restores performance, but discarding context blindly introduces state loss, hallucinated progress, and repeated mistakes.
The session-handoff skill standardizes how an agent snapshots active state. It translates ephemeral working memory into an actionable, verifiable bridge document for the next session.
When to Use This Skill
- Context usage approaches capacity (roughly >60%) and a reset is coming.
- Before running
/clearor/compactin Claude Code, Cursor, or Codex. - When switching tasks mid-session, or ending a coding session that another session (or agent) will continue.
Workflow: Ending a Session (6 Steps)
Run this sequence when an agent session reaches operational limits or when halting work:
Audit Git and Workspace State Run
git status -sandgit diff --statto establish grounded reality. Never rely on chat memory for what was modified. Identify modified, untracked, and staged files.Capture Goal State vs. Implemented Reality Define the original objective in one sentence. Document precisely what has been verified as working (with passing test commands or runtime checks) versus what remains partial or unverified.
Record Decisions Made and Discarded Paths List architectural and design choices committed during the session, along with the concrete rationale. Explicitly record negative decisions (approaches tried and discarded) to prevent the next agent from re-attempting failed solutions.
Catalog Files Touched and Relevant Symbols List key file paths, functions, classes, and schema definitions modified or referenced. Include line references where relevant.
Isolate Open Loops with Owners and Checks List all unaddressed edge cases, failing tests, deferred tasks, and environment constraints. Every open loop must specify who resolves it (Human or Agent) and how completion is verified.
Specify the Immediate Next Action Draft a single, atomic, unambiguous instruction for the next agent to execute on turn one. Do not provide a broad list; specify the exact command to run or file to edit first.
Operating Rules
- Separate Facts from Speculation: A test that passed is a fact; assuming code works because it compiled is speculation. Label untested assumptions explicitly as
[UNVERIFIED]. - Mandate Owners and Verifications for Open Loops: Every open loop must state an owner (
HumanorAgent) and a deterministic verification criteria (e.g.,pytest tests/auth/test_token.py:test_refresh_rotation passes). - Ban Vague Continuations: Never write "continue working on auth" or "finish frontend components." State the exact symbol, file, and failure mode.
- Reference Real Workspace Identifiers: All references to code must use exact file paths and symbol names. Do not use generalized pseudocode descriptions.
Worked Example: Session Handoff Note
# Session Handoff: JWT Rotation Implementation
### Goal & Current State
- **Target Goal**: Implement refresh token rotation and revocation in the FastAPI auth service.
- **Current State**: Refresh token database migration applied and rotation endpoint created. Token generation and database persistence work. Revocation blacklist cache is not yet wired into the dependency validator.
- **Verification**: `pytest tests/test_auth_tokens.py` passes (4/4 tests).
### Decisions Made (With Reasons)
- **Used Redis for Token Revocation List**: Selected Redis over Postgres lookups for revoked JTI tokens to keep latency under 5ms on protected routes.
- **Rejected Stateless Refresh Tokens**: We initially evaluated sliding expiration in JWT claims without persistence, but discarded it because compromised tokens could not be revoked before natural expiry.
- **Token Format**: Chose UUIDv4 for `jti` claim to maintain compatibility with existing session storage schemas.
### Files Changed
- `src/services/auth.py`: Added `rotate_refresh_token(old_token: str)` function and Redis invalidation call.
- `src/models/tokens.py`: Added `RefreshTokenRecord` SQLModel table for tracking token families.
- `alembic/versions/20261005_add_token_families.py`: Migration creating `token_records` table.
…
Preguntas frecuentes
¿Por qué lo necesito si puedo retomar donde lo dejé?
Las sesiones largas pueden confundir a la IA, que puede olvidar detalles importantes o repetir errores. Este resumen mantiene el progreso y hace que el trabajo futuro sea más eficiente.
¿Qué pasa si no lo uso antes de borrar la sesión?
Puedes perder avances, la IA puede olvidar lo que ya estaba hecho y tendrás que rehacer trabajo o arreglar errores que ya estaban resueltos.
¿El resumen incluye todo el código que escribí?
No. Se centra en lo más importante: el objetivo general, lo que funciona, lo que no, las decisiones clave y los pasos exactos a seguir, en lugar de un registro completo.
Detalles
Descripción original del autor
Use when context approaches capacity, before /clear or /compact, when switching tasks, or when ending a coding session: produces a structured handoff artifact for the next session.
Popularidad
- Estrellas en GitHub
- 48 mil
- Posición en el ranking
- #5764
- Licencia
- MIT
- Actualizada
- 15/10/2026
Comentarios
- …
Más skills de este repositorio
00-andruia-consultant
48 milAyuda a tu agente a iniciar o mejorar proyectos de IA. Analiza código, sugiere herramientas y crea planes de acción en español.
007
48 milPermite que tu agente realice auditorías de seguridad y modelado de amenazas. Es útil para proteger proyectos contra ataques y vulnerabilidades.
10-andruia-skill-smith
48 milAyuda a tu agente a crear o mejorar herramientas de IA. Define cómo funcionan, escribe la documentación y valida la estructura.
20-andruia-niche-intelligence
48 milPermite que tu agente cree un resumen de un sector específico. Es útil para entender su contexto, normas, patrones de uso y riesgos, usando fuentes fiables.
Skills parecidas
knowledge-capture
394 milEnseña a tu agente a guardar decisiones, preferencias y datos clave en tu bóveda de Knowledge como notas breves con atribución de la fuente.
knowledge-claim-consolidation
394 milAyuda a tu agente a ordenar una bóveda de Knowledge fusionando afirmaciones duplicadas, moviéndolas a las páginas temáticas adecuadas y retirando las obsoletas.
knowledge-correct
394 milPermite que tu agente corrija o retire una afirmación o página concreta guardada en Knowledge cuando tú lo pidas, dejando constancia de lo que cambió.