Mariomarquezt/multi-flow-skills / skills/multi-model-fix
multi-model-fix
Verified| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 25.0 KB |
| templates/checker-brief-standard.md | markdown | 2.9 KB |
| templates/cross-check-brief.md | markdown | 2.4 KB |
| templates/fix-brief.md | markdown | 3.4 KB |
| templates/item-file.md | markdown | 1.4 KB |
| templates/lean-brief.md | markdown | 2.6 KB |
| templates/lean/bg-run.shexecutable | script | 979 B |
| templates/lean/gate-example.sh | script | 989 B |
| templates/lean/lean-collect.shexecutable | script | 2.3 KB |
| templates/lean/lean-group.shexecutable | script | 4.7 KB |
| templates/lean/lean-mkcheck.shexecutable | script | 2.1 KB |
| templates/lean/lean-run.shexecutable | script | 2.0 KB |
| templates/lean/lean-wait.shexecutable | script | 1.4 KB |
| templates/repro-brief.md | markdown | 2.0 KB |
| templates/scout-brief.md | markdown | 1.7 KB |
templates/lean/lean-wait.sh
View on GitHub#!/bin/bash
# Wait for runs that lean-run.sh / lean-group.sh / bg-run.sh started. Returns after <max seconds>
# at most (default 230), so that a lead with a 5-minute prompt cache never waits past it.
# Call it again while it says RUNNING.
# usage: lean-wait.sh <logs dir> "<name> [<name>...]" [max seconds] [work dir for git status]
# <name> = a step or a group. It returns when ALL names are done.
# It never uses pgrep (a pgrep pattern matches the waiting shell).
set -u
[ $# -ge 2 ] || { sed -n '2,7p' "$0"; exit 2; }
logs=$1; names=$2; max=${3:-230}; work=${4:-}
alldone() { for n in $names; do [ -f "$logs/$n.done" ] || return 1; done; }
t=0
while ! alldone && [ "$t" -lt "$max" ]; do sleep 5; t=$((t + 5)); done
rc=0
for n in $names; do
if [ ! -f "$logs/$n.done" ]; then echo "RUNNING $n (waited ${t}s more)"; rc=3; continue; fi
echo "DONE $n: $(cat "$logs/$n.done")"
if [ -f "$logs/$n.summary" ]; then cat "$logs/$n.summary"
elif [ -f "$logs/$n.log" ]; then
echo "rate-limit lines: $(grep -ci 'rate limit\|limit will reset' "$logs/$n.log")"
v=$(grep -m 3 "^VERDICT\|^\*\*VERDICT" "$logs/$n.log"); [ -n "$v" ] && echo "--- verdict lines" && echo "$v"
echo "--- end of log"; tail -c "${TAILC:-1500}" "$logs/$n.log"; echo
fi
done
[ $rc -eq 3 ] && tail -3 "$logs/timeline.txt" 2>/dev/null
if [ -n "$work" ]; then echo "--- git status"; git -C "$work" status --short; fi
exit $rc
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| 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: 198k | Updated | Claude CodeCodex | Verified | Install |
| 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: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| 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: 194k | Updated | Claude CodeCodex | Verified | Install |