new-pipeline
Skill0 starsChanged 4 months agoMITView on GitHub
Scaffold a new data pipeline under pipelines/ with the pipeline directory structure and required docs. Use when the user wants to create a new data processing pipeline.
In this repository39 other files it gives its agents.
- anecdotesSkill
- backupSkill
- checkSkill
- cite-syncSkill
- dataSkill
- diariosSkill
- distill-styleSkill
- driveSkill
- dropboxSkill
- fetch-annotationsSkill
- findings-auditSkill
- findingsSkill
- gmailSkill
- handoffSkill
- howtoSkill
- hypothesisSkill
- iatSkill
- ideaSkill
- inboxSkill
- institutionsSkill
- literatureSkill
- llmkitSkill
- meetSkill
- memory-auditSkill
- new-projectSkill
- nextSkill
- otterSkill
- outlookSkill
- questionsSkill
- referee-panelSkill
- siteSkill
- style-checkSkill
- style-reviewSkill
- style-reviseSkill
- tactiqSkill
- theorySkill
- validate-sectionSkill
- whatsappSkill
- zoomSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 1 is distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 9
Create a new pipeline repository under pipelines/.
- Very specific: line 26
Follow the pipeline structure from $ROOT/research-kit/rules/project_docs_contract.md:
- Distinctive: line 93
Document both input and output datasets using the data.md format.
- Very specific: line 107
Create thinking.md, decisions.md, archive.md with their headers and empty template sections.
- Very specific: line 136
Check $ROOT/research/meta/data_linkages.md — note which projects will consume this pipeline's output.
- Very specific: line 143
Check $ROOT/data_catalog/ for existing metadata about the input data sources before populating data.md.
≈ “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.
Files
Scaffold a new data pipeline
Create a new pipeline repository under pipelines/.
Finding the workspace root
The workspace root contains CLAUDE.md alongside projects/, pipelines/, $ROOT/data_catalog/, research/. If the current directory is inside a project or pipeline, search upward to find the root. Use $ROOT for all paths below.
Step 1: Gather information
Ask the user:
- Pipeline slug — short directory name (e.g.,
brazil,justica,politica) - Purpose — what data does this pipeline clean/process?
- Input data — raw data sources (check
$ROOT/data_catalog/for existing ones) - Output — what cleaned datasets does it produce?
Step 2: Create the directory structure
Follow the pipeline structure from $ROOT/research-kit/rules/project_docs_contract.md:
$ROOT/pipelines/<slug>/
README.md
CLAUDE.md
.claude/
settings.local.json
docs/
summary.md
thinking.md
todo.md
data.md
decisions.md
archive.md
source/
build/
.gitkeepNote: pipelines do NOT have paper/, talk/, or the full set of project docs (no meetings.md, feedback.md, literature.md, institutions.md, methods.md, results.md).
Step 3: Populate files
CLAUDE.md
# <Pipeline Name> Pipeline
## Purpose
<from user input>
## Input
<data sources>
## Output
<cleaned datasets produced>
## Shared code
- Uses `diarios` module for court/legal data utilities — check `$ROOT/research-kit/meta/diarios_api.md` before writing new helpers.
## Conventions
- Follow workspace rules in `$ROOT/research/rules/workspace.md`
- Documentation follows `$ROOT/research-kit/rules/project_docs_contract.md` (pipeline section)
- Scripts follow the Inline Audit Trail (IAT) convention in `$ROOT/research-kit/rules/inline_audit_trail.md`.claude/settings.local.json
{
"permissions": {
"allow": [
"Bash(python3:*)",
"Bash(git add:*)",
"Bash(git commit:*)"
]
}
}docs/summary.md
Populate with the pipeline's purpose, input sources, and output description.
docs/data.md
Document both input and output datasets using the data.md format. For pipelines, this file describes both sides — what goes in and what comes out.
docs/todo.md
# TODOs
## Setup
- [ ] Initial pipeline structure
- created: <today's date>Other docs/ files
Create thinking.md, decisions.md, archive.md with their headers and empty template sections.
README.md
# <Pipeline Name>
<One-line description of what this pipeline produces>
See `docs/summary.md` for details.Step 4: Initialize git
cd $ROOT/pipelines/<slug> && git initCreate a .gitignore:
build/
*.pyc
__pycache__/
.ipynb_checkpoints/Step 5: Register the pipeline
- Suggest updating the pipeline listing in
$ROOT/research/rules/workspace.md. - Check
$ROOT/research/meta/data_linkages.md— note which projects will consume this pipeline's output.
Gotchas
- Pipelines are NOT projects. Do not create
paper/,talk/,meetings.md,feedback.md,literature.md,institutions.md,methods.md, orresults.md. - Pipeline
docs/data.mddocuments both inputs AND outputs (unlike project data.md which only documents usage). - Build outputs are typically gitignored — they should be regenerable from source.
- Check
$ROOT/data_catalog/for existing metadata about the input data sources before populating data.md.
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.

