From tq-forge
Scan every forged skill and agent for scores below 7, then improve each one in priority order (lowest first). Runs assess -> rewrite -> verify per artifact, stopping if the halt flag appears or the user interrupts. Use when asked for "/tq-forge-improve-all", "improve everything", "fix all weak skills", or "bulk improve".
How this skill is triggered — by the user, by Claude, or both
Slash command
/tq-forge:tq-forge-improve-allThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
You want a single sweep that finds every forged skill and agent scoring below 7
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.
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
Enumerate artifacts below threshold. From the log plus any un-logged sandbox dirs:
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
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)
For each artifact in order: a. Check the halt flag before each item:
test -f "$TQ_FORGE_HOME/halt.flag" && echo "⏸ halt.flag set — stopping batch." && exit 0
b. Run the /tq-forge-improve logic inline:
bash "$S/improve-loop.sh" assess "<slug>"
Read the artifact, rewrite only the weak sections, then:
bash "$S/improve-loop.sh" verify "<slug>"
c. Print a one-line status: ✅ notion-daily-summary: 5.8 -> 8.1 or
⚠️ inventory-snapshot: 6.2 -> 6.5 — still weak, flagged for review.
Print the final summary.
📊 Improve-all complete
Improved: <N> (now >=7)
Still weak: <M> (flagged in forge-queue.json)
Skipped: <K> (halt.flag hit mid-run)
If any remain in needs_manual_review, print: "Run /tq-forge-queue to
see what needs a human touch."
tools.json is malformed, skip that agent with a warning rather
than aborting the whole batch.$CLAUDE_SKILLS_DIR are editable here — the path is
already writable. Don't treat "promoted" as read-only.skill-log.json score fields are updated for every processed artifact.tq-forge improve batch quality bulk
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub tanishq286/tq-forge --plugin tq-forge