一键导入
reset
Resets workflow artifacts (.otto/ directory). Removes sessions, tasks, and specs. Use when starting over. Destructive - requires confirmation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Resets workflow artifacts (.otto/ directory). Removes sessions, tasks, and specs. Use when starting over. Destructive - requires confirmation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Pick or implement the next task or session. Use when continuing work, picking the next task, or implementing tasks from a task list.
Reviews code changes for bugs with P0-P2 prioritized feedback. Uses parallel subagents for thorough analysis, then creates fix plans. Use when reviewing code, finding bugs, checking quality, or before merging. Use review fix to implement fixes.
Writes product specifications through collaborative interview with web research. Use when planning, gathering requirements, designing new features, or creating a spec/PRD.
Generates parallelizable task lists from specs. Breaks specs into atomic, prioritized tasks with dependencies. Use when you have a spec and need tasks, implementation breakdown, or a work plan.
Runs lint, type check, tests, and visual verification. Auto-detects tools. Use when running tests, linting, type checking, or writing tests.
Synthesizes code docs into user-facing HTML summary. Creates semantic narrative explaining what changed and why it matters. Use when creating PR summaries, release notes, or change overviews.
| 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.
| Target | Directory | Contents |
|---|---|---|
tasks | .otto/tasks/ | Task lists |
specs | .otto/specs/ | Specifications |
sessions | .otto/sessions/ | Browser sessions |
all | Above targets | Everything except docs (default) |
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 resetif [[ ! -d ".otto" ]]; then
echo "No .otto/ directory found. Nothing to reset."
exit 0
fi
If no .otto/ exists, report and stop.
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.
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)
Prompt the user to confirm before proceeding:
"This will delete the selected workflow data. Continue?" Options: "Yes, reset" / "Cancel"
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
Reset complete. Cleared: tasks, specs
Run otto or spec to continue.