agentleFS
RylaispiritRylaispirit/rylai-codex-hermes-skills/skills/analytics-data-analysis/SKILL.md

analytics-data-analysis

Skill56 starsChanged 3 months agoMITView on GitHub

Build reproducible analytics scripts or notebooks for ingestion, cleaning, transformation, statistics, visualization, and delivery.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

23 rules. About 0 are common, 23 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈23

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Check missingness, ranges, uniqueness, referential integrity, and impossible values.

    line 39
  2. Distinctive:

    Stop or quarantine records when a defect would invalidate the result.

    line 41
  3. Distinctive:

    Keep raw input unchanged.

    line 44
  4. Distinctive:

    Start with counts and distributions.

    line 49
  5. Distinctive:

    Test important assumptions and provide a fallback when they fail.

    line 52
  6. Distinctive:

    Avoid visual encodings that exaggerate small differences.

    line 57
  7. Distinctive:

    Keep configuration and paths separate from analysis logic.

    line 60
  8. Distinctive:

    Use stable output names and create parent directories deliberately.

    line 61
  9. Distinctive:

    Run the analysis from a clean start.

    line 65
  10. Distinctive:

    Prefer clear functions with explicit inputs and outputs.

    line 71
  11. Distinctive:

    Use structured parsers for structured data.

    line 72
  12. Distinctive:

    Never hide data loss inside broad exception handling.

    line 74
  13. Distinctive:

    Add assertions at boundaries where a silent mismatch would corrupt results.

    line 75
  14. Distinctive:

    Use a fixed random seed only when randomness is part of the method, and record it.

    line 76
  15. Distinctive:

    Do not overwrite source files unless the user explicitly requests it.

    line 77
  16. Distinctive:

    Put purpose and assumptions before the first analysis cell.

    line 81
  17. Distinctive:

    Keep setup, loading, validation, transformation, analysis, and conclusions in visible sections.

    line 82
  18. Distinctive:

    Ensure cells run top to bottom without relying on stale state.

    line 83
  19. Distinctive:

    Remove noisy exploratory output while preserving evidence needed to review the result.

    line 84
  20. Distinctive:

    Never present an estimate as observed fact or infer causation from association alone.

    line 97
  21. Distinctive:

    Use tools and libraries already available in the workspace when practical.

    line 101
  22. Distinctive:

    If a dependency is missing, explain the smallest installation or fallback required.

    line 102
  23. Distinctive:

    Keep paths portable between Codex, Hermes, and Claude by resolving from the workspace or skill directory.

    line 103

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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

Rylai Analytics Implementation

Build analysis that another person can rerun and audit.

Define The Contract

Capture the following before choosing methods:

  • decision or question the analysis must support;
  • input files, tables, date range, units, and grain;
  • metric definitions and inclusion rules;
  • expected deliverable: script, notebook, chart set, table, or report;
  • runtime limits, privacy constraints, and required output path.

Inspect the real input before assuming its schema.

Implementation Workflow

  1. Inventory
    • Record source names, sizes, columns, types, row counts, and keys.
    • Detect encoding, delimiter, duplicate-key, timezone, and locale issues.
  2. Validate
    • Check missingness, ranges, uniqueness, referential integrity, and impossible values.
    • Separate source defects from intentional filtering.
    • Stop or quarantine records when a defect would invalidate the result.
  3. Transform
    • Keep raw input unchanged.
    • Make cleaning steps explicit and deterministic.
    • Preserve units and document joins, filters, imputations, and derived fields.
  4. Analyze
    • Start with counts and distributions.
    • Choose statistical methods that match variable type, sample design, and question.
    • Report effect size or practical magnitude when significance tests are used.
    • Test important assumptions and provide a fallback when they fail.
  5. Visualize
    • Select a chart based on the comparison, trend, distribution, or relationship.
    • Label units, time windows, filters, and sample sizes.
    • Avoid visual encodings that exaggerate small differences.
  6. Package
    • Keep configuration and paths separate from analysis logic.
    • Use stable output names and create parent directories deliberately.
    • Include a concise run command and dependency information when code is delivered.
  7. Verify
    • Run the analysis from a clean start.
    • Reconcile important totals against the source.
    • Inspect generated tables and charts, not only exit codes.

Code Standards

  • Prefer clear functions with explicit inputs and outputs.
  • Use structured parsers for structured data.
  • Favor vectorized or set-based operations where they improve clarity and scale.
  • Never hide data loss inside broad exception handling.
  • Add assertions at boundaries where a silent mismatch would corrupt results.
  • Use a fixed random seed only when randomness is part of the method, and record it.
  • Do not overwrite source files unless the user explicitly requests it.

Notebook Standards

  • Put purpose and assumptions before the first analysis cell.
  • Keep setup, loading, validation, transformation, analysis, and conclusions in visible sections.
  • Ensure cells run top to bottom without relying on stale state.
  • Remove noisy exploratory output while preserving evidence needed to review the result.

Delivery

Summarize:

  • inputs and scope;
  • cleaning and exclusion decisions;
  • methods and assumptions;
  • key outputs;
  • validation performed;
  • limitations and unresolved data-quality risks.

Never present an estimate as observed fact or infer causation from association alone.

Runtime Notes

  • Use tools and libraries already available in the workspace when practical.
  • If a dependency is missing, explain the smallest installation or fallback required.
  • Keep paths portable between Codex, Hermes, and Claude by resolving from the workspace or skill directory.

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.