Data Analysis

A guide for analyzing data and turning results into recommendations. It covers defining a question, documenting sources and methods, describing findings, and noting uncertainty and limitations.

In plain words
What is it for?
Use it to investigate business questions, summarize data, write analysis reports, form recommendations, and create SQL queries for common metrics.
Why use it?
It provides a repeatable structure so analysis does not skip important context, evidence, assumptions, or caveats.

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/saolalab/clawforce/data-analysis
Any agent
npx skills add saolalab/clawforce --skill data-analysis
Clone the repo
git clone --depth 1 https://github.com/saolalab/clawforce

Made for: Claude Code, Codex.

Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,754 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00018 $0.01754
Opus 5 $0.00009 $0.00877
Sonnet 5 $0.00004 $0.00351
Haiku 4.5 $0.00002 $0.00175

Measured 2d ago against content hash b7deff012cf1, 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 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 2d 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.

marketplace/roles/data-analyst/workspace/skills/data-analysis/SKILL.md · 266 lines

How it starts

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

Data Analysis Skill

Analysis Report Template

Executive Summary

  • Question: What business question are we answering?
  • Key Finding: One-sentence summary of main insight
  • Recommendation: Primary action item
  • Confidence: High / Medium / Low

Methodology

  • Data Sources: Where did data come from?
  • Time Period: What timeframe?
  • Sample Size: How many observations?
  • Analytical Approach: What methods used?
  • Assumptions: What assumptions were made?

Findings

  • Finding 1: [Description]
    • Evidence: [Supporting data]
    • Confidence: [Statistical confidence]
  • Finding 2: [Description]
    • Evidence: [Supporting data]
    • Confidence: [Statistical confidence]

Recommendations

  • Priority 1: [Action] - [Expected impact]
  • Priority 2: [Action] - [Expected impact]

Caveats

  • Limitations: What are the limitations?
  • Biases: Potential biases?
  • Data Quality: Known data quality issues?
  • Next Steps: What additional analysis needed?

SQL Query Patterns

Aggregation Patterns

Daily Metrics:

SELECT 
    DATE(created_at) as date,
    COUNT(*) as events,
    COUNT(DISTINCT user_id) as unique_users
FROM events
WHERE created_at >= CURRENT_DATE - INTERVAL '30 days'
GROUP BY DATE(created_at)
ORDER BY date DESC;

Cohort Analysis:

WITH cohorts AS (
    SELECT 
        user_id,
        DATE_TRUNC('month', MIN(created_at)) as cohort_month
    FROM users
    GROUP BY user_id
)
SELECT 
    c.cohort_month,
    DATE_TRUNC('month', e.created_at) as event_month,
    COUNT(DISTINCT e.user_id) as active_users
FROM cohorts c
JOIN events e ON c.user_id = e.user_id
GROUP BY c.cohort_month, DATE_TRUNC('month', e.created_at)
ORDER BY c.cohort_month, event_month;

Window Functions

Running Totals:

SELECT 
    date,
    revenue,
    SUM(revenue) OVER (ORDER BY date) as running_total
FROM daily_revenue
ORDER BY date;

Ranking:

SELECT 
    product_id,
    revenue,
    RANK() OVER (ORDER BY revenue DESC) as revenue_rank
FROM product_revenue;

Read the full file on GitHub · 266 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. 2d ago First seen · 266 lines · 18 tokens per session scan A b7deff012cf1

Subscribe to this mod's changes

Data Analysis is a skill published in the GitHub repository saolalab/clawforce (38 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 18 tokens to every session and 1,754 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-30.

Related

Other skills, from other repositories

PBE Extractor

Extract invariant principles from any text — find the ideas that survive rephrasing.

live-neon/skills · 21 tokens

agenticmail

🎀 AgenticMail — Full email, SMS, storage & multi-agent coordination for AI agents. 63 tools.

InternLM/WildClawBench · 28 tokens

agentic-paper-digest-skill

Fetches and summarizes recent arXiv and Hugging Face papers with Agentic Paper Digest. Use when the user wants a paper digest, a JSON feed of recent papers, or to run the arXiv/HF pipeline.

InternLM/WildClawBench · 54 tokens

ai-meeting-scheduling

Booking links fail for groups. SkipUp schedules meetings with 2-50 participants via email — one API call coordinates across timezones automatically. Also: check status, pause, resume, or cancel requests. Async only — does not instant-book, access calendars, or do free/busy lookups.

InternLM/WildClawBench · 66 tokens

arxiv-summarizer-orchestrator

End-to-end orchestration skill for periodic arXiv collection and reporting using three sub-skills: arxiv-search-collector, arxiv-paper-processor, and arxiv-batch-reporter. Supports manual language control across all markdown outputs and Stage-B processing strategy (subagentparallel default max 5, or serial).

InternLM/WildClawBench · 75 tokens

eachlabs-voice-audio

Text-to-speech, speech-to-text, voice conversion, and audio processing using EachLabs AI models. Supports ElevenLabs TTS, Whisper transcription with diarization, and RVC voice conversion. Use when the user needs TTS, transcription, or voice conversion.

InternLM/WildClawBench · 60 tokens