tim-hub/powerball-harness / harness/skills/maintenance
maintenance
VerifiedPeriodic housekeeping and session lifecycle management. Use when performing cleanup, pruning, or session commands.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 4.2 KB |
| references/cleanup.md | markdown | 5.7 KB |
| references/execution-flow.md | markdown | 1.2 KB |
| references/memory-optimization.md | markdown | 1.6 KB |
| references/session-control.md | markdown | 988 B |
| references/state-transition.md | markdown | 2.1 KB |
references/memory-optimization.md
View on GitHub# Memory Optimization
## Memory Optimization (CC 2.1.49+)
Since Claude Code 2.1.49, memory usage on session resume has been **reduced by 68%**.
### Best Practices for Long Session Management
| Workload | Recommended Strategy |
|----------|---------------------|
| **Normal implementation** | Resume with `--resume` every 1-2 hours |
| **Large-scale refactoring** | Split sessions by feature unit, use `--resume` for each |
| **Parallel tasks** | Run in parallel with `harness-work --parallel`, use `--resume` midway for long sessions |
| **Memory warning** | Resume immediately with `--resume` (faster than before) |
### Auto-generated Session Names (CC 2.1.41+)
Running `/rename` without arguments auto-generates a session name from the conversation context.
This makes it easier to identify sessions in long-running or `--resume`-heavy workflows.
### Efficient Workflow Example
```bash
# Implementation phase 1
claude "Implement authentication feature"
# -> 1 hour later
# Resume session (memory-efficient)
claude --resume "Add password reset feature"
# -> 1 hour later
# Resume again
claude --resume "Add tests"
```
### Memory Management Recommendations
| Recommendation | Reason |
|---------------|--------|
| **Actively resume sessions** | Low resume cost with 68% memory reduction |
| **Resume periodically** | Keeps context organized and maintains focus |
| **Split by feature unit** | Break large tasks into smaller chunks for resuming |
| **Use Plans.md** | Smooth handoff when resuming |
> 💡 Memory efficiency has been significantly improved, so actively take advantage of session resumption.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |