Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Handoff

ASecurity

Rewrite the full current state into this session's handoff file and commit it. 트리거: "핸드오프", "여기까지 저장", Baton 경고 시.

2 stars
0 votes
0 copies
0 views
Added 9/19/2026
ai-agentsbashnodegit

Works with

terminal

Security Analysis

A100/100

Scanned 9/19/2026

Install to Claude Code

$npx -y skills add snwlee/Nereus --skill handoff --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Handoff?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Handoff
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/snwlee-handoff/badge)](https://www.skillsdirectory.com/skills/snwlee-handoff)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: handoff
description: Rewrite the full current state into this session's handoff file and commit it. 트리거: "핸드오프", "여기까지 저장", Baton 경고 시.
---

# handoff

1. nereus:baton 형식으로 **이 세션의 handoff 파일**을 **전체 재작성**한다. 이전 내용에 덧붙이지 않는다.
   경로는 세션 시작 안내에 적힌 `.nereus/handoff/` 아래 파일이다. **다른 세션의 파일은 열지도 쓰지도 않는다.**
   경로를 못 찾겠으면 `.nereus/handoff/` 에서 자기 세션 파일을 찾고, 그래도 없으면 새로 만든다.
2. "진행 중" 섹션에는 실제 테스트 실행 결과(RED/GREEN)를 넣는다. 실행하지 않았으면 실행한다.
3. "실패한 접근과 이유"를 빠뜨리지 않는다. 없으면 "없음".
4. `git add -A && git commit -m "chore(baton): handoff <단계>/<태스크>"`. 커밋할 것이 없으면 생략.
5. 사용자에게 세 줄로 보고: 어디까지 했는지, 다음이 무엇인지, `/clear` 만 치면 재개는 자동이라는 것.
6. 커밋까지 끝났으면 `/clear` 와 재개 입력을 자동화한다 — **백그라운드로** 띄운다(현재 턴이 끝나야 TUI 가 입력을 받는다).

   ```bash
   nohup node "${CLAUDE_PLUGIN_ROOT}/skills/handoff/scripts/auto-clear.mjs" >/dev/null 2>&1 &
   disown 2>/dev/null || true
   ```

   `nohup` + `disown` 으로 **완전히 분리**한다. 이 스크립트는 턴이 끝나기를 기다렸다가 입력을 넣으므로, 턴 종료와 함께 죽으면 영영 동작하지 않는다. 그냥 `&` 만 쓰면 안 된다.

   Orca 터미널 밖이거나(`ORCA_TERMINAL_HANDLE` 없음) `autoClear.enabled: false` 이면 스스로 아무것도 하지 않는다. 턴이 실제로 끝났는지 확인하지 못해도 `/clear` 를 보내지 않는다 — 턴 도중에 보내면 입력이 삼켜진다. 그때는 사용자가 직접 `/clear` 를 친다.

   미커밋 변경은 막지 않는다. `/clear` 는 파일도 git 상태도 건드리지 않고 대화 컨텍스트만 비우며, 그 맥락은 방금 쓴 handoff.md 가 담고 있다.

   **안 됐을 때는 `.nereus/auto-clear.log` 를 본다.** 매 실행이 이유와 함께 남는다(`조건 불충족 …`, `유휴 확인 실패(…)`, `유휴 확인(quiet)`, `전송 /clear → ok`).

그 다음 새 작업을 시작하지 않는다.

Attribution

snwleesnwlee
View sourceMore from snwlee →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Ultra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman. Also auto-triggers when token efficiency is requested.

1023331 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

686011 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3331 votes

catchup

Recovers prior coding-agent session context by running `catchup <agent> --since-compact`, which extracts a clean summary of a previous Codex, Claude Code, Antigravity, OpenCode, or Pi Agent session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", or asks to recover/summarize a previous session before continuing. Do NOT use for the current conversation, git history, or any non-agent log.

611 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →