AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Clean Up

skill-ccomkhj-skills-clean-up · by ccomkhj

Phase 5 of pair-goal — the finishing move. Commits the kept improvement on a feature branch, opens a PR (body drawn from .pairgoal/SUMMARY.md), and tears down the pair-goal worktrees and state. Always confirms the branch name and PR body with the user before pushing. Use as the last phase of a pair-goal run, after summarize.

No reviews yet
0 installs
7 views
0.0% view→install

Install

$ agentstack add skill-ccomkhj-skills-clean-up

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-ccomkhj-skills-clean-up)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
1mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Clean Up? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

clean-up

Phase 5 of pair-goal. Ships the kept improvement and cleans up the machinery. This is an outward-facing action (a PR) — confirm with the user before pushing anything.

Preconditions

  • summarize has written .pairgoal/SUMMARY.md.
  • The kept changes are committed on the main working branch (pair-iterate merged each winner). If there are uncommitted leftovers, show git status and ask before proceeding.

Steps

  1. Tear down racer worktrees first. goal_teardown (no round arg removes both wt-claude/wt-codex and prunes); then git branch --list 'pairgoal/*' and delete any leftover temp branches. The PR must contain only the kept improvement, not race scaffolding.
  2. Branch. If the work landed on main/master, create a feature branch (e.g. pairgoal/) and move the commits there — never open a PR from the default branch. If already on a feature branch, use it.
  3. Confirm — the gate. Show the user: the branch name, the commit list (git log ..HEAD --oneline), and the proposed PR title + body (drawn from SUMMARY.md: goal, what was achieved, net diff, correctness, follow-ups). Set STATUS: WAITING-USER: confirm-pr. Wait for an explicit yes.
  4. Push + PR. On confirmation: git push -u origin , then gh pr create --title "…" --body "…" (body from SUMMARY.md). Report the PR URL.
  5. Finish. Set STATUS: DONE, PHASE: cleanup in STATE.md. Ask the user whether to delete .pairgoal/ now or keep it for reference (it's gitignored either way). If they ran /goal and it's somehow still active, remind them it auto-cleared on success, or to /goal clear.

PR body shape

Pull straight from SUMMARY.md. End the body with the standard trailer:

🤖 Generated with [Claude Code](https://claude.com/claude-code)

And the commits (if you author them here) end with:

Co-Authored-By: Claude Opus 4.8 (1M context) 

Don't

  • Don't push or open a PR before the user confirms — it's outward-facing and hard to reverse.
  • Don't include .pairgoal/ or the pairgoal/r-* branches in the PR. They're transient.
  • Don't claim the PR is open until gh pr create returns a URL — paste it.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.