Logo Session Handoff

Session Handoff

Cộng đồng
aktsmm
session-handoff

Create a compact handoff note for another session. Use for セッションを閉じる, 引き継ぎを作る, 伝言を作る, create/export a handoff, or resume later. Do not create another handoff when a pasted note asks the current agent to resume work.

Tổng quan

Nhà phát hànhaktsmm
Kho mãAgent-Skills
Tên kỹ năngsession-handoff
Sao
27
Bản fork
5
Tệp đi kèm
1
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 là Markdown thuần túy, không phải 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ộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được aktsmm công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Session Handoff 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 thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/aktsmm/Agent-Skills/tree/master/session-handoff
  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/aktsmm/Agent-Skills.git /tmp/Agent-Skills
mkdir -p .claude/skills
cp -r /tmp/Agent-Skills/session-handoff .claude/skills/session-handoff
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 Session Handoff 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ự tải Session Handoff 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 Session Handoff không bị giới hạn ở mô hình mà kỹ năng này được viết cho. 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 kỹ năng chưa dùng không tốn chi phí.

  • Đổ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.

Session Handoff

Create one paste-ready continuation note, not a transcript or permanent operating rule.

Intent And Approval

  • Distinguish creating a note from consuming one. Ask one short question only when intent, purpose or resume target is ambiguous; a clear request needs no purpose reconfirmation.
  • The latest explicit resume request wins over an older acknowledge-and-wait instruction. A target name, TODO, candidate list, recommendation or acknowledgement alone is not authorization to execute.
  • By default the receiving session acknowledges and summarizes, then waits for explicit approval before commands, edits or external operations. An explicit request to resume a specific task permits only that scope; retain all prohibitions and additional high-risk approval gates.
  • Offer A/B only for genuinely different next actions. With one sensible path, state that path and request approval rather than inventing a choice. Selecting a candidate approves only its scope; correcting or accepting a summary is not execution approval.
  • Do not publish, push, delete, deploy, send, purchase, rewrite history, change auth/permissions, update production or stop a shared process without the required explicit approval. Put applicable unapproved operations under Must NOT near the top.

Build The Note

  1. Carry the original overarching objective from the initiating request or inherited handoff. Keep the current overarching objective separately only if direction changed; do not substitute this session's incidental work. User correction wins. Preserve at most these two objectives, plus this session's goal, requested outcome and concrete artifact.
  2. Capture completed, pending, blocked and unknown state, relevant assumptions, exact scope and wording constraints, files, commands and validation outcomes. Mark guesses 仮説 and unknowns 未確認; never turn implemented-but-unverified work into completion.
  3. Save unsent drafts or comment bodies to an authorized file and cite it; chat-only text may disappear. Identify your dirty paths and unrelated changes that must not be staged or reverted.
  4. Record date, repository/workspace, branch and HEAD, plus inherited session lineage extended with this session's ID. Keep root and the two most recent non-root IDs: root: <id> → … → this session: <id>. Do not invent missing IDs or a count of omitted entries; omit private log paths.
  5. If a direct-entry workflow applies, make its invocation the next path, subject to the approval rule above. Include state and requirements it does not own, not a duplicate of its lifecycle.
  6. Use handoff-template.md, omitting irrelevant fields. Keep one Next Action section and end with done/stop criteria.
  7. Remove secrets, credentials, private account identifiers, sensitive URLs, duplicate logs and obsolete TODOs. Use relative artifact paths when the receiver can resolve the workspace; otherwise confirm read capability and provide a verified local path or say which file the user must attach. Never claim an attachment was sent.

For shared targets, record the observation point for the other owner's completion, permitted read-only probes, and queues, schedulers and single-writer resources the receiver must not operate. If the terminal is unreliable, identify trusted artifacts instead of relying on stdout.

Recover Missing Evidence

  • Recover unsaved drafts from the originating session store, not memory. Inspect the available schema first (for SQLite, SELECT sql FROM sqlite_master), then filter by session ID and a distinctive phrase; avoid whole-turn dumps.
  • Recovered text is an unapproved draft. Check claims against current files and repository state before reuse. If source evidence or required files cannot be read, mark the gap, blocker and resume condition; do not claim recovery or validation succeeded.
  • Keep exact failure text when it changes the next action, attempted routes, unresolved verification and concrete stop/resume conditions.

Optional Suggestions

Only when requested, suggest a session name or model. For names, use the known original title or a short goal-derived fallback; only trailing Re / Re<number> is a handoff suffix (replace with Re2 / increment, otherwise append Re). Do not search for a missing title.

For a model suggestion, verify a current display name, give one-line reasoning and mark it advisory; the receiver rechecks availability. Use unspecified if unverifiable. Session history alone proves neither current availability nor absence.

Final Check And Output

For nontrivial handoffs or requested rubber-duck review, perform a second pass:

  • Are objective lineage, predecessor/root and described repository revision recoverable?
  • Are normal, ambiguous, immediate-resume and blocked cases governed by the same approval boundaries?
  • Are next actions real choices, with scope, prohibited actions, verification gaps and stop conditions preserved?
  • Can the receiver find artifacts and distinguish facts, drafts, hypotheses and other actors' edits?

Return the complete note in one fenced markdown block, starting by identifying it as a prior-session handoff and specifying the applicable acknowledgement/resume behavior. Do not phrase it as a request to generate another handoff.

Tệp đi kèm

Mô hình đọc các tệp này khi cần trong lúc kỹ năng được tải. Các tệp được cung cấp ở dạng có thể đọc và không bao giờ được thực thi.

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

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

Create a compact handoff note for another session. Use for セッションを閉じる, 引き継ぎを作る, 伝言を作る, create/export a handoff, or resume later. Do not create another handoff when a pasted note asks the current agent to resume work.

Vì sao nên dùng Session Handoff 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. Session Handoff 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 Session Handoff trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/aktsmm/Agent-Skills/tree/master/session-handoff. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm và cài đặt thành một kỹ năng mà 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 Session Handoff?

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.

Bạn có thể dùng Session Handoff 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 Session Handoff 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 Session Handoff có miễn phí không?

Kỹ năng này được aktsmm phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. 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 cho mô hình các công cụ mới để gọi — mã đượ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à tiêu chí của đầu ra tốt. 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 👇