hyper-clear
Flushes conversation history and resets session context between feature cycles. Idempotent—safe to call multiple times.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Flushes conversation history and resets session context between feature cycles. Idempotent—safe to call multiple times.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Updates all project documentation after code or skill changes. Always reads actual implementation before writing. Covers README, CHANGELOG, docs/, AGENTS.md, memory files, and skills-info.md. Use after completing any feature, fix, refactor, or skill update.
Compacts the current conversation into a handoff document so a fresh agent can continue the work. Saves to the OS temp directory, not the workspace. Pass an optional argument describing what the next session will focus on.
Documents the process, methodology, and decisions of the current session as a reproducible narrative. Saves to spec/process/ in the workspace so the journey can be understood and recreated by others.
Scaffolds a new project by conducting an interview to collect metadata and generating standard repository documentation files from the framework templates. Use when setting up a new repository.
Run this after /hyper-tutorial-run to turn tutorial failures into a structured, constraint-aware goal prompt. Interviews the user about their goal and what may/may not be changed, then generates a paste-ready prompt for a new Claude Code fix session. Does NOT re-run tutorial commands.
Generates a markdown tutorial from an integration test or user-provided files through iterative LLM + human collaboration. Tutorials are saved to tutorials/<name>/ with organized supporting files.
| name | hyper-clear |
| description | Flushes conversation history and resets session context between feature cycles. Idempotent—safe to call multiple times. |
This skill clears session context to prevent cross-feature bleed and allow fresh feature cycles. It is idempotent and safe to invoke at any time.
/hyper-audit completes (post-audit hook).Read .agents/memory/activeContext.md:
session_cleared flag is true: /hyper-clear has already been called in this session. Return OK (idempotent, no action needed).session_cleared flag is false or missing: Proceed to Step 2.Clear conversation history by starting a new conversation in Claude Code:
/hyper-clear by opening a new chat window").Specification Retained:
spec/compiled/architecture.yml — preservedspec/compiled/SuperPRD.md — preservedspec/compiled/MiniPRD_*.md — preserved.agents/ framework code — preservedSession State Flushed:
Edit .agents/memory/activeContext.md:
## Session State
- session_cleared: true
- cleared_at: [CURRENT_TIMESTAMP]
- cleared_by: /hyper-clear command
Output to user:
========================================
✅ CONTEXT CLEARED
========================================
Session context flushed.
Architecture.yml and spec/compiled/ retained.
Ready for next feature cycle.
Idempotency: This is a fresh clear.
(Calling /hyper-clear again will be a no-op.)
========================================
/hyper-clear invoked
activeContext.md session_cleared = false
→ Perform flush
→ Set session_cleared = true
→ Return: "Context cleared"
/hyper-clear invoked
activeContext.md session_cleared = true
→ No action (already cleared)
→ Return: "Already cleared (idempotent, no action)"
When /hyper-audit completes successfully:
/hyper-clear as a post-phase hook.activeContext.md to reflect the clear.Users can invoke /hyper-clear at any time during a feature cycle:
/hyper-clear
This will:
activeContext.md, return success.| State Type | Preserved? | Details |
|---|---|---|
| Conversation History | ❌ No | Flushed on /hyper-clear |
| architecture.yml | ✅ Yes | Ground truth preserved |
| SuperPRD.md | ✅ Yes | Specification preserved |
| MiniPRD_*.md | ✅ Yes | All specs preserved |
| spec/archive/ | ✅ Yes | Historical context preserved |
| Performance Metrics | ✅ Yes | Heuristics for classifier retained |
| .agents/ Framework | ✅ Yes | Skills, rules, scripts intact |
| Session Memory | ❌ No | Cleared to prevent bleed |
After /hyper-clear completes:
/hyper-architect run will have a clean slate.