agentleFS
AbdoKnbGitAbdoKnbGit/cc-notebook/skills/data-science/SKILL.md

data-science

Skill8 starsChanged 42 days agoMITView on GitHub

Use for a visual data science lab in Claude Code: neural network and model diagrams, exploratory analysis, experiments, statistical explanations, and plots tied to cc-notebook cells. Connect the notebook's real sources and saved execution results to drawings in the conversation. Also use when asked to explain or visualize an existing notebook result.

10 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use data-engineering.

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.
  • travisjneumanSkill

    data-engineering

    ETL/ELT pipelines, data warehousing (BigQuery, Snowflake, Redshift), stream processing (Kafka, Spark Streaming), orchestration (Airflow, Dagster, Prefect), dbt transformations, and data lake architecture. Use when building data pipelines, designing warehouse schemas, or implementing real-time data processing.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 8 edited versions we read keep these.

  • 1

    Distinctive

    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:

    When asked only to explain an existing result, read it and answer without adding duplicate cells.

    line 15

“Common” is measured: kept by at least 6 in 10 of the 8 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 science in the conversation and notebook

Answer with the requested diagram, equation, plot, or explanation directly in the conversation. The plugin renders Markdown images, LaTeX, Mermaid, and Typst there. An active notebook also renders Mermaid and Typst/CeTZ code fences in Markdown cells and rich outputs. Opening the notebook panel alone does not fulfill a request to show a drawing in chat.

Connect to the notebook

  • Read the current notebook context supplied by the plugin. If a notebook is active, call its listed notebook tool (normally mcp__plugin_cc-notebook_notebook__notebook) with action: "status" before changing cells or interpreting results. It returns cell IDs, sources, revision, kernel status and saved outputs. Use the CLI bridge described in that context if the native tool is unavailable; do not guess a runtime path or use a separate Python process as its kernel.
  • For an active notebook, save a new requested diagram or analysis as a Markdown cell, or update the cell the user names. Keep the editable Mermaid/Typst/LaTeX source, not just a screenshot. Pass the current revision; use the new revision returned by each mutation. If the notebook changed, refresh before retrying. Explain which cell holds the drawing in one short sentence and show the same source in the answer.
  • When asked only to explain an existing result, read it and answer without adding duplicate cells. Refer to the cell number/ID and distinguish saved output from currently live variables. Do not replay other cells' outputs. Existing Python plots can be shown with ![description](/absolute/path/from/the/tool.png).
  • A generic neural network sketch is illustrative unless its architecture comes from the actual model code. Never infer trained weights, accuracy, data provenance, or successful execution from a diagram. If the model is available, label its actual layer sizes and activations.
  • Add/update Python through the notebook tool and run it there when execution is requested. Variables then remain in the same kernel. Editing or drawing never implies that Python has run. Follow session permissions for execution. AI cells hold generation instructions; they are not executed Python.
  • Without an active notebook, show the drawing in chat. Create a notebook when requested. Do not require a notebook for a standalone explanation.

Choose the visual

NeedRepresentation
Model architecture, preprocessing pipeline, state flowA fenced mermaid graph, usually graph LR
Neurons, weighted edges, custom geometry, fractalsA fenced typst block using CeTZ
Labelled diagrams or commutative diagramsTypst with fletcher
Function curves or small declarative chartsTypst with cetz-plot
Analysis of real data or an existing experimentPython in the notebook; display its saved image in chat
Mathematical explanation$…$ within prose and $$…$$ for a separate typeset equation

For complex Typst drawings, load cc-notebook:intelligent-ui (also at ../intelligent-ui/SKILL.md). Its local package references and compile checker cover CeTZ, cetz-plot, fletcher, candlesticks, heatmaps and Typst computation. Use theme colours and fit theme.width and theme.height. Read the resulting preview before presenting an intricate drawing.

Mermaid supports flowcharts, state, sequence, class and ER diagrams through the bundled renderer. Use short labels, modest graphs, and complete top-level fences. Unsupported syntax stays visible as source; simplify it or use a tested Typst block. Do not install a browser or fetch a remote rendering service.

Example illustrative architecture (replace dimensions with the real model when available):

graph LR
  X[Input: 4 features] --> H1[Dense: 8, ReLU]
  H1 --> H2[Dense: 4, ReLU]
  H2 --> Y[Output: 1, sigmoid]

Keep datasets and calculation outputs in notebook cells. Label synthetic data and assumptions. Show uncertainty, units, train/test boundaries and metric definitions when relevant. A rendered plot is a view of the saved computation, not a substitute for it. For several equations (such as Maxwell's), use separate display blocks or an aligned multi-line block so they remain readable on a narrow terminal.

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.