agentleFS
ChrisGVEChrisGVE/localdata-mcp/skills/workflow/data-pipeline/SKILL.md

data-pipeline

Skill4 starsChanged 15 months agoApache-2.0View on GitHub

Run an end-to-end data analysis pipeline — connect, profile, analyze, and report. Use when performing a complete analysis workflow.

7 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 1 is distinctive, and 7 are very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 7

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run a complete analysis workflow from connection through profiling, analysis, and structured reporting.

    line 10
  2. Very specific:

    Connect and profile: Call connect_database with the source path.

    line 16
  3. Very specific:

    Export results: Call export_schema to capture the data structure.

    line 32
  4. Very specific:

    After regression: /localdata-mcp:analyze-correlations to validate predictor selection

    line 42
  5. Very specific:

    After clustering: /localdata-mcp:regression using cluster labels as features

    line 43
  6. Very specific:

    After forecast: /localdata-mcp:analyze-correlations to find external predictors

    line 44
  7. Very specific:

    After correlation: /localdata-mcp:regression with the strongest predictors

    line 45
  8. Very specific:

    After ab-test: /localdata-mcp:cluster-analysis to find segment-level effects

    line 46

“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Data Pipeline

Run a complete analysis workflow from connection through profiling, analysis, and structured reporting.

Steps

  1. Parse arguments. Extract the source path and analysis type from $ARGUMENTS. The first argument is the file path or connection string. The second argument is the analysis type: one of regression, clustering, forecast, correlation, or ab-test.
  2. Connect and profile. Call connect_database with the source path. Then call describe_database to get the schema and get_data_quality_report to assess data quality. Summarize table structure, row counts, and quality scores.
  3. Assess data readiness. Review the quality report. If critical issues exist (more than 30% nulls in key columns, severe duplicates), note them as caveats. Identify the columns relevant to the requested analysis type.
  4. Route to the appropriate analysis. Based on the analysis type argument:

    regression -- Call analyze_regression with the target column and feature columns. Then call execute_query if needed to inspect residuals. Report model coefficients, R-squared, and feature importance.

    clustering -- Call analyze_clusters with numeric feature columns and algorithm "kmeans". Try k=2 through k=5 and compare silhouette scores. Call reduce_dimensions with PCA for a 2D summary. Report cluster profiles and quality.

    forecast -- Call analyze_time_series to decompose the series and test stationarity. Then call forecast_time_series with the target column and desired horizon. Report trend, seasonality, and forecast values with confidence intervals.

    correlation -- Call analyze_hypothesis_test with test type "correlation" for each numeric column pair. Call analyze_effect_sizes for the strongest relationships. Report a ranked correlation matrix with significance levels.

    ab-test -- Call analyze_ab_test with the metric and group columns. Call analyze_effect_sizes to quantify practical significance. Report group comparison, p-value, effect size, and ship/iterate/no-ship recommendation.

  5. Export results. Call export_schema to capture the data structure. If the analysis produced structured output suitable for downstream use, call export_structured to save it in a portable format.
  6. Present the report. Deliver a structured summary covering:
    • Data source: file type, tables, row and column counts
    • Quality assessment: completeness, consistency, issues found
    • Analysis results: key findings from the selected analysis type
    • Confidence: statistical significance levels and effect sizes where applicable
    • Limitations: data quality caveats, sample size concerns, assumption violations
  7. Recommend follow-up. Suggest complementary analyses:
    • After regression: /localdata-mcp:analyze-correlations to validate predictor selection
    • After clustering: /localdata-mcp:regression using cluster labels as features
    • After forecast: /localdata-mcp:analyze-correlations to find external predictors
    • After correlation: /localdata-mcp:regression with the strongest predictors
    • After ab-test: /localdata-mcp:cluster-analysis to find segment-level effects

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.