reload
Scannednpx machina-cli add skill Ruya-AI/cozempic/reload --openclawTreat the session and spawn an auto-resume watcher that opens a new terminal after you exit.
Steps
-
Diagnose first:
cozempic current --diagnose -
Dry-run:
cozempic treat current -rx $ARGUMENTSIf no argument was provided, use
standard:cozempic treat current -rx standard -
Show results including token savings. Ask confirmation.
-
Apply reload (treats + saves + spawns watcher in one shot):
cozempic reload -rx $ARGUMENTSDo NOT run
cozempic treat --executebeforecozempic reload— reload already treats internally. Running both would double-treat. -
Tell the user: "Treatment applied. Type
/exit— a new Terminal window will open automatically with the pruned session."
Source
git clone https://github.com/Ruya-AI/cozempic/blob/main/plugin/skills/reload/SKILL.mdView on GitHub Overview
Reload treats the current session and launches an auto-resume watcher that opens a new terminal after you exit. It prunes the session, saves state, and ensures continuity without manual re-launch.
How This Skill Works
It starts with a diagnose of the current session, then a dry-run using -rx to preview changes. When you apply reload, it performs treat + save + spawns a watcher. The watcher opens a fresh terminal window automatically once you exit the original session.
When to Use It
- You need to resume a long-running session after closing the terminal, with automatic reopening and pruning.
- You want to preserve tokens and a clean session state before continuing.
- You want to preview changes with a dry-run (-rx) before applying the reload.
- You require a single operation that handles treating, saving, and watcher setup.
- You must avoid double-handling by not running 'treat --execute' before 'reload'.
Quick Start
- Step 1: cozempic current --diagnose
- Step 2: cozempic treat current -rx standard (or your chosen level)
- Step 3: cozempic reload -rx standard (auto-resumes in a new terminal)
Best Practices
- Always diagnose first with cozempic current --diagnose to understand the session state.
- Run a dry-run with cozempic treat current -rx <arg> to preview changes (default to standard if no arg).
- Review the reported token savings and changes before applying.
- Do not run cozempic treat --execute prior to cozempic reload; reload performs the treatment internally.
- Choose the -rx level (gentle, standard, aggressive) based on how aggressively you want to prune and resume.
Example Use Cases
- Diagnose, perform a standard dry-run, then apply reload to auto-resume in a new terminal.
- Use gentle -rx to minimize changes, then reload to safely resume in a new window.
- Use aggressive -rx when pruning heavily and preparing a fresh session for resume.
- Omit the -rx argument to default to standard during reload workflow.
- Avoid running 'treat --execute' before reload to prevent double-treating.