/auto-audit:resume [repo-slug]from auto-audit
Resumes a stopped autonomous audit without re-initializing the workspace. Recovers findings stuck mid-tick and re-establishes the active repo pointer.
Ships in auto-audit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
source "${CLAUDE_PLUGIN_ROOT}/scripts/lib/common.sh"
SLUG="$1"
# if no slug given, see if there's a stopped active file or exactly one repo in data
if [ -z "$SLUG" ]; then
if ls "$AUTO_AUDIT_DATA"/active.json.stopped.* >/dev/null 2>&1; then
LATEST="$(ls -t "$AUTO_AUDIT_DATA"/active.json.stopped.* | head -1)"
SLUG="$(jq -r .slug "$LATEST")"
elif [ "$(ls "$AUTO_AUDIT_DATA/repos" 2>/dev/null | wc -l)" = "1" ]; then
SLUG="$(ls "$AUTO_AUDIT_DATA/repos" | head -1)"
fi
fi
if [ -z "$SLUG" ]; then
echo "no slug given and could not infer one. available repos:"
ls "$AUTO_AUDIT_DATA/repos" 2>/dev/null || echo " (none)"
exit 1
fi
if [ ! -d "$AUTO_AUDIT_DATA/repos/$SLUG" ]; then
echo "no such repo: $SLUG"
exit 1
fi
set_active_slug "$SLUG"
echo "resumed: $SLUG"
# Detect findings stuck in an intermediate stage (the previous loop died
# mid-tick) and fold them back to the matching entry status so the next
# tick picks them up cleanly. The tick already does this lazily on
# pickup; doing it eagerly here gives the resume command a clear signal
# of how much state was recovered.
source "$CLAUDE_PLUGIN_ROOT/scripts/lib/state.sh"
recovered=0
findings_dir="$AUTO_AUDIT_DATA/repos/$SLUG/findings"
if [ -d "$findings_dir" ]; then
for f in "$findings_dir"/*.json; do
[ -f "$f" ] || continue
fid="$(jq -r .id "$f")"
status="$(jq -r .status "$f")"
case "$status" in
triaging) finding_update_status "$fid" "discovered" "resume: recovering from interrupted triage"; recovered=$((recovered+1)) ;;
poc_writing) finding_update_status "$fid" "confirmed" "resume: recovering from interrupted poc"; recovered=$((recovered+1)) ;;
fixing) finding_update_status "$fid" "poc_written" "resume: recovering from interrupted fix"; recovered=$((recovered+1)) ;;
reviewing) finding_update_status "$fid" "pr_opened" "resume: recovering from interrupted review"; recovered=$((recovered+1)) ;;
esac
done
fi
if [ "$recovered" -gt 0 ]; then
echo "recovered $recovered finding(s) stuck mid-tick"
fi
bash "$CLAUDE_PLUGIN_ROOT/scripts/print-status.sh"
Then tell the user "resumed. run /loop /auto-audit:tick to restart the autonomous processor, or just wait for the next tick if a loop is already running." If you recovered any stuck findings, mention the count so the user knows the loop didn't lose progress silently.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
auto-audit@wrxck-claude-plugins is listed by wrxck/claude-plugins — review the source before installing
npx claudepluginhub wrxck/claude-plugins --plugin auto-audit9 skills in this plugin
/audit-securityScan the active auto-audit workspace for security vulnerabilities and add any new findings to the queue. Run as part of /auto-audit:start or periodically via /auto-audit:tick rescans. Uses LLM-based code review plus available CLI scanners (npm audit, pip-audit, gitleaks-like regexes)./badgeInstall the auto-audit badges in the target repo. Publishes the live status JSON to the autoaudit/status branch so the dynamic shields.io badge renders, and optionally opens a PR adding the static 'audited by auto-audit' badge to the README. Use after an audit when the user wants visibility in their repo's README./feedbackRecord operator feedback against the active repo's audit so future triager and fixer runs incorporate it. Use when the user says 'don't write that pattern again', 'I reverted that PR because X', 'the triager got this one wrong', or 'remember this for next time'. The reviewer is independent and does NOT read this log — that's deliberate./reportGenerate a self-contained HTML audit report for the active repo (or a named one). The report includes summary stats, per-finding triage / PoC / fix / review detail, and the full activity log. Use when the user says 'generate a report', 'export findings', 'build the audit summary', 'write up the audit'./startAutonomously audit a GitHub repo. Clones the repo, runs a full audit scan (security by default), then kicks off a continuous loop that triages findings, writes proofs of concept, fixes issues in PRs, independently reviews, and merges. Use when the user says things like 'audit my repo', 'scan repo X for security issues', 'start auto-audit on <repo>'./statusShow the current state of the autonomous audit: active repo, findings breakdown by status, recent activity, next pending finding. Use when the user asks 'what's auto-audit doing?', 'audit status', 'audit progress'.Other plugins' skills for the same job