/gsd-cleanup
Archive accumulated phase directories from completed milestones
Claude Code
$ npx -y skills add open-gsd/gsd-core --skill gsd-cleanup --agent claude-code
Codex
$ npx skills add open-gsd/gsd-core --skill gsd-cleanup -a codex -y
Cursor
$ npx skills add open-gsd/gsd-core --skill gsd-cleanup -a cursor -y
Gemini CLI
$ npx skills add open-gsd/gsd-core --skill gsd-cleanup -a gemini-cli -y
GitHub Copilot
$ npx skills add open-gsd/gsd-core --skill gsd-cleanup -a github-copilot -y
OpenCode
$ npx skills add open-gsd/gsd-core --skill gsd-cleanup -a opencode -y
Windsurf
$ npx skills add open-gsd/gsd-core --skill gsd-cleanup -a windsurf -y
SKILL.md
gsd-cleanup.SKILL.mdname: gsd-cleanup description: "Archive accumulated phase directories from completed milestones" allowed-tools: - Read - Write - Bash - Grep - AskUserQuestion
<objective> Archive phase directories from completed milestones into `.planning/milestones/v{X.Y}-phases/`.
Use when `.planning/phases/` has accumulated directories from past milestones. </objective>
<execution_context> @~/.claude/gsd-core/workflows/cleanup.md </execution_context>
<process> Execute end-to-end. Identify completed milestones, show a dry-run summary, and archive on confirmation. </process>
Git. Ship. Done. A light-weight meta-prompting, context engineering, and spec-driven development system for Claude Code, OpenCode, Antigravity CLI, Kimi CLI, Kilo, Codex, Copilot, Cursor, Windsurf, and more.
Other skills on gsd-core.
More skills from other plugins.
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
ask-matt
Ask which skill or flow fits your situation. A router over the skills in this repo.
Questions about gsd-cleanup.
- Which coding agents can use gsd-cleanup?
- gsd-cleanup installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.

