Logo Handover

Handover

Cộng đồng
randommonicle
handover

Produce a structured handover note when the context window fills or the user asks to wrap up. Take the real percentage from /context or, in the Claude desktop app, the get_usage tool; never estimate, and where neither exists record the gap verbatim rather than inventing a figure. Triggers when the context band reaches amber or red, when the user says "wrap up", "handover", or "hand off", or before deliberately ending a long working session.

Tổng quan

Nhà phát hànhrandommonicle
Kho mãclaude-skills
Tên kỹ nănghandover
Sao
27
Bản fork
3
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được randommonicle công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Handover trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/randommonicle/claude-skills/tree/main/handover
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/randommonicle/claude-skills.git /tmp/claude-skills
mkdir -p .claude/skills
cp -r /tmp/claude-skills/handover .claude/skills/handover
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Handover trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Handover ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Handover với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Handover note

The global operating rules define context bands: green below 50%, yellow 50 to 65%, amber 65 to 75%, red above 75%. At yellow, mention the reading and keep commits small with explicit scope cuts. At amber, take no new work units. At red, stop and hand over. This skill defines what the handover contains and how to produce it.

When this applies

  • The context band reaches amber or red.
  • The user says "wrap up", "handover", "hand off", or similar.
  • A long session is ending deliberately and the next session needs to resume cleanly.

Step 1: measure, never estimate

Run /context first and use the real figure. Do not guess or estimate the percentage. Run /context and use the figure it returns. The whole point of the bands is that the decision to wrap is made on a real reading, not a feeling.

In the Claude desktop app the agent cannot type /context, but the reading is one tool call away: mcp__ccd_session_mgmt__get_usage with session_id: "self". It is usually deferred, so load it through ToolSearch first. Its context.percentUsed is the reading; the same call reports the plan's 5-hour and weekly limits, which matter when several sessions run at once. On 2026-09-24 a desktop session wrote the gap line below into a handover while this tool sat in its deferred list, and the user had to supply the 38 % reading. Search the deferred tools for "context usage" before declaring a gap.

Where neither /context nor a usage tool is available (a non-interactive orchestrator or headless session), an honest gap is the reading. Write "no reading: /context unavailable in this harness" verbatim into the note's wrap-up context, never an invented or estimated percentage, and make the band decision from the harness's own signals (context-compaction warnings, summarisation system reminders). Five consecutive sessions on one project (2026-07-31 to 2026-08-12) wrote that gap into prose and re-declared this rule change due before the rule caught up with the harness it actually runs in.

Step 2: the handover note

A fixed shape, so the next session can read it once and resume:

  1. Session goal. One line: what this session set out to do.
  2. Branch and worktree. The working branch, and the worktree path if non-standard. The next session starts on main by default and otherwise has to rediscover this from git log.
  3. What landed. Commits and PRs with sha and a one-line description each. Mark each as verified or unverified.
  4. In flight. What is half-done, with exact file:line ranges, not bare paths. Enough that the next session can open the file at the right place.
  5. Deferred items. Every item deferred this session, each with its grep anchor, per the flag-deferred-items skill. The note records where the anchor was planted.
  6. Verification still outstanding. Migration catalog queries to run, smokes to run, post-rollout checks not yet done.
  7. Blockers and open questions. Anything waiting on a decision or an external answer.
  8. Next actions. Ordered and concrete. Each is a single first step, not a theme.
  9. Traps and working agreements. Project-specific gotchas surfaced this session, plus standing rules that bit or nearly bit (confirm before push, money is pounds not pence, grep the live schema rather than trusting handover docs).

Dates are absolute, not relative. Money is stated in pounds.

Where the project keeps a checkpoint log (per the checkpoint-log skill), synthesise items 3, 4, and 5 from the log rather than from memory; the log is the record, the handover is the digest.

