archive
Fills Outcomes & Learnings in a plan file and renames it to .done.md.
How do I install this agent skill?
npx skills add https://github.com/camacho/ai-skills --skill archiveIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill automates the process of archiving project plan files. It appends outcomes and learnings to the files and uses git commands to rename and commit them within a designated workspace directory.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- ZeroLeakspass
Score: 93/100 · 2 sections analyzed
What does this agent skill do?
Inputs
WORKTREE: absolute path to current worktree (resolve from session CWD orgit rev-parse --show-toplevel)- Plan file path (default: most recent non-
.done.mdin$WORKTREE/ai-workspace/plans/)
Steps
-
Find the plan file:
ls -t "$WORKTREE/ai-workspace/plans/"*.md | grep -v '.done.md' | head -1If plan is already
.done.md→ error: "Already archived." -
Read the plan file to understand what was planned.
-
Gather outcomes: Ask the user (or infer from git log + branch context):
- What worked well?
- What didn't go as planned?
- What would you do differently?
If user skips → write "Outcomes: not recorded" (don't block).
-
Write Outcomes & Learnings section to the plan file:
## Outcomes & Learnings **Completed**: [date] ### What Worked - [bullet points] ### What Didn't - [bullet points] ### Learnings - [bullet points] -
Rename to .done.md:
git -C "$WORKTREE" mv ai-workspace/plans/<name>.md ai-workspace/plans/<name>.done.md -
Commit the archive:
git -C "$WORKTREE" add ai-workspace/plans/<name>.done.md git -C "$WORKTREE" commit -m "docs: archive plan <name> Co-Authored-By: Claude <model>"
Output: Confirmation that the plan is archived with path to .done.md file.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/camacho/ai-skills/archive">View archive on skillZs</a>