/aweek:teardownfrom aweek
Removes the aweek heartbeat (launchd/crontab) and/or the .aweek/ data directory from a project. Requires explicit user confirmation before destructive operations.
Ships in aweek. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Remove aweek from a project. Two operations are available:
Remove heartbeat only — uninstalls the launchd user agent (macOS) or
crontab line (Linux) without touching agent data. Agents pause until the
heartbeat is re-installed via /aweek:setup.
Full uninstall (heartbeat + data) — removes the heartbeat AND deletes
the .aweek/ data directory. This is irreversible — all agent configs,
weekly plans, activity logs, and budget history are deleted permanently.
Both operations are destructive and require explicit AskUserQuestion
confirmation before the dispatcher will run them.
This skill is a thin UX wrapper on top of src/skills/teardown.ts. Never
remove .aweek/ or the heartbeat directly — always go through this skill so
the confirmation gate is enforced.
Per project policy, every destructive operation requires explicit user
confirmation before confirmed: true is passed to the adapter.
| Operation | Destructive | Confirmation required |
|---|---|---|
| Remove heartbeat | Yes — stops automated agent execution | Yes |
Remove .aweek/ data dir | Yes — permanent data loss | Yes |
You MUST follow this exact workflow. Use AskUserQuestion for every
interactive prompt.
Ask the user which teardown operation to perform:
AskUserQuestion:
"What would you like to remove?"
options:
- value: heartbeat
label: "Remove heartbeat only"
description: "Uninstall the launchd user agent (macOS) or crontab line. Agent data stays on disk."
- value: full
label: "Full uninstall (heartbeat + .aweek/ data)"
description: "Remove the heartbeat AND delete .aweek/. All agent configs, plans, and logs are permanently deleted."
- value: cancel
label: "Cancel"
description: "Do nothing."
If the user picks cancel, stop here.
Show the user a clear preview of what will be deleted, then ask for
explicit confirmation via AskUserQuestion:
Heartbeat-only path:
This will uninstall the 10-minute heartbeat for this project.
Agents will stop auto-executing until the heartbeat is re-installed
via /aweek:setup.
Confirm?
- yes — remove the heartbeat
- no — cancel
Full uninstall path:
This will:
1. Uninstall the 10-minute heartbeat.
2. Delete .aweek/ and all its contents — agent configs, weekly plans,
activity logs, budget history — permanently.
This CANNOT be undone.
Confirm?
- yes — full uninstall
- no — cancel
Only proceed when the user explicitly answers yes.
Heartbeat only:
echo '{"confirmed":true}' \
| aweek exec teardown removeHeartbeat --input-json -
Full uninstall:
echo '{"confirmed":true}' \
| aweek exec teardown teardown --input-json -
The response has this shape:
{
"ok": true,
"backend": "launchd",
"outcome": "removed",
"projectDir": "/path/to/project"
}
For the full teardown the response includes both heartbeat and project
sub-objects:
{
"ok": true,
"heartbeat": { "ok": true, "backend": "launchd", "outcome": "removed", "projectDir": "..." },
"project": { "ok": true, "removed": "/path/to/.aweek", "existed": true }
}
Print a final summary:
Heartbeat only:
=== aweek teardown ===
Heartbeat : removed (launchd)
Agents will no longer run automatically. To re-install the heartbeat,
run /aweek:setup.
Full uninstall:
=== aweek teardown ===
Heartbeat : removed (launchd)
Data dir : deleted (.aweek/)
aweek has been removed from this project. Run /aweek:setup to start
fresh.
outcome: "absent"
— this is not an error. Report "Heartbeat was not installed" and continue..aweek/ does not exist, removeProject returns existed: false —
report "Data directory was not present" and continue.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
aweek, heartbeat, uninstall, cleanup, destructive-operations
14 skills in this plugin
/calendarDisplay an agent's weekly plan as a calendar grid with day columns and hour rows/configShow the project's `.aweek/config.json` knobs (plus the hardcoded scheduler/lock constants the dashboard surfaces) and edit the config-backed fields with a confirmation gate/delegate-taskDelegate a task from one agent to another via the async inbox queue/hireHire (create) a new aweek agent — collect identity, then interview the user to author plan.md (long-term goals, monthly plans, strategies, notes) so the agent is plan-ready immediately.npx claudepluginhub runbear-io/aweek --plugin aweekOther plugins' skills for the same job