Przejdź do treści
Biblioteka skilli
AI i agenci · Automatyzacja

handoff-more

/handoff-more

Wczytuje starsze przekazania z .claude/handoff_history/ do kontekstu bieżącej sesji, gdy automatycznie załadowany handoff_current.md jest zbyt ubogi; wymaga skryptów z instalatora repozytorium.

Licencja
MIT
Ostatnia zmiana repozytorium
23.09.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
2
Przestarzałość

Brak sygnałów. Repozytorium zmienione 23.09.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Wczytuje starsze przekazania z .claude/handoff_history/ do kontekstu bieżącej sesji, gdy automatycznie załadowany handoff_current.md jest zbyt ubogi; wymaga skryptów z instalatora repozytorium.

Wyzwalacze z opisu

s context. Requires the scripts/hooks installed by this repoyesterdaythe session before this one,
Oryginalny opis (EN)

Pull older handoffs from .claude/handoff_history/ into the current session's context. Requires the scripts/hooks installed by this repo's ./install.sh — the history it reads only exists once those are in place. Use when the auto-loaded handoff_current.md is thin (placeholder Notes, missing context the user is referencing), when the user references work from "yesterday" or "the session before this one," or whenever the user explicitly invokes /handoff-more. Reads up to N older snapshots (default 5).

Jak działa

  1. When to invoke
  2. Steps
  3. What NOT to do
Sekcje z nagłówków SKILL.md, w oryginale · 99 linii, 674 słów
Podgląd SKILL.md
---
name: handoff-more
description: Pull older handoffs from .claude/handoff_history/ into the current session's context. Requires the scripts/hooks installed by this repo's ./install.sh — the history it reads only exists once those are in place. Use when the auto-loaded handoff_current.md is thin (placeholder Notes, missing context the user is referencing), when the user references work from "yesterday" or "the session before this one," or whenever the user explicitly invokes /handoff-more. Reads up to N older snapshots (default 5).
---

# /handoff-more — load older handoffs into context

> **Prerequisite:** this skill reads history that only exists when the
> scripts and hooks from https://github.com/Sting25/claude-code-handoff
> are installed — `write_handoff.sh` is what rotates snapshots into
> `handoff_history/`. That toolchain lives under `~/.claude/bin/`
> (script install) or the plugin's `bin/` (plugin install) and is NOT
> part of this file alone; run `./install.sh` from that repo (or
> install the plugin) once per machine first.

The `SessionStart` hook auto-loads `handoff_current.md` (the most
recent handoff). This skill pulls in the older snapshots that
`write_handoff.sh` rotated into `<repo>/.claude/handoff_history/`
before each new write.

## When to invoke

