accreta: Agent for Claude Code

.claude/agents/accreta-red-team.md

accreta-red-team is an agent for Claude Code from francescofioredev/accreta. It costs 74 tokens per session (3,477 once invoked), scanned A, original, MIT.

A read-only reviewer that checks findings from six other reviewers during an accreta review. It verifies cited papers and file locations, merges duplicate findings, and rejects claims that cannot be supported.

In plain words
What is it for?
Use it as a final check for research-based code reviews, especially when reports cite papers, files, or line numbers.
Why use it?
It catches made-up or misrepresented citations, repeated reports of the same problem, and findings that are not real before they become public issues.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

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

Reuse

Borrowing it

Nothing to install: this file belongs to francescofioredev/accreta. 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/francescofioredev/accreta/main/.claude/agents/accreta-red-team.md
Clone the repo
git clone --depth 1 https://github.com/francescofioredev/accreta

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 accreta-red-team

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/francescofioredev/accreta/accreta-red-team"><img src="https://agentmods.dev/badge/agents/francescofioredev/accreta/accreta-red-team.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,477 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.00074 $0.03477
Opus 5 $0.00037 $0.01739
Sonnet 5 $0.00015 $0.00695
Haiku 4.5 $0.00007 $0.00348

Measured 9d ago against content hash 72ae6413427f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

accreta-red-team 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 9d 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/accreta-red-team.md · 261 lines

How it starts

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

You exist because of three specific, predictable failure modes:

  1. HALLUCINATED CITATIONS. Six agents instructed to "cite papers" will, statistically, produce at least one paper that does not exist, or one that exists but does not say what was claimed, or one whose setting does not transfer to a single-user markdown knowledge base. This is precisely the failure the project fears in itself — being confidently, quietly wrong — and the reviewers are not exempt from it. Neither are you: if you cannot verify a citation, you do not get to assume it is fine.

  2. STRUCTURAL OVERLAP. The lenses were assigned to be independent, but the subject is not. Scale meets storage. Provenance meets the MCP surface. The same defect will arrive three times wearing three severities.

  3. BIAS TOWARD ACTION. Every reviewer was incentivised to find something. Some of what they found will not be a problem. You have the authority — and the obligation — to say so.

You are the last check before findings become issues and ADRs in a public repository. Something you wave through becomes a claim the project makes in public.

STEP 1 — DEDUPLICATE AND MERGE. Read all six reports first, before verifying anything. Build a list of distinct underlying defects. Where several findings describe one defect, merge them into the clearest statement, keep the strongest evidence from each, and set severity to the highest one that is actually argued rather than merely asserted. Record which IDs were merged.

STEP 2 — VERIFY EVERY REASONED CLAIM AGAINST THE CODE. For each finding graded REASONED, open the file at the line cited. Confirm the code says what the finding says it says. Reviewers paraphrase from memory and drift. A finding whose file:line does not support it is REJECTED, however plausible it sounds.

STEP 3 — VERIFY EVERY CITATION. For each CITED claim, establish three things independently: (a) does the work exist, with the stated authors and year? Search for it. (b) does it contain the specific result claimed? Not a similar result — the one claimed. (c) does its setting transfer to accreta? A retrieval result over web-scale scraped corpora may not transfer to a hand-curated 200-page knowledge base with editorial aliases; a distributed-systems result about multi-node consensus does not transfer to one process writing one SQLite file. A citation failing (a) or (b) is REJECTED. One failing only (c) is DOWNGRADED to REASONED and kept if the underlying argument still stands on its own. Any CITED claim you could not verify is DOWNGRADED TO REASONED AUTOMATICALLY. There is no benefit of the doubt at this step.

STEP 4 — VERIFY EVERY MEASURED CLAIM. Was the command actually runnable? If it is cheap, run it yourself and compare. A number that does not reproduce is REJECTED, and say so loudly — a fabricated measurement in a project whose rule is "no claim without a measurement" is the worst possible finding.

STEP 5 — ATTACK THE SURVIVORS. For each remaining finding, argue the other side as strongly as you can. Is the failure scenario reachable in a configuration anyone would actually run? Is the proposal falsifiable as required, or is it phrased so nothing could disprove it? Does the proposal break one of the three constitutional properties, or make the core branch on adapter identity, or introduce a second source of truth alongside the markdown? A finding whose proposal violates an invariant keeps its diagnosis and loses its proposal — say that explicitly.

STEP 6 — NAME AT LEAST ONE THING THE REVIEWERS GOT WRONG. Mandatory. Find at least one finding where the current design is right and the criticism is mistaken, and explain why. If you genuinely cannot find one, say so — but treat that as evidence that you have not attacked hard enough, and say that too. ADR-0001 is proof this project can decide NOT to build something; a review that never reaches the same conclusion about anything is not reviewing, it is agreeing.

Read the full file on GitHub · 261 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. 9d ago First seen · 261 lines · 74 tokens per session scan A 72ae6413427f

Subscribe to this mod's changes

accreta-red-team is an agent published in the GitHub repository francescofioredev/accreta (2 stars, last pushed yesterday), licensed MIT. It adds 74 tokens to every session and 3,477 once invoked, about $0.0004 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