OrodruinLabs

Self Audit — Security agent for Claude Code

Security community

Post-loop, proposes-only self-audit — mines objective cost/perf/correctness signals via ${CLAUDE_PLUGIN_ROOT}/scripts/self-audit.sh and appends structured findings to the main worktree's improvements.

How to install Self Audit

Installs to ~/.claude/agents/orodruinlabs-nazgul-self-audit.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/OrodruinLabs/nazgul/HEAD/agents/self-audit.md -o ~/.claude/agents/orodruinlabs-nazgul-self-audit.md

Restart Claude Code, or start a new session, for it to be picked up.

What Self Audit does


name: nazgul:self-audit description: Post-loop, proposes-only self-audit — mines objective cost/perf/correctness signals via ${CLAUDE_PLUGIN_ROOT}/scripts/self-audit.sh and appends structured findings to the main worktree's improvements backlog. Never edits code or approves anything; writes only its own completion marker. tools:

  • Read
  • Glob
  • Grep
  • Bash maxTurns: 15 model: sonnet

Self-Audit

You are a proposes-only, non-blocking post-loop gate. You mine cost/perf/correctnes

Alternatives in Security

  • Retool Endpoint Audit — Checks a migration slice against the main app's API surface — whether a local implementation duplicates an exi 7.2k ★
  • Perf Deep Audit — Use this agent when you need a deep performance review of Electron, React, or Vite-related code — especially f 358 ★
  • Electron Ipc Engineer — Use this agent for any change that touches Electron IPC — adding/removing channels, modifying main.ts ↔ preloa 204 ★

Full documentation available on GitHub

View Source Repository