Install
$ agentstack add skill-wanderlima-agent-skills-session-handoff ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ● Environment & secrets Used
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Session Handoff
Overview
Create a concise continuation note for the current session so another agent or future run can pick up the work quickly without reading the full transcript.
When to Use
Use when
- The user asks to create a session handoff
- The user says session handoff or handoff da sessão
- The user asks to encerrar sessão and preserve context for continuation
Do not use when
- The user only wants a short summary with no continuation file
- The user asks for a public-facing recap instead of an internal handoff
- The task would reveal secrets, env vars, tokens, credentials, or other sensitive data that cannot be safely redacted
Inputs
- The current session transcript
- Any related sessions or agent interactions that affected the outcome
- The active workspace path for the current agent
- A short objective-derived title in lowercase kebab-case
- The session timestamp, if available
Outputs
- A markdown file at
/handoffs/.md - A handoff that is safe to share internally and free of sensitive data
Constraints
- Write in en-US only
- Never include secrets, environment variables, tokens, cookies, passwords, private URLs, private IDs, or other sensitive data
- Never include raw
.envvalues or anything that looks like a secret or credential - Remove or redact any secret-like string before writing
- Create the
handoffs/folder if it does not exist - Derive the filename from the session objective, not from sensitive content
- Use lowercase kebab-case for the filename
- If the objective is too ambiguous to name confidently, ask the user for a title before writing
Steps
1. Gather context
- Read the current session and any relevant related sessions or sub-agent results.
- Identify the objective, expected result, completed work, wins, failures, blockers, decisions, and next steps.
- Include other sessions or agents only when they add useful continuation context.
2. Sanitize
- Remove or redact anything that looks like a secret or sensitive operational detail.
- Replace sensitive references with neutral placeholders like
[redacted]. - Keep the handoff factual and compact.
- Prefer safe references to files, public links, and completed actions.
3. Choose the filename
- Build a short title from the session objective.
- Convert it to lowercase kebab-case.
- Examples:
optimize-linkedin-profile.mdsession-handoff.md
4. Write the handoff
Use this structure:
# Session Handoff:
## Session metadata
- Date/time:
- Status:
## Objective
## Expected result
## What was done
## What worked
## What did not work yet
## Blockers and risks
## Decisions made
## Related sessions or agents
## Relevant files or references
## Next steps
## Notes
5. Save the file
- Save the markdown file in the current agent workspace under
handoffs/. - Create the folder first if needed.
- Confirm the final file path to the user when the handoff is complete.
- Include a final output line like
Handoff saved to: /absolute/path/to/file.md. - Confirm the main decision points to the user.
Rationalization Traps
| Rationalization | Reality | | --- | --- | | The transcript is enough without a file | The skill exists to create a durable handoff artifact | | A filename doesn't matter much | The filename is the retrieval handle for future continuation | | Minor sensitive details are fine | Handoffs must be safe to share internally | | Related sessions are optional in every case | They matter whenever they change the continuation plan |
Red Flags
- The file is written outside
handoffs/ - The filename is not lowercase kebab-case
- Secrets, env vars, tokens, cookies, passwords, or private IDs appear in the output
- The final reply does not include the file path
- The handoff omits session metadata, status, or next steps
Verification
- The file exists in
/handoffs/ - The filename is lowercase kebab-case
- The content is in en-US
- No secrets or sensitive data appear in the handoff
- The summary includes the timestamp, status, objective, result, work done, wins, failures, blockers, related sessions or agents, next steps, and relevant references
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: wanderlima
- Source: wanderlima/agent-skills
- License: MIT
- Homepage: https://github.com/wanderlima/agent-skills
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.