new

Saves session summary to memory and writes a reset marker for a fresh greeting.

62|14|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/crisandrews/ClawCode --skill new-crisandrews
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: new
Source: https://github.com/crisandrews/ClawCode/tree/main/skills/new
Command: npx skills add https://github.com/crisandrews/ClawCode --skill new-crisandrews

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Claude Code is stateless and skills cannot invoke the native /clear command, so there is no built-in way to start a fresh session while preserving what happened before. This Skill simulates an OpenClaw-style session reset by archiving the current session and triggering a persona greeting on the next message. ## Core Features & Use Cases - Session Archiving: Appends a timestamped summary of the current session, including open items, to a daily memory log at memory/YYYY-MM-DD.md. - Reset Marker Mechanism: Writes a .session-reset-pending marker file containing the greeting prompt, which the agent detects and deletes on the next turn. - Multi-Surface Responses: Provides tailored acknowledgement templates for CLI, WhatsApp, and Telegram, translated on the fly to the user's language. - Use Case: After a long debugging session, you type /new. The Skill saves a summary of what was accomplished to today's memory file, then the next message you send receives a fresh persona greeting as if a brand-new session had started. ## Quick Start Type /new or say "new session" to save the current session summary to memory and receive a fresh greeting on your next message.

Frequently Asked Questions about new

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I start a new session in Claude Code without losing context?

Invoke /new or /reset to save a summary of the current session to a dated memory file, then a marker file triggers a fresh greeting on your next message. On CLI you can additionally run /clear to wipe the REPL context.

How does the session reset work without the native /clear command?

Skills cannot invoke native /clear, so the Skill writes a .session-reset-pending marker containing the greeting prompt. On the next message the agent reads the marker, delivers the persona greeting, deletes the marker, and then handles the user's message.

Does the /new command work on WhatsApp and Telegram?

Yes, the Skill detects the surface and responds with platform-appropriate templates for CLI, WhatsApp, and Telegram. Responses are translated on the fly to match the user's language, including Spanish and Portuguese.

Where are session summaries saved after a reset?

Summaries are appended to a daily log at memory/YYYY-MM-DD.md with a timestamp, key points, and open items. The writes are append-only, so previous daily log content is never overwritten.

What are the limitations of simulating a session reset this way?

Claude Code's context still technically contains prior turns, so the reset is behavioral rather than a true context wipe. For a full context clear on CLI, the user must separately run the native /clear command.