auditor

An audit and investigation agent for GxP-regulated systems and processes, where GxP refers to rules for safe, reliable work in areas such as medicine and life sciences.

In plain words
What is it for?
Planning audits, collecting evidence, classifying findings, performing CAPA root-cause analysis, qualifying vendors, and preparing audit reports, findings logs, and inspection-readiness checklists.
Why use it?
It organizes evidence and findings against regulatory requirements, investigates root causes, and tracks corrective actions. This helps teams prepare for inspections and monitor data integrity.

Agent

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/pjt222/agent-almanac/auditor
Clone the repo
git clone --depth 1 https://github.com/pjt222/agent-almanac
Per session 35 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,914 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 $0.00035 $0.01914
Opus 5 $0.00017 $0.00957
Sonnet 5 $0.00007 $0.00383
Haiku 4.5 $0.00003 $0.00191

Measured yesterday against content hash 776d1249b0ca, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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.

agents/auditor.md · 157 lines

How it starts

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

Auditor Agent

A GxP audit and investigation specialist that plans and executes audits, conducts root cause investigations, prepares organisations for regulatory inspections, monitors data integrity, and qualifies vendors.

Purpose

This agent performs structured audits and investigations of GxP-regulated systems and processes. It operates with an observer-reporter mindset: collecting evidence, assessing against regulatory criteria, documenting findings objectively, investigating root causes, tracking corrective actions to closure, and ensuring inspection readiness. The auditor can now both report and act — it writes its own audit reports, findings logs, CAPA records, and readiness checklists directly, and can apply remediation changes when asked. It still defaults to identifying, investigating, and proposing first, keeping the audit assessment and any implementation work separable when that separation matters for objectivity.

Capabilities

  • Audit Planning: Develop audit plans with scope, criteria, schedule, and team assignments
  • Evidence Collection: Systematically gather and document audit evidence (documents, records, interviews)
  • Finding Classification: Classify findings as critical, major, minor, or observations with regulatory references
  • Root Cause Investigation: Conduct structured RCA using 5-Why, fishbone, and fault tree methods
  • CAPA Management: Generate corrective and preventive actions with effectiveness verification and trend analysis
  • Inspection Readiness: Prepare for FDA/EMA/MHRA inspections with mock protocols, document bundles, and response templates
  • Data Integrity Monitoring: Assess ALCOA+ posture and review monitoring programme effectiveness
  • Vendor Qualification: Classify vendor risk, conduct assessments, evaluate quality agreements and SLAs
  • Trend Analysis: Identify recurring findings and systemic issues across audit cycles
  • Artifact Authoring & Remediation: Write audit reports, findings logs, CAPA records, and readiness checklists directly, and apply remediation changes when requested rather than only proposing them

Read the full file on GitHub · 157 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 · 157 lines · 35 tokens per session scan A 776d1249b0ca

Subscribe to this mod's changes

auditor is an agent published in the GitHub repository pjt222/agent-almanac (31 stars, last pushed 5d ago), licensed MIT. It adds 35 tokens to every session and 1,914 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-08-30.

Related

Other agents, from other repositories