Every diagnosis and causal claim in the note carries a confidence marker: verified, with the command or evidence that proved it, or unverified. The note opens with one line: "diagnoses in this note are unverified unless marked". A recommendation built on an unverified diagnosis inherits the marker. The incident behind this (2026-07-20): a second-order claim about a fix, reasoned from structure rather than probed, was written into a migration header and DECISIONS as fact, and a reader had no way to tell asserted from proven until a smoke forced the correction.

Step 3: persist it

Write the note to the project's handover location, or to DECISIONS.md / LESSONS_LEARNED.md where an item qualifies for those. If no handover location is established, write to HANDOVER.md in the project root. Append; do not overwrite. The history of handovers is itself useful, and an overwrite loses the trail. If something this session qualifies as a documented decision or a lesson learned, prompt to record it.

In a project that keeps team/NOW.md (the team-loop skill), every session end overwrites NOW.md from team-loop/templates/NOW.md, at most 40 lines: item 1 as its topic:, item 8's first step as next:, and items 2 to 6 and 9 under its headings, with landed commits still marked verified or unverified and its branches: and ask: lines current. Git keeps the trail, so the overwrite loses nothing. Item 7's open questions go to the project's Ask queue, not into NOW.md. That replaces the appended note for a routine end, amber-band wrap-ups included. An unusual end also gets a dated docs/HANDOVER_<topic>_<date>.md in the full shape above: the red band, a crash or forced stop, a move to another machine, or a scheduled run stopped by a usage limit. Steps 1, 2 and 4 apply either way.

Then get the note committed before the session ends, with the user's per-action yes. A note left untracked reaches neither the other machine nor the next reader's git log, and it is invisible to the session that resumes from a different checkout. On 2026-09-14 four handover and review notes from three sessions were found untracked in this library's docs/, one of them already superseded.

Step 4: promote before closing

Sweep the note's traps and working agreements before finishing. Anything that would change how a future session behaves is a lesson, not a handover line: promote it to the project's LESSONS_LEARNED.md now, with its misses-log line, or plant a grep-able FORWARD anchor at the landing point (flag-deferred-items). Knowledge that stops in a handover never reaches the library's admission pipeline. The incident behind this (2026-07-27): five coordination rules learned the hard way in one session sat in a handover section behind "consider folding these in later", and were never folded in.

What this skill does not do

It does not decide to wrap up; the context bands do that. It does not push or commit on its own. It produces the note and persists it, leaving the push gate intact.

Why

Long sessions fail at the seams: the next session re-discovers what the last one already knew, or misses a deferred item or an unrun verification. A fixed handover shape, produced from a real context reading, makes the seam cheap to cross and keeps deferred and unverified work from falling through it.

Additions from cross-repo lessons (ratified 2026-07-23)

  • Stamp superseded sections. A session that makes a prior handover's "next build" section stale stamps that section superseded in the same PR — a one-session-stale handover cost real rework.
  • Carry-forward items cite a live-state verification or are marked unverified. A "still open" item once rode four consecutive handovers a month after the work was done. Re-verifying at write time is cheaper than the duplicate build it prevents (see live-state-first).

Additions from the misses-log sweep (2026-11-01)

  • Report uncommitted files by status letter, never as a count. "175 uncommitted files" reads as work to save; 175 deletions reads as an incident. Give the breakdown from git status -s by letter ( M, D, ??, A ) so the next session can tell work in progress from damage, and name the branch and worktree each count belongs to. (Library 40, where the count was the whole of the misreading.)

Câu hỏi thường gặp

Kỹ năng AI Handover làm được gì?

Produce a structured handover note when the context window fills or the user asks to wrap up. Take the real percentage from /context or, in the Claude desktop app, the get_usage tool; never estimate, and where neither exists record the gap verbatim rather than inventing a figure. Triggers when the context band reaches amber or red, when the user says "wrap up", "handover", or "hand off", or before deliberately ending a long working session.

Vì sao nên dùng Handover trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Handover là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Handover trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/randommonicle/claude-skills/tree/main/handover. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Handover?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Handover với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Handover với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Handover có miễn phí không?

Có. Kỹ năng này được randommonicle phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