session-flow
它能做什么
这项技能重新梳理对话的脉络,包括目标、已改动的内容、已完成的事项以及仍在等待的事项。适合切换会话或不清楚自己进展到哪里的人。
适用场景
- ✓当你回到一段对话,却记不清事情进展到哪一步的时候。
- ✓当你想获得关于目标以及下一步需要你做的决定的简短更新的时候。
- ✓当你想清除此技能保存的任务列表的时候。
技能链接
https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/session-flow/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我把这段对话的进展搞乱了。请给我一份简短的梳理,说明目标、已完成的事项,以及需要我决定的内容。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会根据对话本身重建各阶段的顺序,并将每个阶段标记为已完成、进行中、已计划、已放弃或已更改。它会为每个阶段引用证据,并列出仍在等待你决定的事项。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
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.
常见问题
它会用代码仓库来猜测发生了什么吗?
不会。只有对话本身显示某个阶段确实发生过,才会被视为已完成。
有更简短的选项吗?
有。简短模式只返回目标、当前阶段以及需要你输入的内容。
它会更改我的任务列表吗?
只有在完整模式下才会,它会更新自己的任务。简短模式是只读的。
详情
作者的原始描述
Reorient in the current Claude Code session with an evidence-backed map of its goal, pivots, outcomes, current step, and open decisions.
热度
- GitHub 星标
- 41k
- 排名
- #7025
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
agent-doc-discipline
41k教你的智能体编写其他 AI 智能体能够独立遵循的说明,规则可以检验,并且每条规则都附有明确的理由。
ai-slop-cleaner
41k帮你的智能体整理 AI 写出的代码,这些代码能运行但臃肿或重复,在不改变其功能的前提下删除多余部分。
architecture-survey
41k帮你的智能体审查代码库的结构,列出越来越难修改的部分并附上证据,且自身不做任何更改。
ask-navigator
41k帮你的智能体把模糊的项目整理成一张清晰的决策问题图,然后逐个处理,直到路径变得清楚。