본문으로 건너뛰기
cccskills
무료GitHub에 공개

maintenance

Periodic housekeeping and session lifecycle management. Use when performing cleanup, pruning, or session commands.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(6)

  • SKILL.md4.2 KB
  • references/cleanup.md5.7 KB
  • references/execution-flow.md1.2 KB
  • references/memory-optimization.md1.6 KB
  • references/session-control.md988 B
  • references/state-transition.md2.1 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Maintenance

Periodic housekeeping skill for Harness projects. Handles stale state file removal, plugin cache purging, and orphaned worktree cleanup.

Quick Reference

SubcommandWhat It Does
--clear-stateRemove stale files from .claude/state/
--purge-cacheClear the plugin cache from ~/.claude/plugins/cache/
--clean-worktreesRemove git worktrees with no associated branch
--allRun all of the above in sequence

When to Use

Run /maintenance when any of the following apply:

  • .claude/state/ contains loop-active.json but no loop is running
  • Old sprint contracts from completed phases are cluttering .claude/state/contracts/
  • git worktree list shows entries for branches that have been deleted
  • The plugin cache has grown stale after a Harness version upgrade

Operations

--clear-state

Scans .claude/state/ and removes files that are safe to delete:

  • loop-active.json — only if no Breezing/harness-work loop is currently running
  • Sprint contract files (*.sprint-contract.json) for tasks marked cc:Done in Plans.md
  • Stale review-result.json files older than 7 days

Will not touch: Active loop state, pending fix proposals, or the contracts/ directory itself.

--purge-cache

Removes the plugin cache directory at ~/.claude/plugins/cache/. The cache is rebuilt automatically on next plugin load. Use after a major Harness version upgrade if stale cached files are causing unexpected behavior.

--clean-worktrees

Lists all git worktrees (git worktree list) and removes entries where the associated branch no longer exists in the repository.

Safe: uses git worktree remove --force only on worktrees confirmed to have no live branch.

Safety Guarantees

  • All operations print a dry-run summary before making changes
  • Destructive operations (--purge-cache) require explicit confirmation
  • Operations never touch files outside their defined scope
  • The main working tree is never modified

Execution Details

See ${CLAUDE_SKILL_DIR}/references/cleanup.md for step-by-step execution procedures for each subcommand.


Session Lifecycle

Consolidates session-related subcommands: listing, inbox checks, and broadcasting.

User InputBehavior
session listShow all active Claude Code sessions in the current project
session inboxCheck for incoming messages from other sessions
session broadcast "message"Send a message to all active sessions

session list

Shows all active Claude Code sessions in the current project.

Active Sessions

| Session ID | Status | Last Activity |
|------------|--------|---------------|
| abc123     | active | 2 min ago     |
| def456     | idle   | 15 min ago    |

session inbox

Checks for incoming messages from other sessions.

Session Inbox

| From   | Time    | Message            |
|--------|---------|---------------------|
| abc123 | 5m ago  | "Ready for review"  |

session broadcast "message"

Sends a message to all active sessions.

For memory optimization, session lifecycle details, and state transitions, see:


Related Skills

  • harness-plan archive — Archive completed phases from Plans.md (not the same as maintenance)
  • harness-work — Implementation; run maintenance before long breezing sessions

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

allow1

무료

Use when generating, vectorizing, or converting images to SVG — logos, icons, illustrations, or 'allow1'/'quiver' references.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tim-hub/powerball-harness352026년 8월 5일 업데이트

breezing

무료

Use when running the full team/breezing flow end-to-end — all tasks with parallel workers. Do NOT load for: single-task implementation, planning, review, release, or setup.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tim-hub/powerball-harness352026년 8월 5일 업데이트

Reviews PRs that modify the Feature Table in CLAUDE.md. Use when a PR adds CC version rows or modifies docs/CLAUDE-feature-table.md.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tim-hub/powerball-harness352026년 8월 5일 업데이트

Use when researching Claude Code or Codex upstream releases, selecting adaptations, or preparing Harness upgrades. Local-only; not for distribution.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tim-hub/powerball-harness352026년 8월 5일 업데이트

Creates a single project slide or one-page visual summary for a repo. Use when generating a project intro image or promotional slide.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tim-hub/powerball-harness352026년 8월 5일 업데이트

Generates product demo videos and release walkthroughs via Remotion. Use when creating video documentation or animated demos.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tim-hub/powerball-harness352026년 8월 5일 업데이트

tim-hub의 스킬 모두 보기

이 스킬의 문제 신고