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

Baton

ASecurity

Context handoff rules and the handoff.md format. Referenced on a Baton warning and when resuming; call handoff/resume/loop for the actual action. 트리거: Baton 경고 시, 재개 시 참조. 직접 호출용 아님.

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

Works with

claude code

Security Analysis

A100/100

Scanned 9/19/2026

Install to Claude Code

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

Installs into .claude/skills of the current project.

Are you the author of Baton?

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

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

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

Download Zip
Files
SKILL.md
---
name: baton
description: Context handoff rules and the handoff.md format. Referenced on a Baton warning and when resuming; call handoff/resume/loop for the actual action. 트리거: Baton 경고 시, 재개 시 참조. 직접 호출용 아님.
---

# Baton

진실은 디스크에만 있다: `.nereus/handoff/` 아래 이 세션의 handoff 파일, tasks 파일, git 커밋. 대화 기억은 믿지 않는다.

**쓰기는 자기 세션 파일, 읽기는 최신 파일.** 파일명은 `시각-세션id8.md` 이고, 그 경로는 세션 시작
안내가 알려준다. 다른 세션의 파일은 열지도 쓰지도 않는다 — 같은 프로젝트에서 세션이 여럿
돌아도 서로의 상태를 덮지 않게 하기 위해서다. 옛 단일 파일 `.nereus/handoff.md` 는 읽기만 된다(레거시).

## handoff.md 형식 (매번 전체 재작성, 덧붙이지 않음)

```markdown
# Handoff — <프로젝트> (<YYYY-MM-DD HH:mm>)

## 목표
한 문단. 이 작업 단위가 끝나면 무엇이 참이 되는가.

## 현재 단계
intake | spec | build | e2e | review | finish 중 하나 + 진행 중인 태스크 이름.

## 완료
- 체크된 태스크와 커밋 해시.

## 진행 중
- 지금 손대던 파일과 어디까지 했는지. 테스트가 RED인지 GREEN인지.

## 다음
- 바로 이어서 할 1~3개.

## MUST NOT — 실패한 접근과 금지 사항
- `[latest]` 시도 → 왜 안 됐는지. 다음 세션이 반복하지 않도록. 없으면 "없음".
- 사용자가 금지한 것, 건드리면 안 되는 파일도 여기에.
- 더 이상 유효하지 않은 항목은 지우지 말고 `[superseded: 이유]`로 표시한다.

## 판단 기록 (Rulings)
- `Ruling: <판단> — <이유> (<태스크>)` 한 줄씩. 예: `Ruling: 토큰 만료 검사는 미들웨어에 둔다 — 컨트롤러 3곳 중복 제거 (T3)`.
- 컴팩션·루프 재시작 뒤 같은 판단을 다시 고민하지 않게 하는 것이 목적. 판단이 바뀌면 새 줄을 추가하고 옛 줄에 `[superseded]`.

## 결정
- 이 단위에서 내린 설계 결정과 근거. ADR이 있으면 링크.

## 열린 질문
- 사용자에게 물어야 할 것.

## 테스트 상태
- 러너, 마지막 실행 결과(통과/실패 수), 격리된 E2E.
```

## 임계값 동작

- **50%**(설정 `baton.warn`): 새 태스크 시작 금지. 현재 태스크만 마무리 → handoff 재작성 → 커밋 → 멈춤. 사용자에게 "/clear 만 치면 자동으로 이어집니다" 안내.
- **70%**(`baton.hard`): 즉시 handoff 재작성과 커밋만. 다른 도구 호출 금지.
- **80%**: Claude Code 자동 압축(`CLAUDE_AUTOCOMPACT_PCT_OVERRIDE`). Baton을 놓쳤을 때의 안전망일 뿐, 여기까지 오면 이미 늦은 것이다.
- 자동 압축이 먼저 오면 PreCompact 훅이 handoff 작성을 요구한다. 압축 뒤에도 handoff가 진실이다.

## 재개

SessionStart 훅이 **가장 최근 handoff**(mtime 기준)를 주입하고, 이 세션이 쓸 파일 경로를 함께 알린다.
최근 30분 안에 다른 세션이 handoff 를 갱신했으면 경고가 따라온다 — 같은 파일을 건드리는 중인지 확인한다.
재개 시 "진행 중"의 테스트 상태를 먼저 실제로 실행해 확인한 뒤 이어간다. 완료 항목은 반복하지 않는다.

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 →