data-analysis

data-analysis is a skill for Claude Code, Codex from qaml-ai/camelAI. It costs 80 tokens per session (6,678 once invoked), scanned A, original, MIT.

A skill for analyzing data from files, databases, and common office formats using Python and SQL. It can also create charts and other visualizations.

In plain words
What is it for?
Use it to process CSV, Excel, Parquet, PDF, Word, or PowerPoint files; query supported databases; calculate findings; and produce charts or live data applications.
Why use it?
It keeps analysis tied to the data actually observed, records where findings came from, and prevents missing or estimated information from being presented as fact.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/qaml-ai/camelai/data-analysis
Any agent
npx skills add qaml-ai/camelAI --skill data-analysis
Clone the repo
git clone --depth 1 https://github.com/qaml-ai/camelAI

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/qaml-ai/camelai/data-analysis.svg)](https://agentmods.dev/skills/qaml-ai/camelai/data-analysis)
Your own site
<a href="https://agentmods.dev/skills/qaml-ai/camelai/data-analysis"><img src="https://agentmods.dev/badge/skills/qaml-ai/camelai/data-analysis.svg" alt="Measured on agentmods" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,678 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00080 $0.06678
Opus 5 $0.00040 $0.03339
Sonnet 5 $0.00016 $0.01336
Haiku 4.5 $0.00008 $0.00668

Measured 4d ago against content hash e3d5a780bd13, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

data-analysis scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

hand-rolling urllib calls. Credentials never enter the sandbox; camelAI applies
sandbox/skills/data-analysis/SKILL.md · 601 lines

How it starts

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

Data Analysis

Evidence and provenance contract

Analysis must remain traceable to the data actually observed.

  • Separate observed source data, user-provided labels, external research, and estimates or modeled assumptions in both the notebook and final answer.
  • For material findings, preserve the source connection/file, table or sheet, query or transformation, coverage window, and relevant row counts. If a query fails or only aggregate data is available, narrow the claim accordingly.
  • Never invent missing rows, prompts, campaigns, categories, URLs, fields, citations, model versions, or provenance. Missing data stays missing.
  • Never present simulated, modeled, cached, delayed, fallback, or sample data as live production data. Label its mode and freshness where the user can see it.
  • Reconcile headline totals against the displayed tables before reporting completion. If they disagree, stop and explain the discrepancy instead of choosing the more convenient number.
  • User corrections replace prior assumptions. Re-run affected calculations and update every downstream artifact that depended on the old assumption.
  • Honor requested implementation constraints such as Python-only, no JavaScript, or reuse-only in deliverable code. js_exec may still orchestrate platform tools, but it does not justify adding JavaScript to a Python-only deliverable.

Python Environment (DO-backed projects)

For DO-backed projects, data analysis runs in a stateless per-workspace sandbox over the project filesystem — there is no persistent VM to set up. The default data stack is preinstalled, so most analysis needs no environment step at all:

pandas, numpy, polars, duckdb, pyarrow, altair, plotly, matplotlib, seaborn, scipy, scikit-learn, statsmodels, openpyxl, xlsxwriter, pdfplumber, python-docx, python-pptx, sqlalchemy (+ psycopg/pymysql), jupyter/nbconvert.

  • Need a package beyond the stack? add_python_dependency({ project, packages: ["<pkg>"] }) — it runs uv add and persists pyproject.toml + uv.lock back to the project. (You can also just edit pyproject.toml; the next run's uv sync reconciles it.)
  • Run a notebook: run_notebook (see below) — execution + validation in one call.
  • Ad-hoc shell/Python: analysis_exec({ command, project? }). The camelai helper package (see the connections section) is importable here and in run_code too, not just in notebooks.

Read the full file on GitHub · 601 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. 4d ago First seen · 601 lines · 80 tokens per session scan A e3d5a780bd13

Subscribe to this mod's changes

data-analysis is a skill published in the GitHub repository qaml-ai/camelAI (362 stars, last pushed 3d ago), licensed MIT. It adds 80 tokens to every session and 6,678 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

data-analysis

Use this skill when the user uploads Excel (.xlsx/.xls) or CSV files and wants to perform data analysis, generate statistics, create summaries, pivot tables, SQL queries, or any form of structured data exploration. Supports multi-sheet Excel workbooks, aggregation, filtering, joins, and exporting results to…

bytedance/deer-flow · 69 tokens

cloudbase-document-database-web-sdk

Use CloudBase document database Web SDK only for confirmed NoSQL collection work. Query, create, update, and delete document data; if the task mentions PostgreSQL / CloudBase PG / app.rdb(), route to postgresql-development instead.

TencentCloudBase/CloudBase-AI-Toolkit · 55 tokens

cloudbase-document-database-in-wechat-miniprogram

Use CloudBase document database WeChat MiniProgram SDK to query, create, update, and delete data. Supports complex queries, pagination, aggregation, and geolocation queries.

TencentCloudBase/CloudBase-AI-Toolkit · 46 tokens

add-data-source

Guide the user to add a data source, connection, or API connector to a Canvas App via Power Apps Studio, then verify and continue. USE WHEN the user asks to add a data source, add a connection, add an API, add a connector, connect to SharePoint / Dataverse / SQL / Excel / OneDrive / Teams / Office 365, or any similar…

microsoft/power-platform-skills · 116 tokens

file-crdb-issue

Use when filing, creating, or reporting GitHub issues for CockroachDB. Use when asked to open a bug report, feature request, investigation issue, or performance inquiry. Also use when the user mentions wanting to track a problem, report a regression, or document unexpected behavior in CockroachDB.

cockroachdb/cockroach · 66 tokens

make-figures

Generate publication-ready figures and visual abstracts for medical research papers. Supports ROC curves, forest plots, CONSORT/STARD/PRISMA flow diagrams, calibration plots, Kaplan-Meier curves, Bland-Altman plots, confusion matrices, pipeline diagrams, and journal-specific visual/graphical abstracts (python-pptx…

Aperivue/medsci-skills · 71 tokens