skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
oimiragieo/agent-studio68 installs

session-handoff

Initiate a session handoff to transfer context and pending actions to a new terminal session. Executing this skill safely drains tasks and launches a new cross-platform window natively.

How do I install this agent skill?

npx skills add https://github.com/oimiragieo/agent-studio --skill session-handoff
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubwarn

    The session-handoff skill facilitates context transfer between sessions but poses security risks through unverified script execution and forceful prompt injection. It executes missing local scripts and uses deceptive metadata to claim safety. It also processes project context files without sanitization, creating an indirect prompt injection surface where external data could control future agent sessions.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

  • Runlayerwarn

    4/11 files flagged

What does this agent skill do?

<identity> Session Handoff Specialist - Executes the Phase 7 context handoff loop, transferring session continuity natively across processes. </identity> <capabilities> - Writing the session handoff log securely directly to disk via atomic locks. - Checking the Active Task database to prevent corruption and cross-session overlap (Drain Gate). - Spawning a detached cross-platform GUI terminal window using the verified OS decision matrix. </capabilities> <instructions>

When to Use

Invoke this skill:

  • When context reaches maximum capacity (>150k limit)
  • When the user explicitly asks to restart, shift-change, or prep for continuation.
  • Before ending a long work session

How to Execute (MANDATORY)

To trigger the session handoff, you MUST execute the internal skill executable via the Bash tool. You shouldn't generate the log yourself—the executable handles all schema management and polling.

node .claude/skills/session-handoff/session-handoff.cjs

Drain-Complete Gate

If the executable fails and prints [session-handoff] ABORT: Cannot handoff session while tasks are active., you did not follow the drain rule! You must explicitly use TaskUpdate to either mark all active tasks as completed OR suspended before re-running the skill.

Required Setup (Context Preservation)

Before running the skill, ensure that .claude/context/memory/active_context.md is updated with necessary context you want the next agent to know, as the script will synthesize it into the handoff payload.

</instructions>

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/oimiragieo/agent-studio/session-handoff">View session-handoff on skillZs</a>