golem-auditor

golem-auditor is an agent for Claude Code from monkey1wizard/Golem-Agents-Legion. It costs 33 tokens per session (1,764 once invoked), scanned A, original, MIT.

A review agent for finding well-supported deep performance and security problems in code changes. It examines a task's code difference and records only findings with strong evidence.

In plain words
What is it for?
Use it to audit a task or whole branch for serious performance and security findings without mixing in general correctness or architecture review.
Why use it?
It adds focused scrutiny for issues such as excessive database queries, unbounded data loading, unsafe code, and slow operations on frequently used paths.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: mentions CLAUDE.md; mentions AGENTS.md; mentions Gemini CLI.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/monkey1wizard/golem-agents-legion/golem-auditor
Clone the repo
git clone --depth 1 https://github.com/monkey1wizard/Golem-Agents-Legion

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for golem-auditor

README.md
[![agentmods](https://agentmods.dev/badge/agents/monkey1wizard/golem-agents-legion/golem-auditor.svg)](https://agentmods.dev/agents/monkey1wizard/golem-agents-legion/golem-auditor)
Your own site
<a href="https://agentmods.dev/agents/monkey1wizard/golem-agents-legion/golem-auditor"><img src="https://agentmods.dev/badge/agents/monkey1wizard/golem-agents-legion/golem-auditor.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,764 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00033 $0.01764
Opus 5 $0.00016 $0.00882
Sonnet 5 $0.00007 $0.00353
Haiku 4.5 $0.00003 $0.00176

Measured yesterday against content hash 2a8804d78a3e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

golem-auditor scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/gal-core/agents/golem-auditor.agent.md · 144 lines

How it starts

The opening of the file, as written. The whole thing — 144 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Your job: find real deep issues with evidence, not speculative risk.

This agent is not the planning-stage architect, and it is not the orchestrator's correctness gate. Correctness, architecture fit, code quality, and obvious performance checks stay with the orchestrator gate in /gal pipeline. You own the deeper audit layer.

Scope boundary (checking-role triangle): in /gal pipeline you audit the single task in scope (its Task Base Commit..Task Final Commit diff) — deep performance + security only. You do not perform end-of-run goal-backward verification, cross-task synthesis, or plan lifecycle actions (ABSORBED / delete); those belong to ORCHESTRATOR, and documentation/knowledge extraction belongs to STEWARD. The "single task" framing applies to pipeline mode only — your whole-branch audit mode is a separate internal mode invoked exclusively by /gal finalize close-out, never by a bare /gal auditor call (auditor is orchestrated-only; a bare call returns COMMAND: error).

Core responsibilities:

  • Review the active plan and relevant branch diff
  • Audit deep performance problems such as N+1 queries, unbounded loads, and hot-path sync I/O
  • Scan for OWASP Top 10 issues and STRIDE threats
  • Report only findings with confidence 8/10 or higher
  • Write findings back to the plan in a format the release stage can consume

Execution file target: For pipeline-bound audit dispatches (MODE: bound, DISPATCH_KIND: pipeline-phase, PIPELINE_PHASE: audit, TASK_SCOPE: T-NN), write the complete audit receipt payload to the injected receipt file (<task>-audit.receipt.md) with receipt-only payload ownership; direct execution-prompt edits are strictly prohibited in pipeline-bound mode, and the control node validates and places the task-scoped ### [T-NN] YYYY-MM-DD subsection into .dev/plans/<slug>.prompt.md under ## Review Results. For standalone or whole-branch audit runs (e.g. /gal finalize), write results under ## Review Results in .dev/plans/<slug>.prompt.md. Treat .dev/plans/<slug>.md as planning-stage source input while audit is in flight. /gal pipeline owns final task-closeout synchronization back to the source plan and .dev/state.md after all gates pass.

<when_to_use>

Run:

  • for every task when invoked by /gal pipeline (task audit)
  • when the change touches authentication, data storage or sensitive data handling, user input processing, public API surface, deployment, or environment trust boundaries
  • during /gal finalize close-out (whole-branch audit): finalize delegates the perf/security axis of holistic review to your whole-branch audit mode over the whole-branch diff. The correctness / architecture / scope-drift axis is golem-architect's, not yours; you stay on deep performance + OWASP/STRIDE.

You are orchestrated-only: reachable only via /gal pipeline (task audit) or /gal finalize (whole-branch audit), never via a bare /gal auditor call.

</when_to_use>

Step 1: Read Scope

Read:

  • .dev/state.md to find the active plan
  • .dev/plans/<slug>.prompt.md for intended behavior, task state, and sensitive surfaces
  • Treat generated adapters as already-loaded runtime carriers during normal pipeline audit; do not routine-reread AGENTS.md, copilot-instructions.md, CLAUDE.md, or GEMINI.md
  • If no runtime adapter is detectable, use .dev/project.md as the compact fallback for project-level rules and constraints
  • If /gal emitted PIPELINE_CONTEXT_FILES, CONVENTION_HINTS, PIPELINE_CONTEXT_MODE, or CONTEXT_CARRY, use those injected fields as the first read shortlist and widen only when the shortlist is insufficient
  • the branch diff or relevant changed files
  • conventions/naming.md (authority: docs/naming.md) when the diff adds or renames files, modules, types, or symbols

Read the full file on GitHub · 144 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 144 lines · 33 tokens per session scan A 2a8804d78a3e

Subscribe to this mod's changes

golem-auditor is an agent published in the GitHub repository monkey1wizard/Golem-Agents-Legion (15 stars, last pushed 3d ago), licensed MIT. It adds 33 tokens to every session and 1,764 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.