abandon
Skill1 starsChanged 5 months agoApache-2.0View on GitHub
Mark an in-progress feature as abandoned. Archives the checkpoint to `_archived/<feature>-abandoned-<timestamp>.json`, logs the decision to decision-log.md, and optionally archives related artifact files (spec / implementation / plan). Does NOT touch git or source code — that's CEO's job (git revert, branch delete, etc.).
- Installs packages
1 other project uses a version of this.
Adopted by
Most recently taken up by
- foliveira/harmoniatheir own version, first seen Sep 27, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- foliveira/harmonia★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository24 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- add-anti-flagSkill
- add-constitution-clauseSkill
- audit-specSkill
- commitSkill
- constitution-editSkill
- db-schemaSkill
- execution-planSkill
- feature-draftSkill
- handoffSkill
- harness-absorbSkill
- implementSkill
- initSkill
- nextSkill
- offloadSkill
- pickupSkill
- recallSkill
- rememberSkill
- spec-finalizeSkill
- test-fixSkill
- todolistSkill
- uninstallSkill
- workflow-templateSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 60
After user enters reason, MAGI Archivist:
- Distinctive: line 109
If no checkpoint matches → tells user *"No checkpoint to abandon on this branch."*
- Distinctive: line 118
Use for scripting / programmatic cleanup
- Distinctive: line 127
Default OFF — most users prefer to keep spec for reference / future reuse
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/abandon
MAGI position: Operated by MAGI Archivist. Archivist's job is final-state record-keeping — when a feature dies, Archivist files the paperwork.
Constitutional basis: Stage 7 (CEO smoke test) of
CLAUDE.md § Workflowempowers CEO to reject a feature outright./abandonis the formal record of that rejection — without it, stale checkpoints accumulate and/pickup --listbecomes noise.
When to use
Three legitimate scenarios:
- CEO rejects the feature post-spec — after Stage 1 paraphrase + edge cases, CEO realizes the feature shouldn't exist. Abandon before any code is written.
- Smoke test fails irrecoverably — after Stage 7, CEO decides the feature is fundamentally wrong. Abandon, do not
/commit. - Cleanup of dormant features —
/pickup --listshows a feature you started 3 months ago and never finished. If you're not going back, abandon it to clear the slot.
Do NOT use /abandon for:
- Temporary pauses (just close Claude — checkpoint persists)
- "Done shipped" features (
/commithandles those via--archive) - Renaming a feature (use
/feature-draft <new-name>then/abandon <old-name>)
What it does
─── /abandon user-login ───────────────────────────────────────
📂 Found checkpoint: .harness/state/workflow-checkpoints/user-login.json
Stage: 5 (3/8 files done)
Started: 2026-03-15 (73 days ago)
Last activity: 2026-04-02 (54 days ago)
⚠️ Abandoning will:
✓ Move checkpoint → .harness/state/workflow-checkpoints/_archived/
✓ Log "abandoned" entry to .harness/memory/decision-log.md
Optional (use --archive-artifacts to enable):
◯ Move docs/features/user-login.md → docs/features/_abandoned/
◯ Move docs/features/user-login-implementation.md → docs/features/_abandoned/
◯ Move docs/features/user-login-plan.md → docs/features/_abandoned/
This does NOT touch:
✗ git history (use git revert / git branch -D yourself)
✗ Source code that was already implemented (use git checkout or git reset)
✗ Database migrations (run a rollback migration yourself)
Reason for abandoning? (required for decision-log)
> After user enters reason, MAGI Archivist:
# 1. Archive the checkpoint
bash .harness/scripts/checkpoint-write.sh \
--feature user-login \
--archive
# Rename archived file to mark as abandoned (not completed)
mv .harness/state/workflow-checkpoints/_archived/user-login-*.json \
.harness/state/workflow-checkpoints/_archived/user-login-abandoned-$(date -u +%Y%m%dT%H%M%SZ).json
# 2. Log decision
bash .harness/scripts/decision-log-append.sh \
--feature user-login --stage abandon --by "CEO" \
--decision "abandoned: <user's reason>" \
--evidence "$(git rev-parse --short HEAD 2>/dev/null || echo 'no-git')"
# 3. (if --archive-artifacts) Move artifact files
if [ "$ARCHIVE_ARTIFACTS" = "true" ]; then
mkdir -p docs/features/_abandoned
for artifact in docs/features/user-login.md docs/features/user-login-implementation.md docs/features/user-login-plan.md; do
[ -f "$artifact" ] && mv "$artifact" docs/features/_abandoned/
done
fiFinal report to CEO:
✓ Feature 'user-login' abandoned.
Checkpoint archived: .harness/state/workflow-checkpoints/_archived/user-login-abandoned-20260528T034512Z.json
Decision logged.
Artifact files: kept in place (use --archive-artifacts to move)
Don't forget:
• Delete git branch: git branch -D feature/user-login
• Revert unfinished code: git checkout main -- src/auth/
• Run any rollback migrations neededBehaviors
No-args mode
/abandon- Reads current git branch, derives feature slug
- If no checkpoint matches → tells user "No checkpoint to abandon on this branch."
Force mode
/abandon user-login --force- Skips the confirmation prompt
- Still requires a reason (will use
"(no reason given)"if none provided in subsequent interaction) - Use for scripting / programmatic cleanup
Artifact archive mode
/abandon user-login --archive-artifacts- Moves
docs/features/user-login*.mdtodocs/features/_abandoned/ - Useful when the spec was misguided and shouldn't be confused with future correct specs
- Default OFF — most users prefer to keep spec for reference / future reuse
Recovery (if you abandon by accident)
Within the same git session, an abandoned checkpoint is fully recoverable:
# Find the archived checkpoint
ls -t .harness/state/workflow-checkpoints/_archived/user-login-abandoned-*.json | head -1
# Move it back
mv .harness/state/workflow-checkpoints/_archived/user-login-abandoned-<ts>.json \
.harness/state/workflow-checkpoints/user-login.jsonThe artifact files (if --archive-artifacts was used) can be moved back from docs/features/_abandoned/ the same way.
Failure modes
| Symptom | Cause | Fix |
"No checkpoint found for <feature>" | Never had one OR already abandoned | Check _archived/; nothing to do |
| "Branch doesn't match feature slug" | You're on main or unrelated branch | Provide --feature explicitly: /abandon user-login |
| "decision-log-append failed" | .harness/memory/ perms issue or jq missing | Fix perms or brew install jq |
Completion criteria
- Checkpoint file moved to
_archived/directory - Decision-log entry written with CEO's reason
- Reason was captured (not silently abandoned)
- Final report displayed showing what happened + what user still needs to do (git, migrations)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

