reset

Removes runtime markers and deadlines while preserving punch lists, receipts, and evidence.

63|3|Updated Jul 14, 2026
One-click install
npx skills add https://github.com/orwa-mahmoud/nightshift --skill reset-orwa-mahmoud
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: reset
Source: https://github.com/orwa-mahmoud/nightshift/tree/main/plugins/nightshift/skills/reset
Command: npx skills add https://github.com/orwa-mahmoud/nightshift --skill reset-orwa-mahmoud

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Long-running agent shifts can leave behind damaged or confusing runtime state such as stale deadlines, leftover STOP markers, and orphaned session or watchman files. This Skill clears that runtime state safely without deleting the owner's actual work, history, or evidence. ## Core Features & Use Cases - Safe runtime cleanup: Runs a trusted helper that performs Stop (pause and disarm), then removes the current deadline, leftover STOP files, and temporary session, recovery, watchman, lease, and mutex markers. - Work preservation: Keeps the punch list, unfinished items, rules, parking lot, work orders, receipts, archives, research, opportunities, snag log, shift log, and workspace configuration intact. - Idempotent and host-aware: A second Reset is safe, it never deletes the .nightshift/ directory, and it resolves the correct runtime across Claude Code, Codex, and native Windows PowerShell. - Use Case: After a long coding shift ends in a confusing state with a stale deadline blocking new work, run Reset to clear the runtime markers and start a fresh shift while keeping all prior receipts and unfinished items available. ## Quick Start Ask the agent to reset the nightshift runtime state for this project so the stale deadline and session markers are cleared without losing any recorded work.

Frequently Asked Questions about reset

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

FAQPage Schema
How do I reset a nightshift shift without losing my work?

Run the reset skill, which invokes the trusted ns helper with the reset-shift verb. It removes the deadline and temporary runtime markers while preserving the punch list, unfinished items, receipts, archives, and all other durable files.

What does the nightshift reset command actually delete?

Reset deletes only runtime mechanics: the current deadline, leftover STOP markers, and temporary session, recovery, watchman, lease, and mutex files. It never deletes the .nightshift/ directory, work orders, rules, history, or workspace configuration.

Does nightshift reset work on Windows with PowerShell?

Yes, on native Windows the same verbs run through the ns.ps1 script in the plugin's runtime/windows directory using the PowerShell tool. The helper resolves the host and workspace automatically, and ns bind prints the resolved facts.

Is it safe to run nightshift reset twice?

Yes, a second Reset is explicitly safe. The helper is idempotent because it only removes runtime markers that may or may not exist, and it never touches durable project files or the plugin installation.

Why is my nightshift shift stuck with an old deadline?

Damaged or leftover runtime state from a previous session can leave a stale deadline and STOP markers in place. Running Reset clears these markers; a new deadline is only written when Hunt, a work order, or the owner supplies one.