Skip to content

Mariomarquezt/multi-flow-skills / skills/sliced-review

sliced-review

Flagged

Review a whole codebase with several models by cutting it into small file-listed slices ordered by blast radius, then triage every finding with three judges, and optionally fix. Use when the user asks to review or audit a whole project or repo with other models, wants a second opinion on a codebase, wants a review split into slices or tiers, has a whole-repo review that died on credits, or wants a check before a launch or handover. Modes (`3`, `5`, `8`, `fast`, `fix …`, `fix fast …`, `fix only`, `report`, `no wrap`) are in the body. Not for a plan before code exists (/grill-me-codex, /codex-review) or a single diff, branch or PR (/code-review).

references/live-report/monitor.sh

View on GitHub
#!/usr/bin/env bash
# monitor.sh — refresh the live sliced-review report every 4 minutes until the run ends.
#
#   monitor.sh <out-dir> ["Project title"]
#
# Each round: collect.py (on the kits host) -> pick-provider.py --providers -> haiku-check.py
# (Haiku 5.5 reads the facts, writes status.json) -> render.py -> <out-dir>/report.html.
# Env: SR_HOST   ssh host that holds the kits (default laptop; "local" = this machine)
#      SR_KITS   kits root on that host (default ~/work/sr-kits)
#      SR_APPS   comma list of app kits to show (default: the kits' apps.txt)
#      INTERVAL  seconds between rounds (default 240)
#      PUBLISH_CMD  optional command run after each render; gets the report path as $1
# Stops when <out-dir>/STOP exists, or after two rounds in a row report the run finished.
# Run it in the background from the Mac (codexbar and the claude CLI live there).
set -u
OUT="${1:?usage: monitor.sh <out-dir> [title]}"; TITLE="${2:-}"
HERE="$(cd "$(dirname "$0")" && pwd)"
SR_HOST="${SR_HOST:-laptop}"; SR_KITS="${SR_KITS:-~/work/sr-kits}"; SR_APPS="${SR_APPS:-}"
INTERVAL="${INTERVAL:-240}"
mkdir -p "$OUT"
DONE_ROUNDS=0
while [ ! -e "$OUT/STOP" ]; do
  if [ "$SR_HOST" = local ]; then
    SR_KITS="$SR_KITS" SR_APPS="$SR_APPS" python3 "$HERE/collect.py" > "$OUT/snapshot.tmp" 2>"$OUT/collect.err"
  else
    ssh -o ConnectTimeout=15 "$SR_HOST" \
      "SR_KITS=$SR_KITS SR_APPS='$SR_APPS' python3 ~/.claude/skills/sliced-review/references/live-report/collect.py" \
      > "$OUT/snapshot.tmp" 2>"$OUT/collect.err"
  fi
  if [ -s "$OUT/snapshot.tmp" ]; then mv "$OUT/snapshot.tmp" "$OUT/snapshot.json"; fi
  python3 "$HERE/../pick-provider.py" --providers > "$OUT/providers.tmp" 2>/dev/null \
    && [ -s "$OUT/providers.tmp" ] && mv "$OUT/providers.tmp" "$OUT/providers.json"
  if python3 "$HERE/haiku-check.py" "$OUT/snapshot.json" "$OUT/providers.json" "$OUT/status.json"; then
    DONE_ROUNDS=$((DONE_ROUNDS + 1))
  else
    DONE_ROUNDS=0
  fi
  python3 "$HERE/render.py" "$OUT/snapshot.json" "$OUT/status.json" "$OUT/providers.json" "$OUT/report.html" "$TITLE" \
    && [ -n "${PUBLISH_CMD:-}" ] && bash -c "$PUBLISH_CMD" _ "$OUT/report.html"
  echo "[$(date '+%H:%M')] report refreshed: $OUT/report.html"
  [ "$DONE_ROUNDS" -ge 2 ] && { echo "run finished — monitor stops"; break; }
  sleep "$INTERVAL"
done
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 196kUpdated Claude CodeCodexVerifiedInstall