mad-science
CLAUDE.md1 starsChanged 13 days agoMITView on GitHub
Rules for agents working in this official data science skills repository. Read before changing anything under skills/. Manage and improve the hypothesis-driven experiment skills (skills/*), packaged as a multi-agent plugin (Claude Code, Codex, Copilot, Cursor, skills.sh). Every change to the skill ecosystem happens here. 1. Pull Request required: every change goes in through a Pull Request (PR) that describes the proposed change. Never commit directly to main. - Branches: type/description in kebab-case (feat/new-skill, fix/typo-what-i-do). - Commits: Conventional Commits, subject ≤…
- Reads credentials
In this repository15 other files it gives its agents.
- llms.txtllms.txt
- critic-reviewSkill
- developing-data-science-notebooksSkill
- expectation-driven-scienceSkill
- experiment-graphSkill
- experiment-pipelineSkill
- exp-reviewSkill
- hypothesysSkill
- let-it-ripSkill
- literature-researchSkill
- mad-science-setupSkill
- notify-gchat-human-waitSkill
- to-articleSkill
- to-docSkill
- what-i-doSkill
The file
We split this CLAUDE.md into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 4
Read before changing anything under skills/.
- Distinctive: line 14
Pull Request required: every change goes in through a Pull Request (PR) that describes the proposed change.
- Very specific: line 18
Catalogue in
what-i-do: every skill must be catalogued in skills/what-i-do/SKILL.md before it is final. - Distinctive: line 45
All content (skills, docs, UI strings) is written in English.
- Very specific: line 73
Prefer small, incremental changes.
≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.md 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.
Files
CLAUDE.md — mad-science
Rules for agents working in this official data science skills repository.
Read before changing anything under skills/.
Repository purpose
Manage and improve the hypothesis-driven experiment skills (skills/*), packaged
as a multi-agent plugin (Claude Code, Codex, Copilot, Cursor, skills.sh). Every
change to the skill ecosystem happens here.
Mandatory rules
- Pull Request required: every change goes in through a Pull Request (PR)
that describes the proposed change. Never commit directly to
main.- Branches:
type/descriptionin kebab-case (feat/new-skill,fix/typo-what-i-do). - Commits: Conventional Commits, subject ≤ 72 characters.
- Branches:
- Catalogue in
what-i-do: every skill must be catalogued inskills/what-i-do/SKILL.mdbefore it is final.- If the skill changes the experiment flow, update
what-i-do(Main Flow and/or Flow Checks sections) to reflect the new flow, and describe the flow change for the reviewer in the PR. what-i-dois the source of truth for the catalogue;README.mdmirrors it.
- If the skill changes the experiment flow, update
Checklist before opening a PR
- Created a
type/descriptionbranch and described the change in the PR. - The skill is catalogued in
what-i-do(with a descriptive role per skill). - If the flow changed:
what-i-doupdated (Main Flow / Flow Checks / Standalone). - Conventional Commits; no secrets or
.envin the diff. - Tests/validations run (e.g.
scripts/testsof skills that have them). python3 scripts/validate_plugin.pypasses (frontmatter, catalogue, manifests).- New skill? It is also added to the
README.mdtable. - Release?
versionis the same in all three manifests (.claude-plugin/plugin.json,.cursor-plugin/plugin.json,plugin.json).
Packaging (plugin)
- Skills live in
skills/<name>/SKILL.md; the frontmatternameequals the folder name. - Skill scripts never assume they live inside the user's repo: reference them as
<skill-dir>/scripts/...and resolve project files from the working directory (the plugin is installed outside the project). .claude-plugin/marketplace.jsonserves Claude Code, Codex and Copilot CLI;.cursor-plugin/plugin.jsonserves Cursor; skills.sh discoversskills/on its own.- All content (skills, docs, UI strings) is written in English.
- Local test:
claude --plugin-dir .andclaude plugin validate ..
Skill catalogue
Source: skills/what-i-do/SKILL.md (wins over this file on divergence).
| Skill | Role | When to use |
/hypothesys | Sharpens the hypothesis and premises through an interview. | First step of the flow. |
/to-doc | Consolidates the discussion into an experiment doc and publishes it to the issue tracker. | Experiment contract. |
/experiment-pipeline | Builds a sliced pipeline and tracks the rounds. | Execution in slices. |
/let-it-rip | Implements the experiment in the notebook (expectation-driven). | Time to implement. |
/exp-review | Reviews the experiment code (standards + quality) in parallel. | Gate before moving on. |
/expectation-driven-science | Scientific discipline (hypothesis → prediction → verification). | Rigor reference. |
/developing-data-science-notebooks | Production-grade notebook practices. | Creating/refactoring notebooks. |
/literature-research | Research on primary sources, findings saved as Markdown. | State of the art. |
/to-article | Generates/structures/reviews a scientific-technical article. | Results become a paper. |
/mad-science-setup | Configures the repo layout and documents. | Once, before using the others. |
/notify-gchat-human-wait | Sends a Google Chat card when the agent waits for a human. | Operations/automation. |
/critic-review | Reviews the whole project (docs, experiments, results) against the state of the art; flags gaps and weak evidence. | End of project or a critical second opinion. |
/experiment-graph | Read-only interactive graph of the pipeline doc (status, dependencies, critical path). | Visual overview of experiment state. |
/what-i-do | Orientation map and canonical catalogue. | Unsure which skill to use. |
Engineering standards
- Global governance files (
~/.claude/CLAUDE.md, rules in.agents/) apply unless this file says otherwise. - Prefer small, incremental changes; code size limits and quality standards
(coverage, tests in
scripts/) follow the global rules.
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
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.

