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.
npx agentmods add skills/furkangonel/cowrangler/data-analysisnpx skills add furkangonel/cowrangler --skill data-analysisgit clone --depth 1 https://github.com/furkangonel/cowranglerWrote 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.
[](https://agentmods.dev/skills/furkangonel/cowrangler/data-analysis)<a href="https://agentmods.dev/skills/furkangonel/cowrangler/data-analysis"><img src="https://agentmods.dev/badge/skills/furkangonel/cowrangler/data-analysis.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00015 | $0.02780 |
| Opus 5 | $0.00008 | $0.01390 |
| Sonnet 5 | $0.00003 | $0.00556 |
| Haiku 4.5 | $0.00002 | $0.00278 |
Grade A, and why
data-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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 338 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Data Analysis SOP
When to Use
- User wants to analyze a dataset and find patterns or insights
- User asks for EDA (Exploratory Data Analysis) on a file
- User wants summary statistics, distributions, or correlations
- User needs to clean dirty data before analysis
Part 1 — The Analysis Workflow
1. Load & Inspect → understand what you have
2. Clean → handle nulls, types, duplicates, outliers
3. Explore (EDA) → distributions, correlations, group comparisons
4. Hypothesize → state specific questions to answer
5. Validate → test hypotheses with statistics or aggregations
6. Communicate → clear charts + written findings
Part 2 — Load & Inspect
import pandas as pd
import numpy as np
# ── Load ──────────────────────────────────────────────────────────
df = pd.read_csv("data.csv", parse_dates=["date_col"])
# For Excel: pd.read_excel("data.xlsx", sheet_name="Sheet1")
# For JSON: pd.read_json("data.json", lines=True) # JSONL
# For large files: pd.read_csv("data.csv", chunksize=100_000)
# ── Quick overview ────────────────────────────────────────────────
print(f"Shape: {df.shape[0]:,} rows × {df.shape[1]} columns")
print(f"Memory: {df.memory_usage(deep=True).sum() / 1e6:.1f} MB")
print()
print(df.dtypes)
print()
df.head(3)
Inspection Checklist
# 1. Types — are columns the right dtype?
df.dtypes
# 2. Nulls
null_report = pd.DataFrame({
"null_count": df.isnull().sum(),
"null_pct": (df.isnull().mean() * 100).round(1)
}).query("null_count > 0").sort_values("null_pct", ascending=False)
print(null_report)
# 3. Duplicates
dup_count = df.duplicated().sum()
print(f"Full duplicates: {dup_count} ({dup_count/len(df)*100:.1f}%)")
# 4. Cardinality — how many unique values per column?
df.nunique().sort_values(ascending=False)
# 5. Value ranges for numerics
df.describe().T.round(2)
Part 3 — Cleaning
# ── Fix dtypes ────────────────────────────────────────────────────
df["date"] = pd.to_datetime(df["date"], errors="coerce")
df["amount"] = pd.to_numeric(df["amount"], errors="coerce")
df["category"] = df["category"].astype("category")
# ── Standardize strings ───────────────────────────────────────────
df["name"] = df["name"].str.strip().str.lower()
# ── Remove exact duplicates ───────────────────────────────────────
df = df.drop_duplicates()
# ── Handle nulls (choose strategy per column) ─────────────────────
# Drop rows where critical column is null
df = df.dropna(subset=["user_id", "event_type"])
# Fill with median (numeric)
df["revenue"] = df["revenue"].fillna(df["revenue"].median())
# Fill with mode (categorical)
df["country"] = df["country"].fillna(df["country"].mode()[0])
# Fill forward (time series)
df = df.sort_values("date")
df["price"] = df["price"].ffill()
# ── Handle outliers ───────────────────────────────────────────────
# IQR method — cap rather than drop
Q1 = df["amount"].quantile(0.25)
Q3 = df["amount"].quantile(0.75)
IQR = Q3 - Q1
lower, upper = Q1 - 1.5 * IQR, Q3 + 1.5 * IQR
df["amount_capped"] = df["amount"].clip(lower, upper)
# Z-score method — flag extreme outliers
from scipy import stats
df["amount_zscore"] = np.abs(stats.zscore(df["amount"].dropna()))
outliers = df[df["amount_zscore"] > 3]
print(f"Outliers (|z|>3): {len(outliers)}")
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.
- 4d ago First seen · 338 lines · 15 tokens per session scan A f3d92e855d62
data-analysis is a skill published in the GitHub repository furkangonel/cowrangler (2 stars, last pushed 3d ago), licensed MIT. It adds 15 tokens to every session and 2,780 once invoked, about $0.0001 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.
Other skills, from other repositories
geopandas
Use when performing vector spatial data analysis in Python — reading/writing shapefiles, spatial joins, overlay operations, choropleth maps. GeoPandas: extends pandas DataFrames with geometry columns for Pythonic spatial analysis.
code_interpreter
在隔离沙盒中执行 Python 代码,用于数据分析、数值计算、格式转换、图表数据生成等需要真正运行代码才能得出结果的任务。.
marimo-pair
Work inside the user's live marimo notebook from the code editor: run Python in the same kernel the user does, inspect live notebook state, and commit durable notebook changes through code mode. Use whenever you create, analyze, or improve the user's marimo notebook.
neo4j-knowledge-graph
Use when designing, importing, querying, or modernizing Neo4j knowledge graphs from CSV, Excel, pandas, Cypher, py2neo, the official neo4j Python driver, vector indexes, or GraphRAG workflows.
geopipe-agent
Use when building AI-driven GIS data pipelines with YAML-defined steps — format conversion, spatial validation, QC reporting, PostGIS loading, WMS publishing. GeoPipe Agent: YAML-driven GIS ETL pipeline agent with quality control.
python-panel-data
Panel data analysis with Python using linearmodels and pandas.