tq-forge-improve-alllisted
Install: claude install-skill tanishq286/tq-forge
# /tq-forge-improve-all — batch improve every sub-7 artifact
## When to use
You want a single sweep that finds every forged skill and agent scoring below 7
and fixes them in one session. Good after an initial forge spree, or after
`/tq-forge-scan` surfaces several weak entries. Each artifact gets one improve
attempt; if it still fails, it's flagged for manual review and the loop moves on.
## Procedure
```bash
export TQ_FORGE_HOME="${TQ_FORGE_HOME:-$HOME/.tq-forge}"
S="${CLAUDE_PLUGIN_ROOT:-${TQ_FORGE_HOME:-$HOME/.tq-forge}/install}/scripts"
source "$S/common.sh" && tq_ensure_home
```
1. **Enumerate artifacts below threshold.** From the log plus any un-logged
sandbox dirs:
```bash
python3 - <<'PY'
import json, pathlib, os
home = pathlib.Path(os.environ['TQ_FORGE_HOME'])
log = json.loads((home/'skill-log.json').read_text() or '[]')
weak = [e for e in log if isinstance(e.get('score'),(int,float)) and e['score'] < 7]
weak.sort(key=lambda e: e['score'])
for e in weak:
print(f"{e['slug']}\t{e['score']}\t{e.get('status','?')}")
PY
```
2. **Print the improvement queue** so the user can abort if it's longer than
expected:
```
🔧 Improvement queue — <N> artifacts below 7/10
1. notion-daily-summary 5.8/10 (weak: actionability, specificity)
2. inventory-snapshot 6.2/10 (weak: completeness)
```
3. **For each artifact in order:**
a. Check the halt flag before each item:
```bash
test -f "$TQ_FORGE_HO