Clear — Development skill for Claude Code
Context-clearing command.
How to install Clear
Installs to ~/.claude/commands/fatihkan-badi-clear.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/fatihkan/badi/HEAD/.claude/commands/clear.md -o ~/.claude/commands/fatihkan-badi-clear.md Restart Claude Code, or start a new session, for it to be picked up.
What Clear does
Context-clearing command. Provides a seamless transition across session boundaries. Target: under 30 seconds.
Required Tools
- Read (context files)
- Write (handoff note and memory update)
Procedure (6 Steps)
Step 1: Reset the Gates
- Clear the active file-watch list
- Reset temporary analysis results
- Close any open parallel work
- Clear in-session variables
Step 2: Summarize the Session (7 Components)
Build a summary covering these 7 components:
- Active Task: What task
Alternatives in Development
- Transition Template — 首尾帧视频生成提示词 2.4k ★
- /leadership Transition — Use when preparing for or navigating a product leadership step-up 2.3k ★
- Codexmcp — Enable seamless collaboration between Claude Code and Codex, transforming from a single agent to multiple agen 2k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Context Baton
Two Claude Code skills for passing context across boundaries: session-handoff (end-of-session, agent→human) +
Fleet Handoff
/fleet-handoff — hand off across a context boundary, then auto-clear + resume
Evermind
Claude Code skill: automatic memory across /clear, context refresh handoffs, and a live local dashboard
ConPACT
CONtext comPACT coordinates agent-initiated context compaction at verified scope closure—after the final answe
Budget
Use when you want to review session turn usage or set a context awareness target for the current project.
Oc Save
Save the current OneCommand build state to disk so you can safely run /clear. Run /oc-resume afterwards to con
Related Agents
Adaptive Purist
The iron-willed guardian of seamless UI across foldables, multi-monitors, touch/keyboard inputs, and high-DPI
Neo Shadow
Memory keeper. MUST BE USED to save session context into the second brain (.neo/brain/) — at task boundaries,
Mf Visual Critic
motion-forge visual QA critic — an exacting motion-design director who judges RENDERED frames (contact sheets,