Inspectra: Agent for Claude Code

.github/agents/audit-fusion.agent.md

audit-fusion is an agent for Claude Code from Fascinax/Inspectra. It costs 51 tokens per session (5,375 once invoked), scanned A, original, MIT.

An audit agent that combines several code-review approaches and specialized domain checks, then removes duplicate findings and connects related issues. It is designed to find problems across different parts of a software system.

In plain words
What is it for?
Use it for broad architecture audits that need security and quality findings gathered from shared scans, hotspot exploration, parallel domain reviews, deduplication, and correlation.
Why use it?
It reduces the chance that separate audit methods report the same issue repeatedly or miss relationships between findings.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

This is Fascinax/Inspectra's own configuration. It tells Claude Code how to work on Inspectra itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Inspectra configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Fascinax/Inspectra. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Fascinax/Inspectra/main/.github/agents/audit-fusion.agent.md
Clone the repo
git clone --depth 1 https://github.com/Fascinax/Inspectra

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 audit-fusion

README.md
[![agentmods](https://agentmods.dev/badge/agents/fascinax/inspectra/audit-fusion/github.svg)](https://agentmods.dev/agents/fascinax/inspectra/audit-fusion)
Your own site
<a href="https://agentmods.dev/agents/fascinax/inspectra/audit-fusion"><img src="https://agentmods.dev/badge/agents/fascinax/inspectra/audit-fusion/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 audit-fusion

Your own site · 80×15
<a href="https://agentmods.dev/agents/fascinax/inspectra/audit-fusion"><img src="https://agentmods.dev/badge/agents/fascinax/inspectra/audit-fusion.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,375 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.00051 $0.05375
Opus 5 $0.00026 $0.02687
Sonnet 5 $0.00010 $0.01075
Haiku 4.5 $0.00005 $0.00537

Measured 8d ago against content hash ba31beac9247, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

audit-fusion 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 8d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.github/agents/audit-fusion.agent.md · 338 lines

How it starts

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

You are Inspectra Fusion, a maximum-recall audit agent that combines both audit architectures — Tier B (single-prompt synthesis + hotspot explorer) and Map-Reduce (12 parallel domain agents) — into a single run, then deduplicates and correlates cross-architecture findings.

Architecture --- Fusion Pipeline

Fusion Agent (you):
  Step 1 -> Run ALL deterministic MCP tools centrally (shared, run ONCE)
  Step 2 -> Hotspot Detection (shared)
  Step 3 -> PASS A: Tier B Synthesis (you do this yourself)
             Single-prompt domain analysis + conditional hotspot explorer
             Produces: Tier B findings (tool + explorer LLM findings)
  Step 4 -> PASS B: Map-Reduce Dispatch (12 domain agents in parallel)
             Each agent receives domain findings + hotspot context
             Each agent returns a domain report with additional LLM findings
  Step 5 -> Cross-Architecture Deduplication
             Merge Tier B + Map-Reduce findings
             Deduplicate using policies/deduplication-rules.yml
             Keep highest confidence on conflict
  Step 6 -> Cross-Domain Correlation + Root Cause Inference
  Step 7 -> Final Merge + Scored Report

Why Fusion: Tier B excels at holistic cross-domain synthesis from a single viewpoint. Map-Reduce excels at deep, specialized per-domain analysis. Combining both maximizes finding recall while deduplication prevents noise.

MCP Prerequisite --- Verify Before Starting

Before doing any work, verify that the required MCP tools are available by checking that ALL of the following tools are callable:

  • inspectra_merge_domain_reports
  • inspectra_score_findings
  • inspectra_scan_secrets (representative domain tool)

If MCP tools are unavailable --- attempt self-recovery

Do NOT immediately abort. Instead, follow these steps in order:

Step 1 --- Locate the Inspectra installation directory.

Find the Inspectra root by reading the MCP server path registered in VS Code user settings. Run:

node -e "
const fs = require('fs'), path = require('path'), os = require('os');
const appData = process.env.APPDATA || (process.platform === 'darwin'
  ? path.join(os.homedir(), 'Library', 'Application Support')
  : path.join(os.homedir(), '.config'));
const cfg = path.join(appData, 'Code', 'User', 'settings.json');
const s = JSON.parse(fs.readFileSync(cfg, 'utf8'));
const p = s?.mcp?.servers?.inspectra?.args?.[0];
console.log(p ? path.dirname(path.dirname(p)) : 'NOT_FOUND');
"

Store the result as <INSPECTRA_ROOT>. If NOT_FOUND --- skip to Step 3.

Read the full file on GitHub · 338 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. 8d ago First seen · 338 lines · 51 tokens per session scan A ba31beac9247

Subscribe to this mod's changes

audit-fusion is an agent published in the GitHub repository Fascinax/Inspectra (1 stars, last pushed 5mo ago), licensed MIT. It adds 51 tokens to every session and 5,375 once invoked, about $0.0003 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-31.

Related

Other agents, from other repositories

ring:backend-go

Senior Backend Engineer specialized in Go for high-demand financial systems. Handles API development, microservices, databases, message queues, and business logic implementation.

LerianStudio/ring · 34 tokens

ring:backend-ts

Senior Backend Engineer specialized in TypeScript/Node.js for scalable systems. Handles API development with Express/Fastify/NestJS, databases with Prisma/Drizzle, and type-safe architecture.

LerianStudio/ring · 43 tokens

ring:commons-reviewer

Reviews correct usage of Lerian lib-commons non-observability packages (lifecycle, tenancy, http, idempotency, security, database, messaging, outbox-repo side), identifies reinvented-wheel opportunities, and enforces version consistency. Runs in parallel with other reviewers.

LerianStudio/ring · 63 tokens

ring:nil-reviewer

Nil/Null Safety Review: traces nil/null pointer risks from git diff changes through the codebase. Identifies missing guards, unsafe dereferences, panic paths, and API response inconsistency in Go and TypeScript. Runs in parallel with other reviewers at Gate 8.

LerianStudio/ring · 59 tokens

ring:perf-reviewer

Performance Reviewer covering code-level hotspots (allocations, goroutine leaks, N+1 queries, event loop blocking) and runtime/infra misconfigurations (GOMAXPROCS, GC tuning, CFS throttling, connection pool sizing). Runs in parallel with other reviewers.

LerianStudio/ring · 62 tokens

ring:tenancy-reviewer

Reviews correct usage of lib-commons/multitenancy patterns, tenantId propagation, database isolation, and tenant-scoped resources. Runs in parallel with other reviewers.

LerianStudio/ring · 40 tokens