data-analysis

data-analysis is a skill for Claude Code from pedrohcgs/claude-code-my-workflow. It costs 101 tokens per session (550 once invoked), scanned A, original, MIT.

An end-to-end R workflow for exploring a dataset, cleaning it, running regression analysis, and producing tables and charts suitable for publication. R is a programming language commonly used for statistics and data analysis.

In plain words
What is it for?
Use it with a CSV, RDS, or Stata dataset when you need summary exploration, cleaning, regressions, publication-ready figures and tables, and saved analysis objects.
Why use it?
It organizes the analysis and checks the data and project conventions before code is written, reducing errors such as using nonexistent variables or saving results in the wrong place.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: reads .claude/ paths; mentions Claude Code; installed under .agents/ (shared by several agents).

Good fit Use it with a CSV, RDS, or Stata dataset when you need summary exploration, cleaning, regressions, publication-ready figures and tables, and saved analysis objects.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pedrohcgs/claude-code-my-workflow/data-analysis
About the project

claude-code-my-workflow is a forkable setup for using Claude Code to produce and review academic papers, slides, data analyses, and replication packages. Researchers use its agents, skills, rules, hooks, and quality checks to coordinate these tasks and verify their results. The catalogue entries define the reusable workflow components for Claude Code.

pedrohcgs/claude-code-my-workflow · 1,760 stars · on GitHub · psantanna.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.

Any agent
npx skills add pedrohcgs/claude-code-my-workflow --skill data-analysis
Clone the repo
git clone --depth 1 https://github.com/pedrohcgs/claude-code-my-workflow

Made for: Claude Code.

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/pedrohcgs/claude-code-my-workflow/data-analysis/github.svg)](https://agentmods.dev/skills/pedrohcgs/claude-code-my-workflow/data-analysis)
Your own site
<a href="https://agentmods.dev/skills/pedrohcgs/claude-code-my-workflow/data-analysis"><img src="https://agentmods.dev/badge/skills/pedrohcgs/claude-code-my-workflow/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.

agentmods 80×15 button for data-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/pedrohcgs/claude-code-my-workflow/data-analysis"><img src="https://agentmods.dev/badge/skills/pedrohcgs/claude-code-my-workflow/data-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 550 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00101 $0.00550
Opus 5.5 $0.00040 $0.00220
Sonnet 5.5 $0.00020 $0.00110
Haiku 4.5 $0.00010 $0.00055

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

Security

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 27d 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.

.agents/skills/data-analysis/SKILL.md · 30 lines

What it actually says

data-analysis

This skill's instructions live in .claude/skills/data-analysis/SKILL.md. Read that file now and follow it, with the files it points to. Read AGENTS.md first if you have not already.

It was written for Claude Code. Running it from Codex, Antigravity or another agent:

  • Arguments. Where it says $ARGUMENTS, use what the user asked for.
  • Claude Code agents. Where a step hands work to an agent in .claude/agents/ (through the Agent or Task tool), do that step where it appears in the procedure: never later, and never skip it. A step that gates what follows still gates it (/commit runs its verifier before it commits). Read the agent's file for what the step checks.
  • Fresh context. If the step needs a context that has not seen your work, for example a claim verifier that must never see the draft, run it in a separate session or worker that has not seen the draft, if your tool can start one, and give it only what the step says to pass. If it cannot, do the step yourself, mark every result it produced not independently verified, and tell the user to repeat that check in Claude Code (/verify-claims for citations) before relying on it.
  • Claude Code settings. allowed-tools, model, effort, argument-hint and disable-model-invocation in the source's frontmatter configure Claude Code. Ignore them.
  • Guards. Claude Code's guard hooks do not run for you. Follow the rules in AGENTS.md yourself; the git pre-commit gate and CI still apply to your commits.
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. 27d ago Changed · -163 lines f642211d82eb
  2. 2mo ago Changed · +26 lines · -3 tokens per session 765d180619ad
  3. 3mo ago First seen · 167 lines · 104 tokens per session scan A 3a4e0fcec292

Subscribe to this mod's changes

data-analysis is a skill published in the GitHub repository pedrohcgs/claude-code-my-workflow (1,760 stars, last pushed 27d ago), licensed MIT. It adds 101 tokens to every session and 550 once invoked, about $0.0004 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-08-30.

Related

data-analysis compared with skills from other repositories

data-analysis next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
data-analysispedrohcgs/claude-code-my-workflowSkill1.8k27d agoMITA101Claude Code
paper-workflowbrycewang-stanford/Paper-WorkFlowSkill58todayMITA101Claude Code
r-econometricsbrycewang-stanford/Auto-Empirical-Research-SkillsSkill5.4ktodaynoneA20Claude Code, Codex
econ-management-paper-polishlinkingoscar/econ-management-paper-polishSkill51mo agoMITA83Codex
did-causalxjtulyc/awesome-rosetta-skillsSkill387mo agononeA75Claude Code, Codex
fin-paper-figurecsmar432/finai-researchSkill1123d agoMITA58Claude Code, Codex
fin-full-pipelinecsmar432/finai-researchSkill1123d agoMITA63Claude Code