session-handoff
O que ela faz
Esta habilidade escreve um resumo do trabalho atual, incluindo o objetivo, as decisões e os próximos passos, para que outra pessoa possa continuar. Serve para quem encerra uma sessão, troca de computador ou está com pouco espaço em um chat longo.
Quando usar
- ✓Quando você está encerrando uma sessão e quer continuar o trabalho depois.
- ✓Quando você está trocando de computador ou passando o trabalho para outro agente.
- ✓Quando uma conversa longa está ficando grande demais e você quer recomeçar com um resumo.
Link da skill
https://github.com/alirezarezvani/claude-skills/blob/main/productivity/handoff/skills/session-handoff/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Escreva uma nota de passagem para que uma nova sessão possa continuar de onde paramos hoje.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente resume o objetivo, o estado atual, as decisões e os próximos passos. Ele aponta para os arquivos existentes em vez de copiá-los, remove segredos e salva a nota em uma pasta temporária.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
Handoff
Write a handoff document summarising the current conversation so a fresh agent can continue the work. Save to the temporary directory of the user's OS — not the current workspace.
Include a "suggested skills" section in the document, which suggests skills that the agent should invoke.
Do not duplicate content already captured in other artifacts (PRDs, plans, ADRs, issues, commits, diffs). Reference them by path or URL instead.
Redact any sensitive information, such as API keys, passwords, or personally identifiable information.
If the user passed arguments, treat them as a description of what the next session will focus on and tailor the doc accordingly.
Invocation Triggers
Explicit phrases (any of):
- "hand this off"
- "handoff doc"
- "summarize this for a new session"
- "compact this conversation"
- "I'm ending this session"
- "pick this up later"
- "wrap this up for tomorrow"
- "save this for the next session"
Implicit signals (no phrase, but the intent is unmistakable):
- User announces they're switching machines or stopping for the day mid-task
- Conversation context is growing long without a natural stopping point
- User says "let me come back to this" or "I'll continue this later"
When you detect an implicit trigger, propose the handoff before running it: "Want me to write a handoff for the next session?" — never run it silently.
First-Run Setup
On first invocation, the skill asks where to save handoffs so the project folder never gets cluttered. Setup is offered once via "Run setup now? (Y/n)" — answering N uses OS-temp defaults for this run and never re-prompts. The user can rerun setup any time via /cs-handoff-setup.
See references/configuration.md for the full config field reference.
Output Path
The save location is read from the user's config (~/.config/handoff/config.json, or the project-local .handoff/config.json if present). When no config exists and the user declined setup, fall back to:
mktemp -t handoff-XXXXXX.md
Read the file before you write to it.
Section Template
The handoff doc has five sections. Use these exact headers:
- Goal of next session — from the user's argument, or inferred from the most recent thread of the conversation.
- State of play — what's done, what's in flight, what's blocked. Reference artifacts, do not paste them.
- Open decisions — what the next agent must decide before continuing.
- Skills to use — concrete list of 3-5 skills the next session should invoke, each with a one-line why.
- Artifacts — paths/URLs to PRDs, plans, ADRs, issues, branches, PRs. Do not duplicate their contents.
See references/handoff_structure.md for a worked example.
The Agent's Job
Filling in the five sections is the agent's job, not the script's. Follow references/handoff_prompt.md as a mandatory checklist:
For each topic discussed in the conversation, decide explicitly: include in State of play / log as an Open decision / drop with reason.
Free-handing the summary leads to rosy progress reports and dropped blockers. The checklist prevents that.
Anti-Patterns
Matt's no-duplication discipline made concrete:
- Do not paste the diff. Reference the branch or PR.
- Do not retype the PRD. Link to its path.
- Do not summarise what's already in the commit message. Link to the commit hash.
- Do not list 20 skills. Pick the 3-5 the next session actually needs.
- Do not narrate every message in the conversation. Compress to State + Decisions.
See references/deduplication_discipline.md for the full list.
Redaction
Before saving, the linter scans the draft for secrets and PII. In strict mode (default) it blocks save on findings; in warn mode it flags inline and saves anyway.
Redact:
- API keys, OAuth tokens, JWT tokens
- Passwords and DB connection strings
-----BEGIN ... PRIVATE KEY-----blocks.env-styleKEY=valuelines containing secrets- Email addresses, phone numbers, names of unrelated third parties
- Internal URLs containing tokens or session IDs
See references/redaction_checklist.md for the full pattern list and manual-review steps for what regex cannot catch.
SessionStart Auto-Load
When the plugin is installed, a SessionStart hook scans the configured save location for the m
Perguntas frequentes
Onde a nota de passagem é salva?
Ela é salva na pasta temporária do seu computador, e não na pasta do projeto.
Ele guarda senhas ou chaves?
Não. A habilidade remove detalhes sensíveis, como chaves de API e senhas, antes de salvar.
Ele sugere o que carregar em seguida?
Sim. A nota inclui uma lista de habilidades sugeridas para o próximo agente usar.
Detalhes
Descrição original do autor
Write a handoff document so a fresh session or another agent can pick up exactly where this one left off: goal, current state, decisions, next steps and the skills to load, referencing existing files instead of copying them, with secrets redacted before saving. Use whenever the user is ending a session, switching machines, running low on context, or asks for a handoff, a handoff doc, a 'pick up where we left off' summary, or to compact the conversation for next time. Saves to a location the user picks on first run (OS temp, home folder or per-project .handoff/) and can auto-load the latest han
Popularidade
- Estrelas no GitHub
- 29 mil
- Posição no ranking
- #9710
- Licença
- MIT
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
agent-launcher-orchestrator
29 milAjuda seu agente a planejar, criar, testar e agendar um agente gerenciado do Claude na sua própria conta, passo a passo, a partir de um objetivo claro.
grade-iterate
29 milPermite que seu agente avalie o trabalho de um agente de IA gerenciado com base em uma rubrica e o melhore em um número fixo de rodadas, para que ele nunca entre em loop infinito.
interview
29 milPermite que seu agente entreviste você sobre uma ideia de agente de IA e transforme suas respostas em um plano de construção simples antes de qualquer lançamento.
run-without-you
29 milAjuda seu agente a configurar um agente gerenciado de IA para rodar em um agendamento ou quando um evento acontecer, com o horário do cron verificado antes do lançamento.
Skills parecidas
add-model-provider
394 milPermite que seu agente conecte um novo provedor de modelos de IA ao OpenClaw com comandos seguros, guarde as chaves de API com segurança e faça um teste ao vivo.
acp-router
394 milAjuda seu agente a enviar uma tarefa a um assistente de programação, como Claude Code ou Cursor, pelo OpenClaw, para que o trabalho rode nessa ferramenta.
browser-automation
394 milEnsina seu agente a controlar páginas web passo a passo, incluindo logins, abas e recuperação quando uma página para de responder.