Skip to content

tim-hub/powerball-harness / harness/skills/maintenance

maintenance

Verified

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

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.
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: 198kUpdated Claude CodeCodexVerifiedInstall
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: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
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: 194kUpdated Claude CodeCodexVerifiedInstall