Token导航 LogoToken导航

Agent Skill · 研究检索

data-analysis(数据分析)

用于辅助数据整理、表格处理、CSV/Excel 分析、指标计算和图表准备。它适合让 Agent 清洗字段、汇总数据、发现异常、生成统计口径或把分析结果转成可读说明。使用时需要确认数据来源、字段含义和时间范围,避免把样本数据当全量事实;涉及敏感数据、导出文件或批量写回时,应先确认权限和脱敏边界。

data-analysis 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 23,491。

总安装 4,257周安装 181GitHub Stars 11下载 1,491核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:data-analysis(数据分析)
来源仓库:https://github.com/casper-studios/casper-marketplace
仓库路径:skills/data-analysis
安装命令:
npx skills add https://github.com/casper-studios/casper-marketplace --skill data-analysis
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/casper-studios/casper-marketplace --skill data-analysis

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

data-analysis 专为财务、SaaS 与 RevOps 场景设计的结构化数据分析引擎。遵循七阶段流程:初始化、数据摄入、探索性分析、建模、洞察提炼与报告生成。全程记录分析决策逻辑与潜在偏差,支持渐进式披露与透明化结果呈现。

依赖 Marimo notebook 环境运行,需预先安装 Python 依赖包与 Jupyter 内核。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/data-analysis

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/casper-studios/casper-marketplace --skill data…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

data-analysis 怎么安装?

在终端执行 npx skills add https://github.com/casper-studios/casper-marketplace --skill data-analysis。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

data-analysis 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

data-analysis 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

data-analysis 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

data-analysis 用的人多吗?

公开数据是累计安装 4,257 次,近一周安装 181 次,下载 1,491 次,GitHub 11 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

data-analysis 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
data-analysis

数据分析 · 本页

4,25711需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Data Analysis

Overview

A comprehensive data analysis and storytelling skill optimized for financial, SaaS, and RevOps contexts. This skill provides structured workflows for turning raw data into actionable insights with full transparency on analytical decisions, bias awareness, and progressive disclosure reporting.

Workflow Overview

Every analysis follows a 7-phase process:

1. SETUP    → Initialize Marimo notebook (run init_marimo_notebook.py)
2. INGEST   → Load data, document sources and assumptions
3. EXPLORE  → EDA with logged decisions (why this viz, why this filter)
4. MODEL    → If needed, with interpretable-first approach
5. INTERPRET → Apply bias checklist, hedge appropriately
6. WISHLIST → Document data gaps and proxies used
7. OUTPUT   → Generate appropriate tier (slides/report/notebook)

Decision Logging Protocol

Every analytical choice must be logged. This creates an audit trail and enables reproducibility.

What to Log

Decision TypeExampleLog Format
Data filteringRemoved 47 records with null revenueFILTER: [reason] - [count] records affected
Metric choiceUsed logo churn vs revenue churnMETRIC: [chosen] over [alternative] because [reason]
VisualizationLine chart for time seriesVIZ: [type] because [reason]
AssumptionAssumed linear growth for projectionASSUMPTION: [statement] - confidence: [H/M/L]
Proxy usedUsed support tickets as NPS proxyPROXY: [proxy] for [missing data] - quality: [S/M/W]

Log Format in Notebook

# === DECISION LOG ===
# FILTER: Excluded trial accounts - 1,247 records removed
# METRIC: NRR over GRR because expansion is significant factor
# ASSUMPTION: Q4 seasonality similar to prior year - confidence: M
# PROXY: Support ticket sentiment for NPS - quality: Weak

Analysis Workflow Details

Phase 1: Setup

Run the initialization script to create a new Marimo notebook with pre-built scaffolding:

python scripts/init_marimo_notebook.py <notebook_name>

This creates a .py file with:

  • Decision log cell (markdown)
  • Data loading template
  • EDA template cells
  • Bias checklist cell

Phase 2: Data Ingestion

When loading data:

  1. Document the source (file path, API, database query)
  2. Record row/column counts
  3. Note any immediate data quality issues
  4. Log assumptions about data freshness
# === DATA SOURCE ===
# Source: sales_data_2024.csv
# Loaded: 2024-01-15
# Records: 15,847 rows x 23 columns
# Note: Data through 2024-01-10, 5-day lag from source system

Phase 3: Exploratory Data Analysis

Follow this EDA checklist:

  • Distribution of key numeric variables
  • Missing value patterns
  • Outlier detection
  • Time series patterns (if applicable)
  • Segment breakdowns
  • Correlation exploration

Log every visualization choice and filtering decision.

Phase 4: Modeling (If Needed)

