tq-forge-agentslisted
Install: claude install-skill tanishq286/tq-forge
# /tq-forge-agents — agent registry view
## When to use
You want a snapshot of every forged agent — sandbox + promoted — with its kind
(researcher / coder / etc.), current quality score, the agents it can hand off
to, and a one-line capability summary from `AGENT.md`. This is the agent-only
counterpart of `/tq-forge-list`, which mixes skills + agents.
## Procedure
```bash
export TQ_FORGE_HOME="${TQ_FORGE_HOME:-$HOME/.tq-forge}"
source "${CLAUDE_PLUGIN_ROOT:-${TQ_FORGE_HOME:-$HOME/.tq-forge}/install}/scripts/common.sh" && tq_ensure_home
```
1. **Enumerate agent directories.**
```bash
find "$SANDBOX_AGENTS" "$CLAUDE_SKILLS_DIR/agents" -maxdepth 2 -name AGENT.md 2>/dev/null
```
2. **For each agent, read metadata** — yaml + json in one pass:
```bash
python3 - <<'PY'
import json, re, pathlib, os
roots = [pathlib.Path(os.environ['SANDBOX_AGENTS']),
pathlib.Path(os.environ['CLAUDE_SKILLS_DIR'])/'agents']
for r in roots:
if not r.exists(): continue
for d in sorted(p for p in r.iterdir() if p.is_dir()):
agm, tj = d/'AGENT.md', d/'tools.json'
if not agm.exists(): continue
text = agm.read_text(errors='replace')
kind = (re.search(r'kind:\s*(\S+)', text) or [None,'?'])[1]
tools = hand = []
if tj.exists():
try:
j = json.loads(tj.read_text())
tools, hand = j.get('tools',[]), j.get('hand_off_to',[])
excep