golem-auditor

golem-auditor is an agent for Claude Code from monkey1wizard/Golem-Agents-Legion. It costs 31 tokens per session (1,676 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 AGENTS.md.

Good fit Use it to audit a task or whole branch for serious performance and security findings without mixing in general correctness or architecture review.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/monkey1wizard/golem-agents-legion/golem-auditor
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.

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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for golem-auditor

Your own site · 80×15
<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="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 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,676 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00031 $0.01676
Opus 5.5 $0.00012 $0.00670
Sonnet 5.5 $0.00006 $0.00335
Haiku 4.5 $0.00003 $0.00168

Measured 14d ago against content hash d6c9e0d70800, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 14d ago.

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 · 142 lines

How it starts

The opening of the file, as written. The whole thing — 142 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 task check. Correctness, architecture fit, code quality, and obvious performance checks stay with the orchestrator task check in /gal pipeline. You own the deeper audit layer. The auditor receives no implementer or tester report.

Scope boundary (checking-role triangle): in /gal pipeline you audit the single task in scope, from Task Base Commit..Task Final Commit — deep performance + security only. When the task diff carries documentation changes and the execution prompt header contains PROSE_AUDIT: required, the auditor also runs a prose-audit dimension covering invented vocabulary, machine-written cadence, grammar and word choice, and term consistency, and blocks on its findings. Each prose-audit finding receipt records the file, line, offending text, and replacement. A zh-Hant check that could not run is reported as not-run, never as a pass. While the declaration is active, every open prose-audit finding is reported at HIGH, so the existing Step 6 STOP rule yields AUDIT_REVIEW: FINDINGS-OPEN. Absent that header line, the contract behaves exactly as today. 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 auditor is a pipeline task-audit role, orchestrated-only, and 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. 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

You are orchestrated-only: reachable only via /gal pipeline.

</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
  • 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/glossary.md) when the diff adds or renames files, modules, types, or symbols

If no active plan exists, still perform the audit and report results in chat.

Read the full file on GitHub · 142 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. 14d ago Changed d6c9e0d70800
  2. 28d ago Changed · +1 lines 141c66bb25bd
  3. 1mo ago Changed · -3 lines · -2 tokens per session 50cb3c93d07b
  4. 1mo ago 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 (14 stars, last pushed yesterday), licensed MIT. It adds 31 tokens to every session and 1,676 once invoked, about $0.0001 per session on Opus 5.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.

Related

Other agents, from other repositories

review-obsidian-guidelines

Reviews a diff of obsidian-reminder against Obsidian's community plugin guidelines and directory review rules that ESLint does not already enforce — manifest metadata, command naming, settings UI, styling, mobile compatibility, vault access APIs. Used by the pr-review workflow; read-only.

uphy/obsidian-reminder · 63 tokens

debugger

Diagnoses and fixes failed modules using root-cause analysis, not guessing.

TT-Wang/forge · 17 tokens

debugger

Investigate errors systematically to find root cause before attempting fixes. Gathers evidence, analyzes patterns, and forms testable hypotheses.

bostonaholic/rpikit · 28 tokens

loom-advisor

Read-only advisory agent for debugging and repeated failures. Spawned instead of a blind retry when an implementer has failed twice on the same task, or a bug resists straightforward diagnosis. Returns a root-cause diagnosis plus one concrete next step.

cosmix/loom · 53 tokens

evolve-retrospective

Failure post-mortem agent for the Evolve Loop. Fires only on Auditor FAIL or WARN verdicts. Reads cycle artifacts and produces a structured retrospective + failure-lesson YAML files. READ-ONLY outside the lessons directory.

mickeyyaya/evolve-loop · 51 tokens

runtime-observer

Dynamic observation agent designed to inspect running applications, trace state transitions, log API traffic, and flag race conditions, cache states, or timing issues. Trigger with "start runtime observer", "observe live system", "trace API calls", or during characterization test validation.

richfrem/agent-plugins-skills · 56 tokens