Prioritize interpretability:

  1. First choice: Descriptive statistics, cohort analysis
  2. Second choice: Linear regression, decision trees
  3. Last resort: Complex ML (document why simpler won't work)

Always provide:

  • Model assumptions
  • Feature importance / coefficients
  • Confidence intervals
  • What the model cannot tell us

Phase 5: Interpretation

Before finalizing insights, run the bias checklist. See references/biases.md for full checklist.

Quick check:

  • Survivorship bias: Am I only looking at "survivors"?
  • Simpson's paradox: Do segment trends differ from aggregate?
  • Selection bias: Is my sample representative?
  • Small-n warning: Is sample size sufficient for claims?

Hedge appropriately:

  • Use "suggests" not "proves"
  • State confidence levels
  • Note what additional data would strengthen conclusions

Phase 5.5: Validation Gate (MANDATORY)

⚠️ GATE: Before proceeding to output, you MUST run the data quality validation checklist.

This is not optional. Run through references/data-quality-validator.md before finalizing:

Critical Patterns Checklist:

  • Market Context: Are YoY changes compared to market/baseline?
  • Weighting Sensitivity: If using composite scores, tested 5-6 weight scenarios?
  • Bootstrap CIs: For small samples, generated P10/P50/P90 ranges?
  • Survivorship Quantified: Data_Availability column added? Coverage % reported?

Statistical Checks:

  • Sample sizes disclosed with confidence intervals?
  • Multiple comparisons accounted for?
  • Cherry-picked baselines avoided?

Logic Checks:

  • Correlation not claimed as causation?
  • Alternative explanations considered?
  • Back-of-envelope validation passed?

Methodology Note on Time Horizons: When assessing skill vs luck (e.g., sales rep performance, investment returns):

  • Longer time horizons (3+ years) reveal inconsistency that short windows hide
  • More periods = higher bar for "likely skill"
  • A rep who is "top 10%" for 2 quarters could easily be luck
  • A rep who is "top 10%" for 12 quarters is more likely skill
  • Always state the number of periods analyzed and what that implies for confidence

Do not proceed to Phase 6/7 until this checklist is complete.

Phase 6: Data Wishlisting

Document gaps and proxies. See references/data-wishlisting.md for patterns.

Format:

## Data Wishlist

| Missing Data | Proxy Used | Quality | Impact on Analysis |
|--------------|------------|---------|-------------------|
| Customer NPS | Support sentiment | Weak | Core finding, needs validation |
| True LTV | 12-month value | Moderate | Acceptable for segmentation |

Phase 7: Output Generation

Choose output tier based on audience and purpose:

TierWhen to UseTool
SlidesExecutive summary, board deckgenerate_pptx_summary.py
ReportDetailed findings, stakeholder reviewMarkdown/PDF
NotebookFull analysis, data team handoffMarimo.py file

Data Cleaning Workflow

For messy data that needs cleaning before analysis:

1. Profile the Data

python scripts/profile_data.py <csv_file> --output data_quality_report.md

This generates:

  • Column-level statistics (nulls, uniques, types)
  • Data quality score (A-F grading)
  • Suspicious pattern detection
  • Suggested cleaning steps

2. Apply Cleaning Patterns

Reference references/data-cleaning.md for:

  • Missing value strategies (drop, impute, flag)
  • Outlier detection methods (IQR, z-score, domain rules)
  • Common transforms (pivot, melt, merge patterns)
  • Type coercion recipes
  • Deduplication patterns

3. Handle Datetime Issues

Reference references/datetime-handling.md for:

  • Timezone conversion patterns
  • Date parsing for mixed formats
  • Fiscal calendar handling (FY vs CY)
  • Period aggregation (daily → weekly → monthly)
  • Business day calculations

Dashboard Building Workflow

For interactive monitoring dashboards:

1. Initialize Dashboard

python scripts/init_dashboard.py <dashboard_name>

This creates a Marimo dashboard with:

  • KPI cards row
  • Filter sidebar (segment, date range, period)
  • Time series trend chart
  • Summary data table
  • Responsive layout

2. Apply Dashboard Patterns

Reference references/dashboard-patterns.md for:

  • Marimo layout patterns (sidebar, tabs, grid)
  • KPI card templates with sparklines
  • Filter/slider patterns for interactivity
  • Data table styling and formatting
  • Time series with range selection
  • Refresh patterns for live data

Data Quality Validation Workflow

Before presenting or accepting analytical claims:

Run the Data Quality Validation Checklist

Reference references/data-quality-validator.md for comprehensive checklists:

Statistical Sins:

  • P-hacking / multiple comparisons
  • Small sample extrapolation
  • Missing confidence intervals
  • Cherry-picked baselines

Chart Crimes:

  • Truncated y-axis
  • Dual y-axis manipulation
  • 3D charts
  • Misleading scales

Logic Fallacies:

  • Correlation ≠ causation
  • Ecological fallacy
  • Base rate neglect
  • Survivorship bias

Sanity Checks:

  • Does this pass the smell test?
  • Back-of-envelope validation
  • Historical comparison
  • Cross-source validation

Excel Output Workflow

For exporting analysis results to Excel with proper formulas and formatting:

Financial Model Standards

Reference references/xlsx-patterns.md for:

  • Color coding convention (blue=inputs, black=formulas, green=cross-sheet links)
  • Number formatting standards (currency, percentages, multiples)
  • Formula construction rules (use formulas, not hardcoded values)
  • Common formula patterns for analysis

Verification

After creating Excel files with formulas, always recalculate:

python scripts/recalc.py output.xlsx

This ensures:

  • All formulas are calculated (openpyxl doesn't evaluate formulas)
  • Zero formula errors (#REF!, #DIV/0!, etc.)
  • JSON output shows any errors to fix

PDF Handling Workflow

For extracting data from PDFs or creating PDF reports:

Extracting Data

Reference references/pdf-patterns.md for:

  • Text extraction (pypdf, pdfplumber)
  • Table extraction to DataFrame
  • OCR for scanned documents
  • Command-line tools (pdftotext, qpdf)

Creating Reports

Reference references/pdf-patterns.md for:

  • Basic report creation with reportlab
  • Professional reports with sections and tables
  • Embedding matplotlib charts in PDFs
  • Merge/split operations

Reference Files

Load these as needed during analysis:

ReferenceWhen to Use
references/metrics.mdCalculating SaaS/RevOps metrics
references/biases.mdInterpretation phase, before finalizing insights
references/report-templates.mdStructuring output (pyramid vs consulting style)
references/visualization-guide.mdChoosing chart types, avoiding anti-patterns
references/data-wishlisting.mdDocumenting gaps, rating proxy quality
references/data-cleaning.mdData quality checks, cleaning patterns
references/datetime-handling.mdTimezone, parsing, fiscal calendars
references/dashboard-patterns.mdMarimo layouts, KPIs, interactivity
references/data-quality-validator.mdData quality validation, detecting issues
references/xlsx-patterns.mdExcel output, financial model standards, formulas
references/pdf-patterns.mdPDF extraction, report creation, manipulation

Scripts

ScriptPurposeUsage
scripts/init_marimo_notebook.pyInitialize analysis workspacepython scripts/init_marimo_notebook.py <name>
scripts/generate_pptx_summary.pyCreate slide deck from findingspython scripts/generate_pptx_summary.py <config.json>
scripts/profile_data.pyGenerate data quality reportpython scripts/profile_data.py <csv_file>
scripts/init_dashboard.pyScaffold interactive dashboardpython scripts/init_dashboard.py <name>
scripts/recalc.pyRecalculate Excel formulaspython scripts/recalc.py <xlsx_file>

Technology Stack

ToolPurposeWhy
MarimoNotebook environmentPure Python files, reactive, git-friendly
pandasData manipulationReliable LLM code generation, mature ecosystem
Matplotlib/SeabornVisualizationPublication-quality, static, well-supported
python-pptxSlide generationProgrammatic PowerPoint creation
openpyxlExcel filesFormulas, formatting, financial models
pypdf/pdfplumberPDF handlingExtract text, tables; create reports
reportlabPDF creationProfessional PDF reports

Example Invocations

Revenue analysis:

"Analyze our ARR trends by segment and identify drivers of growth/churn"

Pipeline analytics:

"Build a win rate analysis by deal size and sales rep"

Cohort analysis:

"Create a retention cohort analysis for customers acquired in 2023"

Forecasting:

"Project next quarter revenue based on current pipeline"

Board deck:

"Create an executive summary deck of our key SaaS metrics"

Data cleaning:

"Clean this messy CSV and profile the data quality"

Dashboard:

"Build a dashboard to monitor our key SaaS metrics"

Data validation:

"Validate these findings before I present them"

Excel output:

"Export this analysis to Excel with proper formulas and formatting"

PDF extraction:

"Extract the tables from this quarterly report PDF"

Financial model:

"Create a revenue projection model in Excel with scenario inputs"

平台分布

Codex

31.54%
按下载量换算470

Claude

30.9%
按下载量换算461

Cursor

20.04%
按下载量换算299

Gemini CLI

9.86%
按下载量换算147

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills