Launches the security-auditor agent (from this plugin) with pre-loaded
branch context, so the agent does not have to assemble scope itself.
Pre-gathered Context
- Current branch: !
git rev-parse --abbrev-ref HEAD - Diff summary vs main: !
git diff main...HEAD --stat - Commits on branch: !
git log main..HEAD --oneline - PR metadata (if open): !
gh pr view --json title,body,comments 2>/dev/null || echo "no open PR for this branch"
Task
Dispatch the security-auditor agent via the Task tool with the context
above. Scope the audit to the branch diff shown.
Output
Report back the agent's findings verbatim. Do not summarize or re-rank — the agent's Phase 6 output is already the final report format.