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-run.sh
View on GitHub#!/bin/bash
# Start ONE Devin run in the background and return at once. Wait for it with lean-wait.sh.
# usage: lean-run.sh <mode> <run dir> <brief file> <logs dir> <step>
# mode: new = helper, fresh conversation (--write)
# cont = helper, same conversation (--write --continue; same <run dir> as before)
# scout = read-only reader
# check = read-only checker; <run dir> must NOT be the helper's worktree
# env: LEAN_TAG (required: the tag of the whole skill run), LEAN_HELPER (default --swe2),
# LEAN_CHECKER (default --deepseek), LEAN_TIMEOUT (default 1500 s),
# DEVIN_RUNNER (default $RUNNERS_DIR/devin/devin-run.sh)
# Files it writes in <logs dir>: <step>.log, <step>.pid, <step>.done (the exit code), timeline.txt
set -u
[ $# -eq 5 ] || { sed -n '2,11p' "$0"; exit 2; }
mode=$1; run_dir=$2; brief=$3; logs=$4; step=$5
: "${LEAN_TAG:?set LEAN_TAG}"
runner=${DEVIN_RUNNER:-$HOME/.hermes/devin/devin-run.sh}
case $mode in
new) flags="${LEAN_HELPER:---swe2} --write" ;;
cont) flags="${LEAN_HELPER:---swe2} --write --continue" ;;
scout) flags="${LEAN_HELPER:---swe2}" ;;
check) flags="${LEAN_CHECKER:---deepseek}" ;;
*) echo "lean-run: mode must be new | cont | scout | check"; exit 2 ;;
esac
[ -d "$run_dir" ] || { echo "lean-run: no run dir $run_dir"; exit 2; }
[ -s "$brief" ] || { echo "lean-run: no brief $brief"; exit 2; }
mkdir -p "$logs"; logs=$(cd "$logs" && pwd); brief=$(cd "$(dirname "$brief")" && pwd)/$(basename "$brief")
rm -f "$logs/$step.done"
(
cd "$run_dir" || exit 9
echo "$(date -u +%FT%TZ) dispatch $step ($mode)" >> "$logs/timeline.txt"
# shellcheck disable=SC2086
DEVIN_RUN_TAG="$LEAN_TAG-$step" timeout "${LEAN_TIMEOUT:-1500}" "$runner" $flags "$(cat "$brief")" > "$logs/$step.log" 2>&1
rc=$?
echo "$(date -u +%FT%TZ) $step end rc=$rc" >> "$logs/timeline.txt"
echo "$rc" > "$logs/$step.done"
) </dev/null >/dev/null 2>&1 &
echo $! > "$logs/$step.pid"
echo "started $step ($mode) pid $(cat "$logs/$step.pid"); wait with: lean-wait.sh $logs $step"
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 |