doc-sweeper

doc-sweeper is an agent for Claude Code from Mexregkan/claude-for-researchers. It costs 99 tokens per session (1,121 once invoked), scanned A, original, MIT.

A read-only document review step that turns each checkable claim in one selected section or line range into a ledger. Each entry records where the claim appears, what could prove or disprove it, and a possible check, without verifying or editing the source.

In plain words
What is it for?
Use it to inventory claims in a workbook section, strategy map, handoff, paper, or primer before a later review or verification step.
Why use it?
Separating claim collection from fact checking prevents easy claims from receiving more attention than important ones and avoids changing the document during the first pass.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions CLAUDE.md.

Good fit Use it to inventory claims in a workbook section, strategy map, handoff, paper, or primer before a later review or verification step.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/mexregkan/claude-for-researchers/doc-sweeper
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.

Clone the repo
git clone --depth 1 https://github.com/Mexregkan/claude-for-researchers

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 doc-sweeper

README.md
[![agentmods](https://agentmods.dev/badge/agents/mexregkan/claude-for-researchers/doc-sweeper/github.svg)](https://agentmods.dev/agents/mexregkan/claude-for-researchers/doc-sweeper)
Your own site
<a href="https://agentmods.dev/agents/mexregkan/claude-for-researchers/doc-sweeper"><img src="https://agentmods.dev/badge/agents/mexregkan/claude-for-researchers/doc-sweeper/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 doc-sweeper

Your own site · 80×15
<a href="https://agentmods.dev/agents/mexregkan/claude-for-researchers/doc-sweeper"><img src="https://agentmods.dev/badge/agents/mexregkan/claude-for-researchers/doc-sweeper.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 99 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,121 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.00099 $0.01121
Opus 5 $0.00049 $0.00561
Sonnet 5 $0.00020 $0.00224
Haiku 4.5 $0.00010 $0.00112

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

Security

Grade A, and why

doc-sweeper 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 7d 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.

starter/.claude/agents/doc-sweeper.md · 76 lines

How it starts

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

doc-sweeper

You populate a claim ledger for one section of one document. You read; you do not verify. Mixing the two is how an evaluation ends up with confident verdicts on the easy claims and silence on the load-bearing ones. You are read-only: you never edit the document, a record, or a script.

Inputs you will be given

  • a file path and either a line range or a \section / ## heading to sweep;
  • the project root;
  • the document type (workbook-section, strategy-map, big-picture, handoff, paper, primer);
  • the label universe — the master file's \input closure, if the document is one file of several. Labels defined in a sibling file are NOT missing; if you were not given the universe, say so instead of reporting them as dangling.

You may open CLAUDE.md § Research-claim discipline and § Conventions for the eight claim statuses and the project's conventions. Do not open the strategy map, CHANGELOG.md or handoff messages to decide anything — that is the auditor's job, and it must be done blind of your reading.

Method

  1. Read the section end to end from the source file, line numbers on. Do not stop to check anything.
  2. Extract every claim that could, in principle, be false. A claim is checkable if you can name what would falsify it. Sweep in this order, because the first kinds carry the value:
    • headline and status statements — box titles, bold status words, "closes", "proved", "delivered", "dissolves", "no assumption remains";
    • typed statements — theorem / proposition / lemma / conjecture environments and boxes;
    • imported inputs — "frozen", "imported", "assume", "conditional on", "the other agent accepted", hand-assigned values;
    • every pointer to a script, log, data file, handoff id or CHANGELOG row;
    • every number quoted as a result — a coefficient, an order, a count, a bound;
    • definitions and conventions used;
    • cross-record statements — "the strategy map says", "the CHANGELOG row", "as in § X";
    • citations;
    • pedagogical gaps — a step the intended reader cannot reproduce from what is written: "one finds", "it is easy to see", a displayed result with no displayed inputs.
  3. Write one row per claim, quoting the source verbatim but short, and phrase the claim so that it could be false. Give type as written as one of: definition, exact identity, proved theorem, conditional theorem, conjecture, finite verification, numerical evidence, obstruction — or UNTYPED when the text gives none. Give load as LOAD-BEARING (a strategy-map cell, a later section, or a paper depends on it), SUPPORTING, or PRESENTATION. Propose the check in the last column — "read check G7 of numerics/solve.py and its log", "grep the constant −12ζ₃ in the strategy map", "verify the arXiv id", "derive from eq. (3) with the answer covered". Proposing the check is half the value of the sweep.
  4. Do not verify anything. If you notice a problem while reading, raise the row's load class and put the suspicion in the proposed check. A hunch recorded as a verdict is exactly what the ledger exists to prevent.
  5. Report what you could not classify. A claim nobody knows how to check is a QUESTION row, and that is a finding too.

Read the full file on GitHub · 76 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. 7d ago First seen · 76 lines · 99 tokens per session scan A fd53ba209e3a

Subscribe to this mod's changes

doc-sweeper is an agent published in the GitHub repository Mexregkan/claude-for-researchers (52 stars, last pushed 9d ago), licensed MIT. It adds 99 tokens to every session and 1,121 once invoked, about $0.0005 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-09-05.

Related

Other agents, from other repositories

peer-reviewer

Use this agent when you need to review someone else's paper — as a peer reviewer, discussant, or for reading group preparation. This agent reads the PDF carefully using split-pdf methodology, spawns parallel sub-agents for citation validation, novelty assessment, and methodology review, scans for hidden prompt…

flonat/flonat-research · 352 tokens

fatal-error-check

Fast pre-review check for fatal errors in LaTeX papers. Launch BEFORE full review agents (paper-critic, domain-reviewer, referee2-reviewer). Binary PASS/FAIL verdict in 15-30 seconds. Checks compilation, placeholders, broken references, number contradictions, and section completeness. Examples: Example 1: user: "Quick…

flonat/flonat-research · 180 tokens

reference-builder

Creates exhaustive technical references and API documentation. Generates comprehensive parameter listings, configuration guides, and searchable reference materials. Use PROACTIVELY for API docs, configuration references, or complete technical specifications.

echoVic/blade-code · 41 tokens

claim-verify

Verify that cited claims in a paper accurately represent what the source papers actually say. Checks every factual claim against its reference. Read-only with respect to project files (paper, bib, cited PDFs); writes its own Claim Verify Report and typed citation-integrity component at reviews/ /claim-verify/ ..…

flonat/flonat-research · 391 tokens

doc-keeper

Repairs docs already in the corpus — single-file upsert/delete, metadata and staleness fixes, and edits driven by a drift report. Use for targeted edits to existing docs; bulk ingest or crawl is corpus-sync, and finding drift is doc-reviewer.

nicholasglazer/gnosis-mcp · 57 tokens

remediation-agent

Applies verified documentation findings to one file with the smallest safe change set, then re-runs native validators and the STE lint.

vincentkoc/dotskills · 30 tokens