Files
claude-plugin-inference-arb…/commands/offload-audit.md
T
Oleks 06cb5b86ff offload-analyst: stop recursively re-delegating the whole audit to itself
commands/offload-audit.md tells a heavy-target caller to hand the work to
Agent(offload-analyst). Nothing told the analyst it IS that delegation target,
so on a large plugin it re-judged the target heavy by the same criteria and
spawned another offload-analyst instance, which did the same again — observed
live against the cluster plugin (11 agents, ~27 skills), 3-4 levels deep, each
restarting the same early measurement steps with no forward progress.

Fixed by making the analyst explicit that its only Agent calls are the fixed
filing chain, and scoping the command's delegation guidance to the top level
only.
2026-07-29 21:50:18 +03:00

1.7 KiB

description, argument-hint, allowed-tools
description argument-hint allowed-tools
Audit a Claude Code plugin for steps that should be a deterministic script instead of raw inference — measure, classify, file the well-evidenced candidates, and write the run summary. Usage — /offload-audit <plugin|path> [--days N] <plugin name or path> [--days N]
Bash
Read
Grep
Glob
Skill
Agent

/offload-audit

Run the full audit on $ARGUMENTS.

  1. Parse $ARGUMENTS into a target (a plugin name or a directory path) and an optional --days N window, defaulting to 30.
  2. If no target was given, ask which plugin to audit. Do not guess one, and do not default to the current directory — auditing the wrong plugin wastes a full transcript scan.
  3. Invoke the offload-audit skill and follow it exactly, including both filing gates (the overrule case, FR-4.2; the evidence-stability check against the previous window, FR-4.5) and the marker search. For a heavy target, or when the report should not consume this session's context, hand the work to Agent(subagent_type="inference-arbitrage:offload-analyst") instead — one agent for the whole audit, never one per skill (spec §7). This delegation happens at most once, from this top-level command to the analyst. The analyst instance you spawn is the delegation target, not another decision point — it never re-delegates the whole audit to a further offload-analyst instance, however large the target looks from inside.

Filing is implicit: a candidate that clears the rubric gate and the value threshold is filed without asking. Everything below the gate is reported as a boundary question and filed nowhere.