Get the FREE Ultimate OpenClaw Setup Guide →

reload

Scanned
npx machina-cli add skill Ruya-AI/cozempic/reload --openclaw
Files (1)
SKILL.md
1.0 KB

Treat the session and spawn an auto-resume watcher that opens a new terminal after you exit.

Steps

  1. Diagnose first:

    cozempic current --diagnose
    
  2. Dry-run:

    cozempic treat current -rx $ARGUMENTS
    

    If no argument was provided, use standard:

    cozempic treat current -rx standard
    
  3. Show results including token savings. Ask confirmation.

  4. Apply reload (treats + saves + spawns watcher in one shot):

    cozempic reload -rx $ARGUMENTS
    

    Do NOT run cozempic treat --execute before cozempic reload — reload already treats internally. Running both would double-treat.

  5. 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

  1. Step 1: cozempic current --diagnose
  2. Step 2: cozempic treat current -rx standard (or your chosen level)
  3. 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.

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers