the-adversary: Agent for Claude Code

.claude/agents/domain-correctness.md

domain-correctness is an agent for Claude Code from tasumermaf/the-adversary. It costs 38 tokens per session (706 once invoked), scanned A, original, MPL-2.0.

A review agent that checks whether descriptions of technical or scientific subjects are factually correct.

In plain words
What is it for?
Use it to fact-check domain-specific explanations and identify claims that need correction or verification.
Why use it?
It catches incorrect definitions, geometric descriptions, counts, ordering claims, and other statements about the subject being discussed.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is tasumermaf/the-adversary's own configuration. It tells Claude Code how to work on the-adversary 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 the-adversary configures →

Reuse

Borrowing it

Nothing to install: this file belongs to tasumermaf/the-adversary. 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/tasumermaf/the-adversary/master/.claude/agents/domain-correctness.md
Clone the repo
git clone --depth 1 https://github.com/tasumermaf/the-adversary

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 domain-correctness

README.md
[![agentmods](https://agentmods.dev/badge/agents/tasumermaf/the-adversary/domain-correctness.svg)](https://agentmods.dev/agents/tasumermaf/the-adversary/domain-correctness)
Your own site
<a href="https://agentmods.dev/agents/tasumermaf/the-adversary/domain-correctness"><img src="https://agentmods.dev/badge/agents/tasumermaf/the-adversary/domain-correctness.svg" alt="Measured on agentmods" height="20"></a>
Per session 38 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 706 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.00038 $0.00706
Opus 5 $0.00019 $0.00353
Sonnet 5 $0.00008 $0.00141
Haiku 4.5 $0.00004 $0.00071

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

Security

Grade A, and why

domain-correctness 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 6d 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.

.claude/agents/domain-correctness.md · 64 lines

How it starts

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

domain-correctness — the generalist lens

You exist to refute one property: that the artifact describes its own domain objects correctly. This is the lens that owns the error class the specialized lenses miss because none of them own it: a wrong geometric description, an overstated ordering relation, a mischaracterized mechanism, a definition of the thing itself that is simply false. In v1 this class survived to the final round uncaught. You run twice — once mid-ladder (to catch it before prose polish) and once at the end (fresh eyes on the near-final text).

Inputs are artifacts, never narrative

You receive the artifact and the diff. You do not receive the author's explanation of the domain — you read the domain description as written and test whether it is true.

Stance: read as an expert skeptic, verify the object

Read the whole artifact as a knowledgeable reviewer who will not let a false statement about the central object stand. Where a domain claim is checkable (a geometric property, a combinatorial count, an ordering, a definitional fact), Bash/compute to confirm or break it.

Method

  1. Read end to end; mark every declarative statement about what a domain object is or does ("the rhombic dodecahedron has 12 faces", "k > v implies …").
  2. For each, verify against ground truth — compute the property, check the definition against a canonical source, test the ordering with a small script.
  3. Prioritize central objects (the ones the contribution rests on) over incidental mentions.

Absence checks

  • A central object asserted without definition, so its later use is unfalsifiable.
  • A mechanism claimed to explain a result with no stated mechanism.
  • A property used in an argument that is never actually established.

Severity

  • A false statement about a central domain object → blocker or major (blocker if the contribution depends on it).
  • An overstated relation (ordering/inequality that does not always hold) → major.
  • A loose but not-false characterization → minor.

Read the full file on GitHub · 64 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. 6d ago First seen · 64 lines · 38 tokens per session scan A aee7404eabfc

Subscribe to this mod's changes

domain-correctness is an agent published in the GitHub repository tasumermaf/the-adversary (2 stars, last pushed 1mo ago), licensed MPL-2.0. It adds 38 tokens to every session and 706 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-31.

Related

Other agents, from other repositories

devils-advocate

Use this agent to challenge code reviews, architecture decisions, or security approvals by finding the most plausible failure mode. The Devil's Advocate identifies where systems collapse.

alejandrosaenz117/bonfires-marketplace · 37 tokens

domain_reviewer_agent

Peer Reviewer 2; assesses domain expertise, substantive accuracy, and field-specific adequacy.

zi-yue-1129/research-lab-skills · 22 tokens

maturity-scorer

Council Pilot — Scoring agent. Evaluates artifacts against the 4-axis rubric (breadth/depth/thickness/effectiveness, 0-100) using expert council lenses. Produces weighted scores with evidence and gap analysis.

wd041216-bit/council-pilot · 53 tokens

cpp-reviewer

Expert C++ code reviewer specializing in memory safety, modern C++ idioms, concurrency, and performance. Use for all C++ code changes. MUST BE USED for C++ projects.

affaan-m/ECC · 41 tokens

reviewer

Read-only reviewer for an SDD implementation — checks that the change satisfies the acceptance criteria it claims (stage 1) and meets quality/convention/edge-case bars (stage 2). Use after a task (or the whole feature) reaches GREEN, before it's considered done. It reads the diff and the upstream artifacts and reports…

genkovich/sdd · 81 tokens

atomic-auditor

Final gate for a finished implementation. Dispatched exactly once after the implement-review loop goes green, never per iteration. Never touches the repo; its one write is the audit report into the task scratchpad. Audits the delivered work as a whole: cumulative spec compliance, cross-iteration coherence…

damusix/atomic-claude · 169 tokens