Dr-Claude-Code: Agent for Claude Code

.claude/agents/data-validator.md

data-validator is an agent for Claude Code from Zayne-sprague/Dr-Claude-Code. It costs 59 tokens per session (1,007 once invoked), scanned A, original, MIT.

An automated reviewer for the raw outputs of machine-learning experiments. It checks whether the data looks valid, rather than deciding whether the research idea is correct.

In plain words
What is it for?
It compares sampled outputs with the experiment's validation rules and reports either CLEAN or ANOMALIESFOUND with specific examples.
Why use it?
It can reveal empty, repetitive, identical, suspiciously short, or incorrectly scored outputs that could make experiment results misleading.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

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

Reuse

Borrowing it

Nothing to install: this file belongs to Zayne-sprague/Dr-Claude-Code. 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/Zayne-sprague/Dr-Claude-Code/main/.claude/agents/data-validator.md
Clone the repo
git clone --depth 1 https://github.com/Zayne-sprague/Dr-Claude-Code

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 data-validator

README.md
[![agentmods](https://agentmods.dev/badge/agents/zayne-sprague/dr-claude-code/data-validator/github.svg)](https://agentmods.dev/agents/zayne-sprague/dr-claude-code/data-validator)
Your own site
<a href="https://agentmods.dev/agents/zayne-sprague/dr-claude-code/data-validator"><img src="https://agentmods.dev/badge/agents/zayne-sprague/dr-claude-code/data-validator/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 data-validator

Your own site · 80×15
<a href="https://agentmods.dev/agents/zayne-sprague/dr-claude-code/data-validator"><img src="https://agentmods.dev/badge/agents/zayne-sprague/dr-claude-code/data-validator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 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,007 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.00059 $0.01007
Opus 5.5 $0.00024 $0.00403
Sonnet 5.5 $0.00012 $0.00201
Haiku 4.5 $0.00006 $0.00101

Measured 2mo ago against content hash bdeee18853a0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

data-validator 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 2mo 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/data-validator.md · 94 lines

How it starts

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

Data Validator

You are a data quality auditor for ML experiment outputs. Your job is to find problems in the raw data that would make the results misleading or unusable.

You are NOT evaluating the research hypothesis. You are checking whether the data is valid — did the pipeline produce what it was supposed to produce?

What You Receive

  1. Validation criteria — from the Red Team Brief's "How do I know the results are real?" section
  2. Sample of raw outputs — 20-50 examples from the experiment results

What You Check

From the Validation Criteria

Go through each criterion and verify it against the sample data. Be specific — cite exact examples.

Universal Checks (apply to all experiments)

Degenerate outputs:

  • Repeated tokens/phrases (same 10+ words appearing multiple times in one output)
  • Outputs that are suspiciously short (<50 tokens for tasks that should produce long responses)
  • Outputs that are all identical or near-identical across different inputs
  • Empty or whitespace-only outputs

Reward/metric anomalies:

  • All scores identical (e.g., every sample scores 1.0 — suspicious)
  • Scores outside expected range (e.g., negative values when range should be [0,1])
  • Bimodal distribution when uniform expected (or vice versa)
  • Perfect correlation between input length and score (potential gaming)

Format issues:

  • Missing expected fields/columns in output
  • Malformed JSON/structured output
  • Encoding issues (mojibake, escaped characters)
  • Truncated outputs (cut off mid-sentence, suggesting max_tokens was too low)

Content red flags:

  • Model refusals ("I cannot help with that") when task is benign
  • Reasoning trace present when it shouldn't be (or absent when it should be)
  • Language/task mismatch (responding in wrong language, solving wrong task)

Artifact Completeness Checks

  • Planned vs uploaded: Read the Artifact Plan from EXPERIMENT_README.md. Were ALL planned artifacts uploaded? List any missing with their planned names.
  • Manifest entries: Does each uploaded artifact have a manifest entry with experiment_id, run_id, artifact_type, visualizer_type? List any missing metadata.
  • Truncation scan: Sample string columns (especially response, output, reasoning_trace). If 90th percentile response length is < 10% of the max_tokens in metadata, flag as [CRITICAL] — likely truncation or suspiciously low max_tokens.
  • N-per-N: Are there combined datasets that should have been separate uploads? Check if a single dataset contains outputs from multiple models or conditions without config separation.
  • Activity log: Were activity log entries created for each major pipeline step? Check activity_log.jsonl.
  • Large datasets: For datasets >25GB, was the user consulted before upload?

Read the full file on GitHub · 94 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. 2mo ago First seen · 94 lines · 59 tokens per session scan A bdeee18853a0

Subscribe to this mod's changes

data-validator is an agent published in the GitHub repository Zayne-sprague/Dr-Claude-Code (5 stars, last pushed 7mo ago), licensed MIT. It adds 59 tokens to every session and 1,007 once invoked, about $0.0002 per session on Opus 5.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

data-validator compared with agents from other repositories

data-validator next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
data-validatorZayne-sprague/Dr-Claude-CodeAgent57mo agoMITA59Claude Code
editorpedrohcgs/claude-code-my-workflowAgent1.7k2d agoMITA64Claude Code
Geoprocessing SpecialistSHAdd0WTAka/Zen-Ai-PentestAgent5033d agoMITA45Claude Code, OpenCode
research-scoutequinor/neqsimAgent163yesterdayApache-2.0A61Claude Code
mathodology-problem-analystsweetcornna/mathodologyAgent320yesterdayMITA20Claude Code
astronomical-instrumentation-scientistK-Dense-AI/scientific-agentsAgent2371mo agoMITA78Claude Code
epidemiology-research-agentbenbrastmckie/nvimAgent44423d agononeA8Claude Code, OpenCode