session-flow
Skill này làm gì
Skill này dựng lại một bản đồ rõ ràng về cuộc trò chuyện đã diễn ra thế nào, gồm mục tiêu, những gì đã thay đổi, những gì đã xong và những gì còn chờ. Skill dành cho người chuyển phiên hoặc mất dấu đang ở đâu.
Khi nào nên dùng
- ✓Khi bạn quay lại một cuộc trò chuyện và không nhớ mọi thứ đang ở đâu.
- ✓Khi bạn muốn một bản cập nhật ngắn về mục tiêu và quyết định tiếp theo cần từ bạn.
- ✓Khi bạn muốn xóa danh sách tác vụ đã lưu từ skill này.
Liên kết skill
https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/session-flow/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tôi đã mất dấu cuộc trò chuyện này. Hãy cho tôi một bản đồ ngắn về mục tiêu, những gì đã xong và những gì cần quyết định của tôi.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent dựng lại chuỗi các giai đoạn từ chính cuộc trò chuyện, đánh dấu mỗi giai đoạn là đã xong, đang làm, đã lên kế hoạch, bị bỏ hoặc đã đổi. Nó trích bằng chứng cho từng giai đoạn và liệt kê các quyết định đang chờ bạn.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Session Flow
Build a compact, evidence-backed map of how this conversation actually unfolded so the user can reorient after switching sessions or compacting. This is an advisory summary, not a planner, executor, or replacement for the user's task list.
Modes
- No argument: render the full map and reconcile its session-flow Tasks when native Task tools are available.
short: return only the goal, current stage, and what (if anything) needs the user. Read-only; do not change Tasks.reset: discover and delete only Tasks owned by this skill, then confirm what was removed. Do not render a new map.
Workflow
- Reconstruct the flow from this conversation's user messages and tool results. Do not treat repository state alone as evidence that a stage happened. Separate the original goal from explicit goal changes, pivots, completed outcomes, dropped paths, and decisions still waiting on the user.
- Make 4–8 meaningful stages when the history supports them; use fewer rather than padding sparse histories or inventing work. Use one outcome per stage:
✅completed with an outcome supported by the conversation▶the current unfinished stage○an explicitly planned but unstarted stage✂dropped, with the stated reason↪a pivot, with the old direction and the evidenced new direction
- Give every stage one compact evidence pointer. Use a real URL or artifact path when one appears in the conversation; otherwise cite a distinctive short user quote or tool result. Never invent a link or state an inference as fact. Mark uncertain or pre-compaction reconstruction as
inferred. - Keep the full map to at most 15 lines: one line per stage, plus concise goal,
Needs you, andNextlines. Include open decisions inNeeds you; saynonewhen there are none.Nextmust be a concrete next action only when the conversation supports one. - In the default and
resetmodes, callTaskListand inspect every[S<number>]candidate withTaskGetbefore mutating it. A Task belongs to this skill only when its subject starts with[S<number>]and its description contains the exact marker linesession-flow: managed stage. Never edit, complete, delete, or reuse an unmarked Task. - In the default mode, update owned Tasks that still represent a stage, create missing stages with
TaskCreate, a subject beginning[S<number>], and a description whose first line is the ownership marker followed by stage evidence. Match statuses to the map: completed (including dropped or pivoted) iscompleted, current isin_progress, and planned ispending. Delete owned Tasks for stages no longer in the reconstructed map withTaskUpdatestatusdeleted; keep surviving stage numbers stable and avoid collisions with unowned Tasks. - The OMC continuation hook excludes Tasks with both the
[S<number>]subject prefix and the exact ownership marker, so these descriptive records are not treated as unfinished work. Preserve both markers on every create or update.shortmust not call mutating Task tools. - For
reset, discover owned Tasks withTaskListandTaskGet, then useTaskUpdatestatusdeletedonly on confirmed owned Tasks. - If the native Task tools are unavailable, render the map without claiming it was persisted. For
reset, report that owned Tasks could not be inspected or removed; do not guess which Tasks belong to the skill.
Output
Use a stable, concise shape:
🎯 Goal: <goal and any evidenced change>
✅ S1 <stage> → <outcome> — evidence: <source pointer>
↪ S2 <old direction> → <new direction> — evidence: <source pointer>
▶ S3 <current stage> — evidence: <source pointer>
✂ S4 <dropped path> — <reason> — evidence: <source pointer>
⏸ Needs you: <decision or none>
➡ Next: <supported next action or none>
Omit example rows that do not apply. Keep the stage order stable across calls unless the conversation provides evidence to correct it; update the owned Tasks to match any correction.
Câu hỏi thường gặp
Nó có dùng repository để đoán chuyện đã xảy ra không?
Không. Một giai đoạn chỉ được tính là đã xong khi chính cuộc trò chuyện cho thấy nó đã xảy ra.
Có tùy chọn ngắn hơn không?
Có. Chế độ ngắn chỉ trả về mục tiêu, giai đoạn hiện tại và những gì cần bạn nhập liệu.
Nó có thay đổi danh sách tác vụ của tôi không?
Chỉ ở chế độ đầy đủ, nơi nó cập nhật các tác vụ của chính nó. Chế độ ngắn chỉ đọc.
Chi tiết
Mô tả gốc của tác giả
Reorient in the current Claude Code session with an evidence-backed map of its goal, pivots, outcomes, current step, and open decisions.
Độ phổ biến
- Sao GitHub
- 41k
- Vị trí xếp hạng
- #7025
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
agent-doc-discipline
41kDạy agent của bạn viết hướng dẫn mà các agent AI khác có thể tự làm theo, với các quy tắc có thể kiểm tra và lý do rõ ràng đằng sau mỗi quy tắc.
ai-slop-cleaner
41kGiúp agent của bạn dọn dẹp mã do AI viết mà chạy được nhưng cồng kềnh hoặc lặp lại, loại bỏ mã thừa mà không thay đổi những gì nó làm.
architecture-survey
41kGiúp agent của bạn xem xét cấu trúc một codebase và liệt kê các phần ngày càng khó thay đổi, kèm bằng chứng, mà không tự thay đổi gì.
ask-navigator
41kGiúp agent của bạn biến một dự án còn mơ hồ thành bản đồ các câu hỏi quyết định rõ ràng, rồi giải quyết từng câu một cho đến khi con đường trở nên rõ.
Skill tương tự
knowledge-capture
394kDạy agent của bạn lưu các quyết định, sở thích và sự kiện quan trọng vào kho Knowledge dưới dạng ghi chú ngắn có ghi nguồn.
knowledge-claim-consolidation
394kGiúp agent của bạn dọn gọn kho Knowledge bằng cách gộp các khẳng định trùng lặp, chuyển chúng đến đúng trang chủ đề và loại bỏ những cái lỗi thời.
knowledge-correct
394kCho phép agent của bạn sửa hoặc rút lại một khẳng định hoặc trang Knowledge cụ thể theo yêu cầu của bạn, và giữ nhật ký những gì đã thay đổi.