- **User asks explicitly** (`/handoff-more`, "load more handoff
  context," "what did we do two sessions ago," etc.).
- **Auto-loaded handoff is thin.** If `handoff_current.md` was the
  result of an automatic `SessionEnd` write (no model in the loop to
  add curated Notes), the SessionStart hook already loaded the prior
  one as a fallback. But if the user is referencing decisions or work
  the assistant still can't account for, run this skill to pull
  further back.
- **Continuity gap.** User mentions a track, decision, or artifact you
  have no context on, and the current handoff doesn't reference it.

## Steps

1. List the history dir:
   ```bash
   ls -la <repo-root>/.claude/handoff_history/
   ```
   If the directory is missing or empty, check whether that's "no
   history yet" or "toolchain never installed". Script installs put
   the scripts under `~/.claude/bin/`; plugin installs put them under
   the plugin's `bin/`. `CLAUDE_PLUGIN_ROOT` would name that location,
   but measurement (2026-08-11, plugin-enabled headless session) shows
   the CLI does NOT export it to model-driven Bash calls — the env-var
   check stays only as cheap future-proofing, and in plugin mode the
   cache-glob is the branch that actually resolves:
   ```bash
   hb=""
   if [ -n "${CLAUDE_PLUGIN_ROOT:-}" ] && [ -f "${CLAUDE_PLUGIN_ROOT}/bin/write_handoff.sh" ]; then
     hb="${CLAUDE_PLUGIN_ROOT}/bin"
   elif [ -f "$HOME/.claude/bin/write_handoff.sh" ]; then
     hb="$HOME/.claude/bin"
   else
     nb=0
     for d in "${CLAUDE_CONFIG_DIR:-$HOME/.claude}"/plugins/cache/*/claude-code-handoff/*/bin; do
       if [ -f "$d/write_handoff.sh" ]; then
         t="$(stat -f %m "$d/write_handoff.sh" 2>/dev/null || stat -c %Y "$d/write_handoff.sh" 2>/dev/null || echo 0)"
         [ "$t" -ge "$nb" ] && nb="$t" && hb="$d"
       fi
     done
   fi
   # env var wins when set (running from that plugin), legacy bin next (existing
   # installs), cache glob last (plugin installed but env var not visible to
   # skill Bash); among cached versions the newest mtime wins. NOT lexical
# last-match: glob order sorts 0.9.0 AFTER 0.14.0, so that silently ran an
# older cached version across a digit-count boundary (fixed v0.14.1).
   [ -n "$hb" ] || echo "MISSING: handoff scripts not installed (neither ~/.claude/bin nor a plugin install found)"
   echo "handoff-bin: $hb"
   ```
   (This skill only reads directories — `$hb` isn't invoked elsewhere
   in this file, so there's no cross-call persistence concern here.)
   If it prints MISSING, stop and tell the user to clone
   https://github.com/Sting25/claude-code-handoff and run `./install.sh`
   (or install the plugin) — don't try to substitute for the missing
   toolchain. If the scripts ARE installed, say there's simply no
   history yet and stop — there's nothing to load.

2. Read each retained snapshot, newest first. The default retention
   is 5 (configurable via `HANDOFF_HISTORY_KEEP` in the user's shell),
   so this is normally 1–5 files. Use the `Read` tool on each.

3. Acknowledge in one line that older handoffs are now in context
   (e.g. "Loaded 3 older handoffs from
   `.claude/handoff_history/` — `handoff_2026-05-12_140312.md`,
   `handoff_2026-05-11_180044.md`, `handoff_2026-05-10_223301.md` —
   into context."). Then continue answering whatever the user
   actually asked.

## What NOT to do

- Do not load history files that aren't in `handoff_history/`. The
  raw turn-by-turn dumps under `handoff_backups/` are a different
  artifact (verbose, per-turn, for forensic recovery) — use that
  directly if you need that level of detail, not this skill.
- Do not summarize the loaded handoffs back to the user as a wall of
  text. The point is to put the prose in context, not to recite it.
  One acknowledgement line is enough.
- Do not invoke proactively at every session start. The SessionStart
  hook already handles the "current handoff is thin → also include
  previous" fallback automatically. This skill is for when *that*
  fallback is also insufficient.

Wersje

W bazie nie ma innych skilli o nazwie handoff-more.

Migawka bazy z 28.10.2026 · wersja paczki eb13945cdf3d (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100handoff
    Zapisuje stan sesji do pliku .claude/handoff_current.md i wyraźnie prosi o start nowej sesji; wymaga skryptów i hooków z instalatora repozytorium.
  • 100handoff-recover
    Składa wstecznie przekazanie z surowego zapisu poprzedniej sesji w .claude/handoff_backups/, gdy sesja skończyła się bez komendy /handoff; wymaga skryptów z instalatora repozytorium.
  • 100creating-handoffs
    Przygotowuje podsumowanie kontekstu pracy do przekazania innej sesji lub osobie.
  • 96thread-health
    Sprawdza kondycję sesji Claude Code: rozmiar kontekstu, odległość do przekazania i liczbę kompaktowań.
  • 100session-handoff
    Zapisuje stan bieżącej sesji i generuje prompt do kontynuacji w nowej sesji, gdy kontekst się zapełnia lub przed końcem długiej pracy.
  • 100handoff
    Zapisuje stan sesji poleceniem /handoff przed wyczyszczeniem kontekstu lub zmianą sesji, także przy zbliżaniu się do limitu kontekstu, oraz wznawia pracę z takiego zapisu.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.