← Browse

@brsbl/reset

A

Resets workflow artifacts (.otto/ directory). Removes sessions, tasks, and specs. Use when starting over. Destructive - requires confirmation.

skillclaude

Install

agr install @brsbl/reset --target claude

Writes 1 file into .claude/skills/, pinned to git-b429647d.

  • .claude/skills/reset/SKILL.md

Document


name: reset description: Resets workflow artifacts (.otto/ directory). Removes sessions, tasks, and specs. Use when starting over. Destructive - requires confirmation. model-invokable: false arguments:

  • name: targets description: "Subdirectories to clear: tasks, specs, sessions, or all (default: all). Docs are preserved." required: false

Reset workflow data. Selectively or fully clears the .otto/ directory.

Available Targets

TargetDirectoryContents
tasks.otto/tasks/Task lists
specs.otto/specs/Specifications
sessions.otto/sessions/Browser sessions
allAbove targetsEverything except docs (default)

Usage Examples

  • reset - Clear everything (prompts for confirmation)
  • reset tasks - Clear only task lists
  • reset specs tasks - Clear specs and tasks
  • reset sessions - Clear browser sessions only
  • reset all - Explicit full reset

Workflow

1. Check for .otto/

if [[ ! -d ".otto" ]]; then
  echo "No .otto/ directory found. Nothing to reset."
  exit 0
fi

If no .otto/ exists, report and stop.

2. Parse Arguments

Map targets to directories:

tasks    -> .otto/tasks/
specs    -> .otto/specs/
sessions -> .otto/sessions/
all      -> tasks + specs + sessions (NOT docs)

If no arguments or all specified, target tasks, specs, and sessions. Docs are always preserved.

3. Preview Removal

Show what will be removed with sizes:

du -sh <target_dirs> 2>/dev/null

Display to user:

Will remove:
  .otto/tasks/ (4K)
  .otto/specs/ (8K)

4. Confirm

Prompt the user to confirm before proceeding:

"This will delete the selected workflow data. Continue?" Options: "Yes, reset" / "Cancel"

5. Remove

After confirmation, remove only the targeted directories:

rm -rf <target_dirs>

For all, remove tasks, specs, and sessions (preserving docs):

rm -rf .otto/tasks .otto/specs .otto/sessions .otto/otto

7. Report

Reset complete. Cleared: tasks, specs
Run otto or spec to continue.

Trustgrade A

  • passBody integrity

    Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.

  • passType matchnot applicable to this artifact type

    Whether the artifact is really the kind of thing its metadata claims it is.

  • passFreshness

    How long since the source repository was last pushed to.

  • passPrompt injection

    Scans the artifact's own text for instructions aimed at your agent rather than at you.

  • passLicense

    Whether the source repository declares an SPDX license permissive enough to redistribute.

How the grade is calculated

Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:

  • Aevery check passed
  • Bone warning
  • Ctwo warnings
  • Dprompt injection or body integrity failed, or three warnings
  • Fone of those failed, and something else is wrong

These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.

Versions

  • git-b429647db1dd2026-07-31