/new-chat-ready
Prepare seamless new-chat handoff packs when a user wants to start a fresh chat, continue elsewhere, pause a long task, recover from context decay, recover a lost conversation from local Codex or Claude Code logs, preserve reusable project knowledge in Markdown, or hand work to
$ npx -y skills add huisezhiyin/sdd-riper --skill new-chat-ready --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/new-chat-ready
Context preview
The summary Claude sees to decide when to auto-load this skill.
Prepare seamless new-chat handoff packs when a user wants to start a fresh chat, continue elsewhere, pause a long task, recover from context decay, recover a lost conversation from local Codex or Claude Code logs, preserve reusable project knowledge in Markdown, or hand work to
SKILL.md
new-chat-ready.SKILL.mdname: new-chat-ready
version: 0.2.1
description: Prepare seamless new-chat handoff packs when a user wants to start a fresh chat, continue elsewhere, pause a long task, recover from context decay, recover a lost conversation from local Codex or Claude Code logs, preserve reusable project knowledge in Markdown, or hand work to another agent. Generates a durable handoff document, optional project-level Markdown updates such as AGENTS.md/README.md/PROJECT_SPEC.md/PROJECT_MEMORY.md, and a paste-ready next-chat prompt grounded in current task state, local conversation records, source files, specs, codemaps, validation evidence, open risks, and constraints.
New Chat Ready
Core Position
This skill turns an active or recoverable past conversation into an execution handoff, first checks whether the current agent can start the next Codex conversation itself, and preserves durable project knowledge without bloating the next context window.
It is not a generic chat summary. It should preserve only the next agent's operating context: the current goal, latest recap checkpoint, workspace, decisions, files, validation evidence, risks, constraints, and the exact next action.
Use it as a cross-cutting handoff layer with SDD-RIPER, CodeMap, expcap, ordinary coding tasks, local conversation recovery, and project-level Markdown sync. SDD skills may route to this skill, but the handoff, recovery, and project sync format lives here.
Project-level sync is part of the core job, not an optional afterthought. Every new-chat handoff should reduce future context load by moving stable project and task knowledge into the right long-lived files, while keeping transient state in the handoff/spec. When a project exposes long-lived knowledge files such as root `PROJECT_KNOWLEDGE.md`, `PROJECT_MEMORY.md`, `PROJECT_SPEC.md`, or equivalents indexed from `AGENTS.md`, prefer those files for stable project truth and reusable memory. Use `AGENTS.md` for routing, boundaries, validation expectations, and safety rules.
Trigger
Use this skill when the user asks for or implies:
- `new chat`, `fresh chat`, `换对话`, `开新会话`, `另开一轮`
- `handoff`, `resume pack`, `交接`, `接着做`, `无缝续接`
- `上下文快满`, `压缩上下文`, `总结给下个 chat`
- `对话丢了`, `恢复对话`, `找回上次对话`, `从 Codex/Claude 日志恢复`
- `沉淀到项目文档`, `更新 AGENTS/README`, `避免反复踩坑`, `把经验写进项目 memory`
- a durable pause point for a long or risky task
If the user only asks whether this capability is a good idea, answer the design question first. Create a handoff only after the user asks to do it, or when a running task clearly needs a pause/resume artifact.
For detailed trigger boundaries, read `references/trigger-policy.md`.
Delivery Mode
Before generating any manual prompt, explicitly check whether the current agent/runtime can create or continue Codex conversations itself. Prefer the lowest-friction continuation path that the current runtime actually supports:
1. **Capability check**: in Codex, discover thread tools such as `create_thread` and `send_message_to_thread` with `tool_search` when they are not already loaded. Record whether direct creation is `available`, `unavailable`, or `skipped for safety`. 2. **Direct Codex continuation**: if direct creation is available and the user wants a new chat / handoff / resume continuation, create the new conversation yourself after the handoff/prompt is ready. Send the compact next-chat prompt into that thread so the user does not need to paste it manually. 3. **Paste-ready fallback**: generate a manual prompt only when thread tools are unavailable, blocked, unsafe for the current content, or the user explicitly wants a reusable prompt/document instead of a created thread. 4. **Inline-only fallback**: if writing files is not appropriate, provide an inline handoff and compact prompt, and state that no file or new conversation was created.
Never invent tool availability, and do not skip the capability check merely because a paste-ready prompt would be easier. If direct creation succeeds, still provide the created thread identifier or link required by the host UI and keep the final visible summary short.
Workflow
1. Run `New Chat Capability Check`: identify the active task, workspace, intended next-chat scope, and whether the current agent can create/send to Codex threads directly. 2. Gather only evidence needed for continuity:
- project instructions such as `AGENTS.md`;
- the latest recap checkpoint if one exists;
- current spec, handoff, context bundle, or codemap if already active;
- `git status` and touched files when in a repo;
- validation commands and results already run;
- unresolved decisions, blockers, and explicit user constraints.
3. If the active conversation is unavailable, stale, or incomplete, enter `Recovery Mode`:
- read `references/recovery-from-local-logs.md`;
- translate the user's natural-language recovery request into search anchors;
- search local Codex / Claude Code logs and show a short candidate list first;
- wait for the user to choose candidate session(s) before reading deeply, unless there is exactly one obvious high-confidence match;
- extract only continuity facts needed for the handoff, not the full transcript.
4. Run a `Context Diet` before writing:
- keep only facts that affect the next action, validation, safety, or project memory;
- replace long history with links to source files, specs, codemaps, commits, logs, or commands;
- separate stable project knowledge from task-local state;
- delete duplicate explanations between handoff and next-chat prompt.
5. Choose where to persist:
- If an SDD spec is active, update its `Resume / Handoff` area and optionally create a separate handoff file.
- Otherwise write `mydocs/handoff/YYYY-MM-DD_hh-mm_<task>_new-chat.md` when the user wants a durable artifact and the workspace is writable.
- If there is no suitable workspace, output the handoff inline.
6. Start from a short recap checkpoint, then write the handoff usi
Read more
name: new-chat-ready version: 0.2.1 description: Prepare seamless new-chat handoff packs when a user wants to start a fresh chat, continue elsewhere, pause a long task, recover from context decay, recover a lost conversation from local Codex or Claude Code logs, preserve reusable project knowledge in Markdown, or hand work to another agent. Generates a durable handoff document, optional project-level Markdown updates such as AGENTS.md/README.md/PROJECT_SPEC.md/PROJECT_MEMORY.md, and a paste-ready next-chat prompt grounded in current task state, local conversation records, source files, specs, codemaps, validation evidence, open risks, and constraints.
New Chat Ready
Core Position
This skill turns an active or recoverable past conversation into an execution handoff, first checks whether the current agent can start the next Codex conversation itself, and preserves durable project knowledge without bloating the next context window.
It is not a generic chat summary. It should preserve only the next agent's operating context: the current goal, latest recap checkpoint, workspace, decisions, files, validation evidence, risks, constraints, and the exact next action.
Use it as a cross-cutting handoff layer with SDD-RIPER, CodeMap, expcap, ordinary coding tasks, local conversation recovery, and project-level Markdown sync. SDD skills may route to this skill, but the handoff, recovery, and project sync format lives here.
Project-level sync is part of the core job, not an optional afterthought. Every new-chat handoff should reduce future context load by moving stable project and task knowledge into the right long-lived files, while keeping transient state in the handoff/spec. When a project exposes long-lived knowledge files such as root `PROJECT_KNOWLEDGE.md`, `PROJECT_MEMORY.md`, `PROJECT_SPEC.md`, or equivalents indexed from `AGENTS.md`, prefer those files for stable project truth and reusable memory. Use `AGENTS.md` for routing, boundaries, validation expectations, and safety rules.
Trigger
Use this skill when the user asks for or implies:
- `new chat`, `fresh chat`, `换对话`, `开新会话`, `另开一轮`
- `handoff`, `resume pack`, `交接`, `接着做`, `无缝续接`
- `上下文快满`, `压缩上下文`, `总结给下个 chat`
- `对话丢了`, `恢复对话`, `找回上次对话`, `从 Codex/Claude 日志恢复`
- `沉淀到项目文档`, `更新 AGENTS/README`, `避免反复踩坑`, `把经验写进项目 memory`
- a durable pause point for a long or risky task
If the user only asks whether this capability is a good idea, answer the design question first. Create a handoff only after the user asks to do it, or when a running task clearly needs a pause/resume artifact.
For detailed trigger boundaries, read `references/trigger-policy.md`.
Delivery Mode
Before generating any manual prompt, explicitly check whether the current agent/runtime can create or continue Codex conversations itself. Prefer the lowest-friction continuation path that the current runtime actually supports:
1. **Capability check**: in Codex, discover thread tools such as `create_thread` and `send_message_to_thread` with `tool_search` when they are not already loaded. Record whether direct creation is `available`, `unavailable`, or `skipped for safety`. 2. **Direct Codex continuation**: if direct creation is available and the user wants a new chat / handoff / resume continuation, create the new conversation yourself after the handoff/prompt is ready. Send the compact next-chat prompt into that thread so the user does not need to paste it manually. 3. **Paste-ready fallback**: generate a manual prompt only when thread tools are unavailable, blocked, unsafe for the current content, or the user explicitly wants a reusable prompt/document instead of a created thread. 4. **Inline-only fallback**: if writing files is not appropriate, provide an inline handoff and compact prompt, and state that no file or new conversation was created.
Never invent tool availability, and do not skip the capability check merely because a paste-ready prompt would be easier. If direct creation succeeds, still provide the created thread identifier or link required by the host UI and keep the final visible summary short.
Workflow
1. Run `New Chat Capability Check`: identify the active task, workspace, intended next-chat scope, and whether the current agent can create/send to Codex threads directly. 2. Gather only evidence needed for continuity:
- project instructions such as `AGENTS.md`;
- the latest recap checkpoint if one exists;
- current spec, handoff, context bundle, or codemap if already active;
- `git status` and touched files when in a repo;
- validation commands and results already run;
- unresolved decisions, blockers, and explicit user constraints.
3. If the active conversation is unavailable, stale, or incomplete, enter `Recovery Mode`:
- read `references/recovery-from-local-logs.md`;
- translate the user's natural-language recovery request into search anchors;
- search local Codex / Claude Code logs and show a short candidate list first;
- wait for the user to choose candidate session(s) before reading deeply, unless there is exactly one obvious high-confidence match;
- extract only continuity facts needed for the handoff, not the full transcript.
4. Run a `Context Diet` before writing:
- keep only facts that affect the next action, validation, safety, or project memory;
- replace long history with links to source files, specs, codemaps, commits, logs, or commands;
- separate stable project knowledge from task-local state;
- delete duplicate explanations between handoff and next-chat prompt.
5. Choose where to persist:
- If an SDD spec is active, update its `Resume / Handoff` area and optionally create a separate handoff file.
- Otherwise write `mydocs/handoff/YYYY-MM-DD_hh-mm_<task>_new-chat.md` when the user wants a durable artifact and the workspace is writable.
- If there is no suitable workspace, output the handoff inline.
6. Start from a short recap checkpoint, then write the handoff usi
Code is cheap. Context, control, and evidence are not. Let the model move the work forward. Let the human own goals, boundaries, permissions, checkpoints, evidence, and acceptance. Strong coding agents no longer stop at suggestions.
Other skills on sdd-riper.
- /codemap
Generate, update, or drift-check agent-facing CodeMaps as progressive code terrain indexes for projects, features, capabilities, functions, modules, or bug chains. Use when Codex needs to inspect an unfamiliar codebase, map a feature/capability from entry to effect, create or
Open skill - /sdd-riper-one-light
面向 GPT-5.4 等强模型和熟练用户的轻量 AI Agent Harness / checkpoint-driven coding skill。默认用户已经把任务切到基本可执行的最小混沌单元;模型自行分解、探索与推进,人类通过最终目标、最小 spec、复述、checkpoint、证据验证与回写来低干扰控盘。
Open skill - /sdd-riper-one
将 SDD-RIPER 方法论落地为严格可执行流程的重型 Harness 技能。用于辅助用户澄清最终目标、生成 codemap/context、拆分最小混沌单元、维护完整 spec、执行 RIPER 阶段门禁、阻塞高风险动作和沉淀可 new chat 恢复的本地任务轨迹。
Open skill

