agentleFS
thoitiettxl-cyberthoitiettxl-cyber/Claw-II/skills/data-analysis/SKILL.md

data-analysis

Skill2 starsChanged 7 months agoMITView on GitHub

Analyze CSV and Excel data using DuckDB-backed local tooling for schema inspection, SQL queries, summaries, and export. Use when the user wants structured data exploration, filtering, aggregation, joins, or result export from spreadsheet/tabular files.

76 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use algorithm-design, review-r and 9 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • lingzhi227Skill

    algorithm-design

    Design algorithms with LaTeX pseudocode and UML diagrams. Generate algorithmic environments, Mermaid class/sequence diagrams, and ensure consistency between pseudocode and implementation. Use when formalizing methods for a paper.

    Also in 5 projects that use this

  • luischanciSkill

    review-r

    Run the R code review protocol on R scripts. Checks code quality, reproducibility, domain correctness, and professional standards. Produces a report without editing files.

    Also in 4 projects that use this

  • zephyrwang6Skill

    deepl

    Übersetzt Texte, Dokumente und XLIFF-Dateien via DeepL API. Verwende für Übersetzungen mit /deepl translate, /deepl file oder /deepl xliff.

    Also in 4 projects that use this

  • zephyrwang6Skill

    imagemagick-conversion

    Convert and manipulate images with ImageMagick. Covers format conversion, resizing, batch processing, quality adjustment, and image transformations. Use when user mentions image conversion, resizing images, ImageMagick, magick command, batch image processing, or thumbnail generation.

    Also in 4 projects that use this

  • lingzhi227Skill

    latex-formatting

    Handle LaTeX formatting, templates, and styling for academic papers. Set up conference templates (ICML, ICLR, NeurIPS, AAAI, ACL), fix formatting issues, manage packages, and ensure venue-specific compliance. Use when the user needs to set up a paper template, fix LaTeX formatting, or prepare for submission.

    Also in 4 projects that use this

  • stophobiaSkill

    surprise-me

    Create a delightful, unexpected "wow" experience for the user by dynamically discovering and creatively combining other enabled skills. Triggers when the user says "surprise me" or any request expressing a desire for an unexpected creative showcase. Also triggers when the user is bored, wants inspiration, or asks for "something interesting".

    Also in 4 projects that use this

  • +3 more from zephyrwang6
  • +2 more from lingzhi227

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 53 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Start with schema inspection before writing non-trivial SQL.

    line 59
  2. Distinctive:

    If file paths are outside the safe workspace boundary, pause for approval or relocation into the workspace.

    line 60
  3. Very specific:

    Run inspect first to discover sheet/table names, columns, and sample rows.

    line 64
  4. Distinctive:

    Keep outputs and cache artifacts in approved workspace-safe paths.

    line 67
  5. Distinctive:

    stop and report the missing package.

    line 72

“Common” is measured: kept by at least 6 in 10 of the 53 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 Analysis

Indexed Reference Map

  • @[SKILL.md#L1-L64] Frontmatter, scope, KB notes, trigger rules, SOP, error handling, output contract.
  • @[references/INDEX.md#L1-L11] Reading order and document map.
  • @[references/QUICK_REFERENCE.md#L1-L22] Fast decision map and execution ladder.
  • @[references/CORE_API.md#L1-L44] Action contract, file/path rules, cache policy, and dependency expectations.
  • @[references/PATTERNS.md#L1-L26] Query patterns, schema-first discipline, and analysis scope control.
  • @[references/EXAMPLES.md#L1-L18] Example asks and expected workflows.
  • @[references/AI_WORKFLOW.md#L1-L14] Bounded execution sequence.
  • @[scripts/analyze.py#L1-L350] Local-safe analysis helper.

Scope

  • In-scope:
    • Inspecting CSV/XLSX/XLS structure and schema.
    • Running analytical SQL against one or more tabular files.
    • Producing summaries and exporting result sets.
  • Out-of-scope:
    • Blind execution against unknown files without first understanding schema and user goal.
    • Auto-installing dependencies or fetching extensions at runtime.
    • Treating arbitrary paths outside the approved workspace boundary as default inputs.

KB Mode Notes

  • Reading order:
    1. references/INDEX.md
    2. references/QUICK_REFERENCE.md
    3. references/CORE_API.md
    4. references/PATTERNS.md
    5. references/EXAMPLES.md
    6. references/AI_WORKFLOW.md
  • Coverage Matrix:
    • trigger/use-vs-don't-use -> QUICK_REFERENCE.md
    • actions, paths, cache, exports, dependencies -> CORE_API.md
    • querying/inspection patterns -> PATTERNS.md
    • representative tasks -> EXAMPLES.md
    • bounded execution discipline -> AI_WORKFLOW.md
  • Portability note:
    • Workspace pathing and local dependency assumptions here are source-of-truth for OpenClaw-Module Android; verify before porting elsewhere.

Trigger Rules

  • Positive:
    • User provides or references CSV/Excel files and wants analysis, summary, filtering, joins, or exports.
    • The task benefits from SQL-based exploration or structured summaries.
  • Negative:
    • The task is plain-text document summarization rather than tabular data analysis.
    • Required dependencies are missing and the user has not asked to repair the Python environment.
  • Escalation:
    • Start with schema inspection before writing non-trivial SQL.
    • If file paths are outside the safe workspace boundary, pause for approval or relocation into the workspace.

SOP

  1. Confirm the input files and the analytical question.
  2. Run inspect first to discover sheet/table names, columns, and sample rows.
  3. Build the minimum SQL or summary action needed for the question.
  4. Export only when the user needs a file artifact; otherwise present concise findings directly.
  5. Keep outputs and cache artifacts in approved workspace-safe paths.
  6. State assumptions, table-name mappings, and limitations when relevant.

Error Handling

  • Missing dependency (duckdb, openpyxl):
    • stop and report the missing package; do not auto-install from inside the helper.
  • Unsupported file/path:
    • return a bounded error and list accepted formats/expected locations.
  • SQL failure:
    • show the error plus available tables/columns for recovery.
  • Oversized/broad ask:
    • inspect schema first, then narrow the question before deeper analysis.

Output Contract

  • Artifact:
    • direct findings in chat and/or exported .csv, .json, or .md results.
  • Validation:
    • schema inspection precedes complex analysis.
    • path handling respects workspace boundaries and .ops/* taxonomy.
    • helper performs no hidden dependency install or network extension fetch.
  • Compliance Verdict:
    • PASS when analysis flow is schema-first, workspace-safe, and reproducible.

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.