/auto-audit:start <repo-url> [modules=security] [merge-policy=manual|auto]from auto-audit
Autonomously audits a GitHub repo for security issues: clones, scans, triages findings, writes PoCs, fixes in PRs, reviews, and merges. Invoke with /start <repo-url>.
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.
You are the orchestrator. Your job is to set up the audit then kick off a self-sustaining loop that will run until the session ends or the user stops it.
$1 (required): GitHub repo URL — e.g. https://github.com/wrxck/my-app or [email protected]:wrxck/my-app.git or owner/name shorthand.$2 (optional, default security): comma-separated modules to run. security is the only module the plugin ships today.$3 (optional, default manual): merge policy. manual = leave PR open for human review (default, recommended). auto = auto-merge on positive independent review — opt-in only, review the security section in the README before using this on any repo you do not fully trust.If $1 is missing, tell the user the usage and stop.
Run the init script to clone the repo and write config. The script uses whatever git/gh credentials are already configured in the environment — typically the HTTPS oauth token from gh auth login. No extra ssh-agent setup is required.
REPO_URL="$1"
# normalise shorthand owner/name -> full url
if [[ "$REPO_URL" != *://* && "$REPO_URL" != git@* ]]; then
REPO_URL="https://github.com/$REPO_URL"
fi
MODULES="${2:-security}"
MERGE_POLICY="${3:-manual}"
IFS=',' read -r -a _mods <<<"$MODULES"
for m in "${_mods[@]}"; do
case "$m" in
security) ;;
*) echo "unknown module '$m'; valid: security" >&2; exit 1 ;;
esac
done
bash "${CLAUDE_PLUGIN_ROOT}/scripts/init-workspace.sh" "$REPO_URL" "$MODULES" "$MERGE_POLICY"
Report the config back to the user in one short line (repo + modules + merge policy).
Only audit-security is active today. Invoke it as a subagent so the heavy scanning does not pollute your context.
Resolve the workspace path in your own bash first, then call the Agent tool:
source "${CLAUDE_PLUGIN_ROOT}/scripts/lib/common.sh"
WORKSPACE="$(workspace_dir)"
echo "dispatching audit-security on $WORKSPACE"
Then use the Agent tool with subagent_type: general-purpose and this prompt verbatim (substitute <WORKSPACE> and <PLUGIN_ROOT> with the resolved values):
You are running the audit-security scan of the auto-audit plugin. Read
<PLUGIN_ROOT>/skills/audit-security/SKILL.mdand follow it exactly. Active workspace:<WORKSPACE>. Plugin root:<PLUGIN_ROOT>. The LAST line of your stdout must be:findings_added=<integer>.
Then show the user the breakdown via:
bash "${CLAUDE_PLUGIN_ROOT}/scripts/print-status.sh"
Kick off the continuous processor. Use /loop with dynamic pacing so Claude self-paces based on how much work remains. The loop invokes the tick skill, which processes one finding per iteration.
Output this literal text to the user (it will be auto-interpreted by Claude Code as the loop command):
/loop /auto-audit:tick
Then tell the user in one line: "autonomous audit running — /auto-audit:status to check progress, /auto-audit:stop to halt."
gh auth status fails, report it and stop — don't try to proceed.What SKILL.md sets; muted values are Claude Code's defaults
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.Other plugins' skills for the same job