data-cleanup-and-analysis

data-cleanup-and-analysis is a skill for Claude Code, Codex from androoAGI/starnet. It costs 45 tokens per session (1,455 once invoked), scanned A, original, MIT.

A spreadsheet and CSV cleanup process turns messy exported data into a clean table, a plain-English report, and a simple chart. It records why each value or row was changed, kept, or rejected.

In plain words
What is it for?
Use it to clean spreadsheet or CSV exports, document data-quality decisions, summarize findings, and create one basic chart.
Why use it?
It makes analysis easier to trust by preserving the original file and linking reported numbers back to the source rows. It also prevents unexplained data loss during cleanup.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to clean spreadsheet or CSV exports, document data-quality decisions, summarize findings, and create one basic chart.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/androoagi/starnet/data-cleanup-and-analysis
About the project

StarNet is a local-first desktop harness for creating AI agents and arranging them in a pixel-art space station whose layout represents their capabilities, permissions, and workflow. It lets people run real model calls and tools through multiple bounded agents, using their own provider keys or accounts and optionally messaging the station through chat services. The catalogue entries are skills that extend or support work performed by StarNet agents.

androoAGI/starnet · 1,468 stars · on GitHub

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.

Any agent
npx skills add androoAGI/starnet --skill data-cleanup-and-analysis
Clone the repo
git clone --depth 1 https://github.com/androoAGI/starnet

Made for: Claude Code, Codex.

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-cleanup-and-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/androoagi/starnet/data-cleanup-and-analysis/github.svg)](https://agentmods.dev/skills/androoagi/starnet/data-cleanup-and-analysis)
Your own site
<a href="https://agentmods.dev/skills/androoagi/starnet/data-cleanup-and-analysis"><img src="https://agentmods.dev/badge/skills/androoagi/starnet/data-cleanup-and-analysis/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-cleanup-and-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/androoagi/starnet/data-cleanup-and-analysis"><img src="https://agentmods.dev/badge/skills/androoagi/starnet/data-cleanup-and-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,455 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.00045 $0.01455
Opus 5.5 $0.00018 $0.00582
Sonnet 5.5 $0.00009 $0.00291
Haiku 4.5 $0.00005 $0.00145

Measured 12d ago against content hash 4acefdd395f3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

data-cleanup-and-analysis 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 12d 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.

skills-catalog/skills/data-cleanup-and-analysis/SKILL.md · 42 lines

How it starts

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

A messy export becomes a clean table, a written record of every cleaning decision, a short report and one chart. The bar: every number in the report traces back to rows in the raw file, and every raw row is accounted for — in the clean table, or in the rejects file with its reason.

Know your reach. code.run is JavaScript in a small sandbox: no packages, no network, and it cannot write files. It reads with await tool("fs.read", { path }) (large files in pages, with offset and limit), stops after 30 seconds or 50 reads, and returns about 32,000 bytes at most. So compute inside it, return compact results, and save files yourself with fs.write and fs.append. A saved file tops out near 1 MB: split a bigger clean table into numbered parts and say so in the report.

Method

  1. Find the file and leave it alone. Locate it with fs.list and read the first page with fs.read. The raw file is never edited; everything you make goes in a new folder beside it, such as cleaned/<file-name>/. For an .xlsx, fs.read returns the workbook as text: if that text is not a usable table (several sheets run together, merged header cells, garbled values), say so and ask the Commander for a CSV export of the one sheet. Do not assume Python exists; only if the WORKBENCH is placed, check with shell.exec (python --version) before relying on it.
  2. Parse it properly. Write a character-by-character CSV reader in code.run: quoted fields may hold commas, line breaks and doubled quotes (""). Detect the delimiter (comma, semicolon, tab) from the header line, drop a leading byte-order mark, accept both line endings. Never split lines on commas. Make the first run return only the shape of what fs.read gave you and the first five parsed rows, then build on that.
  3. Inspect before touching anything. One pass that returns a profile, not data: row count, column names, and per column the likely type, blanks, distinct values, smallest and largest, and five samples. Also count exact duplicate rows, rows with the wrong number of fields, and odd values: two date formats in one column, numbers with currency signs or thousands separators, text in a number column, stray spaces, the many spellings of "missing" (N/A, -, null), and impossible values (negative quantities, dates in the future).
  4. Write the decisions down first. Save decisions.md: one numbered line per problem with how many rows it touches, the rule you will apply, and why. Where the data cannot settle it (is 03/04 March or April, is a blank zero or unknown, which duplicate wins), ask the Commander. If you cannot ask, take the cautious option — leave the value as it is or reject the row — and label it an assumption.
  5. Clean by those rules only. Each raw row ends up in exactly one place: clean.csv, or rejects.csv with its original line number, the reason, and the row unchanged. Trim spaces, write dates as YYYY-MM-DD, numbers as plain decimals, and every "missing" marker as an empty cell. Return the output in chunks under the size limit; save the first with fs.write and the rest with fs.append. Quote any output field that holds a comma, quote or line break.
  6. Reconcile against the raw file. Raw data rows = clean rows + rejected rows. For each key number column, the raw total = clean total + rejected total, or the gap is explained line by line. Do this with a fresh code.run that reads the saved files, not from what you remember writing.
  7. Compute only what the data supports. Counts, sums, medians, ranges, group totals, change over time. Give the number of rows behind every figure. Show the median beside an average when values are lopsided. No average over a handful of rows, no trend from two points, no percentage without its base, and no causes: two columns moving together is all you can say.
  8. Draw one chart for one question. Save a self-contained chart.html with inline SVG (or a plain .svg): no outside scripts, fonts or links. Bars for categories, a line for time, bars starting at zero, units on the axes, and a title that states the finding. Take the values from the saved clean.csv.
  9. Report and hand over. Save report.md: what the file was, what was cleaned (each decision with its count), three to six findings in plain English with their numbers, what the data cannot tell, and open questions. Re-read each saved file, then name the report with deliverable_note.

Read the full file on GitHub · 42 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 42 lines · 45 tokens per session scan A 4acefdd395f3

Subscribe to this mod's changes

data-cleanup-and-analysis is a skill published in the GitHub repository androoAGI/starnet (1,468 stars, last pushed 3d ago), licensed MIT. It adds 45 tokens to every session and 1,455 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-10-04.