naman10parikh/agentgrid / .claude/skills/harness-review
harness-review
VerifiedReview an agent's harness (scaffold) for quality, token efficiency, and correctness. Based on harness engineering research.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 1.6 KB |
SKILL.md
View on GitHub---
name: harness-review
description: Review an agent's harness (scaffold) for quality, token efficiency, and correctness. Based on harness engineering research.
---
## The Core Insight
Same model with scaffold A scores 42%. Same model with scaffold B scores 78%. The harness IS the product.
## Review Checklist
### 1. Context Loading
- [ ] Bootstrap memory under 2,000 tokens?
- [ ] Skills loaded on-demand, not all upfront?
- [ ] Total input under 40% of context window? (the "dumb zone" is past 60%)
### 2. Tool Design
- [ ] Each tool has a clear, one-sentence description?
- [ ] Failed tool calls return actionable error messages (not stack traces)?
- [ ] Tool results are concise (no dumping raw HTML/JSON)?
### 3. Error Recovery
- [ ] Retry logic with exponential backoff?
- [ ] Graceful degradation (if tool X fails, try alternative)?
- [ ] Never silent swallowing of errors?
### 4. Model Routing
- [ ] Parsing/extraction tasks → cheapest tier (Haiku)?
- [ ] Reasoning/planning → middle tier (Sonnet)?
- [ ] Architecture/complex decisions → top tier (Opus)?
- [ ] Never sending 100K tokens to the expensive model?
### 5. Memory Management
- [ ] Important facts written to disk BEFORE compaction?
- [ ] Memory files have clear structure (not just append-only)?
- [ ] Cross-session memory actually loads at session start?
### 6. Planning
- [ ] Uses TodoWrite or equivalent for multi-step coherence?
- [ ] Each step has a testable definition of done?
- [ ] Can explain what it's doing and why at any point?
## Reference
Read `docs/vision/VISION.md` — search for "harness engineering evidence"
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |