Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/winstonkoh87/Athena-Publicnpx agentmods add skills/winstonkoh87/athena-public/data-analysisWrote 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/winstonkoh87/athena-public/data-analysis)<a href="https://agentmods.dev/skills/winstonkoh87/athena-public/data-analysis"><img src="https://agentmods.dev/badge/skills/winstonkoh87/athena-public/data-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.
<a href="https://agentmods.dev/skills/winstonkoh87/athena-public/data-analysis"><img src="https://agentmods.dev/badge/skills/winstonkoh87/athena-public/data-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.1 | $0.00030 | $0.01193 |
| Opus 5 | $0.00015 | $0.00596 |
| Sonnet 5 | $0.00006 | $0.00239 |
| Haiku 4.5 | $0.00003 | $0.00119 |
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 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.
How it starts
The opening of the file, as written. The whole thing — 161 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Data Analysis Skill (DuckDB Engine)
Wraps the Athena Data Engine (data_engine.py) for structured data analysis on large files.
Triggers
- User provides a JSON, CSV, or Parquet file for analysis
- "Analyze this data", "What's in this file", "Run some numbers on"
- Any file > 10MB that needs analytical queries
/analyzeworkflow invocation
Dependencies
pip install duckdb
Core Scripts
| Script | Purpose |
|---|---|
.agent/scripts/data_engine.py |
Core DuckDB wrapper — ingest, convert, query, profile |
.agent/scripts/auto_file_insights.py |
Auto-file extracted insights as case studies |
Pipeline
Phase 1: Ingest
python3 .agent/scripts/data_engine.py ingest /path/to/data.json
This will:
- Auto-detect format (JSON/CSV/Parquet)
- For Telegram exports: flatten nested text fields, extract metadata
- Convert to Parquet with ZSTD compression (cached alongside the original)
- Print schema, row count, nulls, date range, value distributions
Cache behavior: If a Parquet cache already exists and is newer than the source file, ingestion is skipped and the cache is used directly (instant).
Phase 2: Query
python3 .agent/scripts/data_engine.py query /path/to/.athena_cache/parquet/data.parquet \
"SELECT COUNT(*) FROM data WHERE text LIKE '%math%'"
The Parquet file is registered as table data. Use standard SQL.
Common patterns:
-- Row count
SELECT COUNT(*) FROM data
-- Date range
SELECT MIN(date), MAX(date) FROM data
-- Value distribution
SELECT column_name, COUNT(*) as cnt
FROM data
GROUP BY column_name
ORDER BY cnt DESC
LIMIT 20
-- Text search
SELECT date, text FROM data
WHERE text ILIKE '%keyword%'
LIMIT 10
-- Time series aggregation
SELECT strftime(date::TIMESTAMP, '%Y-%m') as month, COUNT(*) as volume
FROM data
GROUP BY month
ORDER BY month
-- Rate extraction (regex)
SELECT regexp_extract(text, '\$(\d+)', 1)::INT as rate, COUNT(*) as cnt
FROM data
WHERE rate IS NOT NULL
GROUP BY rate
ORDER BY cnt DESC
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.
- 9d ago First seen · 161 lines · 30 tokens per session scan A f609575bd556
data-analysis is a skill published in the GitHub repository winstonkoh87/Athena-Public (585 stars, last pushed today), licensed MIT. It adds 30 tokens to every session and 1,193 once invoked, about $0.0002 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-30.
Other skills, from other repositories
csv-workbench
Analyze CSV files in /mnt/data and return concise numeric summaries.
youdaonote
A command-line skill for managing Youdao Cloud Notes, a Chinese note-taking service. It supports notes, to-do items, saved web pages, searches, and folders.
docx
Inspect, edit, validate, and preview existing Word documents while preserving structure and unrelated content.
office-editor
Inspect and atomically edit existing DOCX, XLSX, and PPTX files with hash-protected structured operations.
slides
Create, edit, review, and export native PowerPoint presentations through Kun's governed presentation workflow.
xlsx
Inspect, edit, validate, and preview existing Excel workbooks and supported ranges.