Wipes workflow history and temporary artifacts to allow for a clean state.
Install
mkdir -p .claude/skills/reset && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/11379" && unzip -o skill.zip -d .claude/skills/reset && rm skill.zipInstalls to .claude/skills/reset
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Resets workflow artifacts (.otto/ directory). Removes sessions, tasks, and specs. Use when starting over. Destructive - requires confirmation.Key capabilities
- →Clear workflow artifacts from the `.otto/` directory
- →Remove specific targets like tasks, specs, or sessions
- →Preview what will be removed with sizes before deletion
- →Require explicit user confirmation before proceeding with deletion
- →Report on the completion of the reset operation
How it works
The skill checks for the `.otto/` directory, parses specified targets, previews the files to be removed, requests user confirmation, and then deletes the targeted directories.
Inputs & outputs
When to use reset
- →Starting a project over
- →Cleaning up workflow workspace
- →Resetting agent session data
About this skill
Reset workflow data. Selectively or fully clears the .otto/ directory.
Available Targets
| Target | Directory | Contents |
|---|---|---|
tasks | .otto/tasks/ | Task lists |
specs | .otto/specs/ | Specifications |
sessions | .otto/sessions/ | Browser sessions |
all | Above targets | Everything except docs (default) |
Usage Examples
reset- Clear everything (prompts for confirmation)reset tasks- Clear only task listsreset specs tasks- Clear specs and tasksreset sessions- Clear browser sessions onlyreset 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.
When not to use it
- →When the `.otto/` directory does not exist
- →When the user does not confirm the deletion
- →When the goal is to preserve workflow artifacts
Limitations
- →Requires explicit user confirmation for deletion
- →Only operates within the `.otto/` directory
- →Docs are always preserved
How it compares
This skill provides a controlled, confirmed deletion of specific workflow artifacts within the `.otto/` directory, offering selective clearing and a safety preview, unlike a general file deletion command.
Compared to similar skills
reset side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| reset (this skill) | 0 | 2mo | Review | Beginner |
| tmux | 20 | 2mo | Review | Intermediate |
| jira | 11 | 6mo | No flags | Beginner |
| triaging-issues | 5 | 2mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
tmux
openclaw
Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
jira
davila7
Use when the user mentions Jira issues (e.g., "PROJ-123"), asks about tickets, wants to create/view/update issues, check sprint status, or manage their Jira workflow. Triggers on keywords like "jira", "issue", "ticket", "sprint", "backlog", or issue key patterns.
triaging-issues
pytorch
Triages GitHub issues by routing to oncall teams, applying labels, and closing questions. Use when processing new PyTorch issues or when asked to triage an issue.
file-manager
Xxiii8322766509
文件管理技能。用于创建、移动、复制、删除文件和文件夹,整理目录结构。当用户需要管理文件、整理文件夹或批量处理文件时使用。
openspec-archive-change
studyzy
归档实验性工作流中已完成的变更。当用户想要在实现完成后最终确定并归档变更时使用。
slash-commands
parcadei
Create and use Claude Code slash commands - quick prompts, bash execution, file references