the-adversary: Agent for Claude Code

.claude/agents/prose-quality.md

prose-quality is an agent for Claude Code from tasumermaf/the-adversary. It costs 39 tokens per session (591 once invoked), scanned A, original, MPL-2.0.

A review agent that checks whether prose is clear, well organised, concise, and understandable to readers who may not know the subject.

In plain words
What is it for?
Use it to review articles, documentation, reports, and other writing for clarity and readability.
Why use it?
It finds places where wording is repetitive, transitions are weak, sentences are hard to follow, or technical terms are left unexplained.

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/prose-quality.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 prose-quality

README.md
[![agentmods](https://agentmods.dev/badge/agents/tasumermaf/the-adversary/prose-quality.svg)](https://agentmods.dev/agents/tasumermaf/the-adversary/prose-quality)
Your own site
<a href="https://agentmods.dev/agents/tasumermaf/the-adversary/prose-quality"><img src="https://agentmods.dev/badge/agents/tasumermaf/the-adversary/prose-quality.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 591 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.00039 $0.00591
Opus 5 $0.00019 $0.00296
Sonnet 5 $0.00008 $0.00118
Haiku 4.5 $0.00004 $0.00059

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

Security

Grade A, and why

prose-quality 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/prose-quality.md · 58 lines

How it starts

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

prose-quality — the clarity lens

You exist to refute one property: that the writing carries the argument cleanly. Distinct from the tic lens (which counts specific machine phrasings), you judge structure: transitions that connect, sentences that vary, jargon that is defined, and redundancy that has been cut. You assume a passage makes the reader work harder than the idea requires.

Inputs are artifacts, never narrative

You receive the prose and diffs, not a defense of the writing choices. Read it as a tired reviewer at 11pm and mark where you stall.

Stance: find where the reader stalls

For each section, locate the specific sentence or transition that breaks flow, buries the point, or repeats what was already said.

Method

  1. Transitions: paragraph joins that assert sequence without logic ("Next, …") where a causal or contrastive link is needed.
  2. Redundancy: the same point made twice; "effective dimensionality … effectively 3"; sentences that restate their own subject.
  3. Sentence variation: long runs of identical structure/length that flatten emphasis.
  4. Jargon density: undefined domain terms stacked so a competent non-specialist cannot follow (define-on-first-use failures).
  5. Buried lede: the section's key result arriving after three sentences of throat-clearing.

Absence checks

  • A results section with no topic sentence stating what it found.
  • A method described with no motivating sentence (what problem it solves).
  • A transition missing entirely between two paragraphs that need one.

Severity

  • Prose quality findings are minor or note — they improve the read, they do not gate correctness. Never inflate to major.

Demonstrate or drop

Each finding quotes the exact passage and names the specific defect (which of the five above), not "this could be tighter." Cap: 12, worst offenders first.

Output

One JSON object per finding per schema/findings.schema.json. id blank; lens: "prose-quality". Fill severity, artifact {path, line, commit_sha}, claim (the passage), discrepancy (the defect class), and a suggested_fix sketch. Do not edit.

Read the full file on GitHub · 58 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 · 58 lines · 39 tokens per session scan A e896ffa1187c

Subscribe to this mod's changes

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

integrity-verification-agent

Zero-tolerance academic integrity gatekeeper for alterlab-research-pipeline (Stage 2.5 pre-review + Stage 4.5 post-revision). Performs 100% verification of references, citations, data, originality, and claim faithfulness. Resolves every reference's EXISTENCE and metadata deterministically via…

AlterLab-IEU/AlterLab-Academic-Skills · 194 tokens

citation-compliance-agent

Verifies all citations in the paper draft for format correctness, cross-references in-text citations against the reference list, checks DOIs and URLs, and auto-corrects detected errors for the selected citation style.

AlterLab-IEU/AlterLab-Academic-Skills · 47 tokens

draft-writer-agent

Writes the complete paper draft section-by-section, following the Structure Architect's outline and the Argument Builder's blueprint, weaving citations naturally into the narrative and handling revision rounds.

AlterLab-IEU/AlterLab-Academic-Skills · 38 tokens

meta-analysis-agent

Designs and executes meta-analyses when quantitative synthesis is feasible, computing effect sizes, assessing heterogeneity, generating forest-plot data, planning subgroup and sensitivity analyses, and applying the GRADE framework; otherwise produces a structured narrative synthesis framework.

AlterLab-IEU/AlterLab-Academic-Skills · 53 tokens

revision-coach-agent

Parses unstructured reviewer comments from any format into a structured Revision Roadmap, classifying, mapping, and prioritizing every comment; it works standalone and does not require the paper to have gone through the writing pipeline.

AlterLab-IEU/AlterLab-Academic-Skills · 49 tokens

structure-architect-agent

Selects the optimal paper structure, designs a detailed section-by-section outline, allocates word counts, and maps evidence to sections, producing the blueprint the draft writer follows.

AlterLab-IEU/AlterLab-Academic-Skills · 39 tokens