/yskills:human-context-rebuildfrom yskills
Rebuilds the user's mental model of the current session with a tight recap covering what's being done, why, and where things stand. Useful after breaks, tangents, or long subagent runs.
Ships in yskills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Drop the user back into the session in under 30 seconds of reading. They forgot. Their job is to scan and resume — not to re-read a transcript.
Produce one short recap. No preamble, no "great question", no offering to do more.
What needs the user goes first. The user runs many sessions; the fact they most need on return is whether this one is waiting on them, and for what. Lead with that, before the story of the session.
Use exactly these sections, in this order. Skip a section only if there's genuinely nothing to put in it (don't pad).
**需要你 / Needs you**: <count first — "2 件" or "没有,agent 在继续" — then one bullet per item, ranked>
**现在在做 / Now**: <1 line — the active task in concrete terms>
**为什么 / Why**: <1 line — the trigger or motivation the user gave>
**目标 / Goal**: <1 line — the success condition>
**进展 / Done**: <bullet list, ≤4 items, most recent first>
**下一步 / Next**: <1–2 lines — the very next action, and who does it: you or the agent>
Needs you is never skipped: if nothing waits on the user, say so in that line. An item belongs there when only the user can move it:
Rank: what blocks the most other work, then anything with a deadline or that expires, then irreversible or outward-facing steps, then the rest. Each bullet: where it came from (which PR, message, doc, or earlier turn), what exactly they must do, and what it unblocks — a decision as a concrete example with real names and numbers. At most 3 bullets; if there are more, say how many more. Work the agent can do alone does not go here; it goes in Next as the agent's action.
Total length: aim for under 150 words. Hard cap 250.
Match the session's dominant language. If the user has been mixing Chinese and English, mix in the recap too — keep technical terms (file paths, function names, statuses) in their original form. Don't translate identifiers.
我们才刚开始 — 你给的方向是 X, 还没动手. 要不要先 ___?(早些时候在弄 Y, 暂停了.)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub lycfyi/yskills --plugin yskills5 skills in this plugin
/cold-readCold-read user-facing words the way a first-time, lazy, hurried reader would, using fresh-context reader subagents that never saw the conversation that produced them: UI copy (a strings-file diff, screenshots, or a who/where/text list), landing pages, profile bios, decks and charts, plans, emails, notifications, application answers, and the options an agent is about to show a human. Finds text that should not be on the page (implementation talk, design rationale, restated requirements, placeholders) and text that will be misread (unclear who decides, buttons that hide the consequence, raw codes, undefined groups, numbers without a unit, one thing with two names). Returns numbered findings to triage by number. Trigger: "cold read this", "冷读", "冷读一下", "would a new user get this", "read this as a CTO / an investor / a busy owner", "压测一下文案", before handing back or merging any change to user-visible text, and before sending a deck, bio or application. NOT for translation accuracy, grammar, or visual layout./stale-checkJudge whether the current repo / branch / worktree is stale — behind its target branch, already merged (incl. squash-merged via PR), merged but with commits piled on afterwards, abandoned, unpushed, or about to conflict on rebase — and say what to do about it. Read-only (only `git fetch --prune`). Trigger on /stale-check (optionally with a repo path, --target <branch>, or --all-worktrees), or when the user asks "这个分支过期了吗", "这个 repo 是不是过期了", "这个 worktree 还能用吗", "分支落后 main 多少", "这个分支合过了没", "is this branch stale", "am I behind main", "can I delete this branch/worktree", "哪些 worktree 该清了". NOT for deciding what to build next, and NOT for actually rebasing/merging/deleting — this skill only diagnoses; any fix is a separate, explicitly requested step./whats-nextRe-orient the user after they return to a session — or after they open a FRESH context pointed at a worktree/branch — lead with what only the user can unblock, ranked, and let them decide the next step by answering lightweight structured questions (Yes/No, A/B/C/D via AskUserQuestion) instead of facing a blank prompt. Trigger when the user invokes /whats-next (optionally naming a worktree, branch, or repo path), or asks "接下来做什么", "下一步是什么", "我该做什么", "这个 worktree/分支做到哪了、下一步呢", "what's next", "what should we do next", "帮我决定下一步", or returns after a long gap and wants to resume work with minimal typing. Works with zero conversation history: state is then rebuilt from git evidence (diffs, branch commits, uncommitted changes) and handoff/task docs. NOT for pure recap with no decision needed (that is a recap request — answer it directly or use a context-rebuild skill if available), and NOT for questions about a specific file or piece of code./worktree-cleanupActually remove finished git worktrees and their branches after they have been diagnosed: prove each one is merged (squash merges included) and clean, stop dev servers still running inside, remove the worktree and branch with plain git, prune dead registrations and empty shell folders, and report what was kept and why. Trigger when the user says "clean up my worktrees", "delete the merged ones", "remove this worktree and its branch", "帮我清理", "清一下 worktree", "把合过的都删了", "哪些 worktree 可以删,删掉", or asks to act on a stale-check verdict. NOT for diagnosing only (use stale-check), rebasing or moving work to a new branch, or deleting anything whose work is not on the target branch unless the user names it.Other plugins' skills for the same job