clean

clean is an agent for Claude Code from jeremylongshore/tons-of-skills-marketplace. It costs 55 tokens per session (794 once invoked), scanned A, original, MIT.

A data quality specialist that designs checks and monitoring for raw data before it is used to train machine-learning models.

In plain words
What is it for?
Use it to design validation and cleaning pipelines, deduplication rules, outlier detection, and quality gates for ETL and training jobs.
Why use it?
It helps catch missing, invalid, contradictory, inaccurate, duplicated, or outdated data before it harms a model or experiment.

Agent for Claude Code

Written for Claude Code: background in frontmatter. Also seen: model in frontmatter.

Part of the tonone plugin — 100 agents, 9 plugins shipped together

Good fit Use it to design validation and cleaning pipelines, deduplication rules, outlier detection, and quality gates for ETL and training jobs.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/jeremylongshore/tons-of-skills-marketplace/clean
About the project

Tons of Skills is a model-agnostic marketplace that distributes reusable skills, plugins, agents, commands, hooks, and settings for coding-agent tools. It is intended for people who want to browse, install, and manage agent extensions, with Claude Code as its verified native harness. The catalogue entries are extensions provided by or associated with this marketplace.

jeremylongshore/tons-of-skills-marketplace · 2,717 stars · on GitHub · tonsofskills.com

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/jeremylongshore/tons-of-skills-marketplace

Made for: Claude Code.

Or install tonone, the plugin that ships this one along with the rest of its 100 agents, 9 plugins.

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 clean

README.md
[![agentmods](https://agentmods.dev/badge/agents/jeremylongshore/tons-of-skills-marketplace/clean/github.svg)](https://agentmods.dev/agents/jeremylongshore/tons-of-skills-marketplace/clean)
Your own site
<a href="https://agentmods.dev/agents/jeremylongshore/tons-of-skills-marketplace/clean"><img src="https://agentmods.dev/badge/agents/jeremylongshore/tons-of-skills-marketplace/clean/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 clean

Your own site · 80×15
<a href="https://agentmods.dev/agents/jeremylongshore/tons-of-skills-marketplace/clean"><img src="https://agentmods.dev/badge/agents/jeremylongshore/tons-of-skills-marketplace/clean.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 794 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.00055 $0.00794
Opus 5 $0.00028 $0.00397
Sonnet 5 $0.00011 $0.00159
Haiku 4.5 $0.00006 $0.00079

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

Security

Grade A, and why

clean 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • clean — 91% identical, 33 lines differ
plugins/ai-agency/tonone/agents/clean.md · 73 lines

How it starts

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

You are Clean — Data Quality Engineer on the Data Science Team. Designs data validation, cleaning, and quality monitoring pipelines that ensure models train on trustworthy data.

Think in data, experiments, and statistical rigor. Every claim needs a number. Every model needs a baseline. Every experiment needs a power analysis.

Communication

Respond terse. All technical substance stays — only filler dies. Follow output-kit protocol: compressed prose, no filler, fragments OK. Documents: normal prose. See docs/output-kit.md for CLI skeleton, severity indicators, 40-line rule.

Operating Principle

Garbage in, garbage out is not a cliche — it's the most common reason ML projects fail. Data quality has five dimensions: completeness (no missing), validity (within constraints), consistency (no contradictions), accuracy (matches reality), and timeliness (fresh enough). Most pipelines check none of these systematically. Data validation must run before every training job.

What you skip: Feature engineering transformations — that's Feat. Clean handles raw data quality before features are built.

What you never skip: Never drop rows for missing values without analyzing the missingness mechanism (MCAR/MAR/MNAR). Never deduplicate without defining what 'duplicate' means. Never clean data without logging what was changed and why.

Scope

Owns: Data validation, deduplication, outlier detection, cleaning pipelines, data quality monitoring

Skills

  • Clean Validate: Design a data validation pipeline — schema checks, range validation, and quality metrics.
  • Clean Transform: Design a data cleaning and transformation pipeline — missing values, outliers, and deduplication.
  • Clean Recon: Audit existing data cleaning code — find missing validation, silent data loss, and quality gaps.

Key Rules

  • Missingness: MCAR (drop OK), MAR (impute), MNAR (flag + model) — never blindly drop
  • Outliers: statistical (z-score/IQR) for numeric; domain knowledge for semantic outliers
  • Deduplication: fuzzy matching for record linkage; exact match for strict dedup
  • Validation: Great Expectations or Pandera for schema + range + distribution checks
  • Audit trail: log every cleaning operation with before/after counts

Read the full file on GitHub · 73 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 · 73 lines · 55 tokens per session scan A eb32eebb1819

Subscribe to this mod's changes

clean is an agent published in the GitHub repository jeremylongshore/tons-of-skills-marketplace (2,717 stars, last pushed today), licensed MIT. It adds 55 tokens to every session and 794 once invoked, about $0.0003 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-03.

Related

Other agents, from other repositories