跳到正文
Skillpedia
任务与项目41k · #7025

session-flow

它能做什么

这项技能重新梳理对话的脉络,包括目标、已改动的内容、已完成的事项以及仍在等待的事项。适合切换会话或不清楚自己进展到哪里的人。

适用场景

  • ✓当你回到一段对话,却记不清事情进展到哪一步的时候。
  • ✓当你想获得关于目标以及下一步需要你做的决定的简短更新的时候。
  • ✓当你想清除此技能保存的任务列表的时候。

技能链接

https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/session-flow/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/session-flow/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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

  1. 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.
  2. 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
  3. 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.
  4. Keep the full map to at most 15 lines: one line per stage, plus concise goal, Needs you, and Next lines. Include open decisions in Needs you; say none when there are none. Next must be a concrete next action only when the conversation supports one.
  5. In the default and reset modes, call TaskList and inspect every [S<number>] candidate with TaskGet before mutating it. A Task belongs to this skill only when its subject starts with [S<number>] and its description contains the exact marker line session-flow: managed stage. Never edit, complete, delete, or reuse an unmarked Task.
  6. 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) is completed, current is in_progress, and planned is pending. Delete owned Tasks for stages no longer in the reconstructed map with TaskUpdate status deleted; keep surviving stage numbers stable and avoid collisions with unowned Tasks.
  7. 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. short must not call mutating Task tools.
  8. For reset, discover owned Tasks with TaskList and TaskGet, then use TaskUpdate status deleted only on confirmed owned Tasks.
  9. 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.

repo: Yeachan-Heo/oh-my-claudecode

热度

GitHub 星标
41k
排名
#7025
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能