ai_scientist
CLAUDE.md0 starsChanged 13 months agoMITView on GitHub
System Instructions for AI Assistants working with this pipeline This is a topic-agnostic PhD dissertation completion pipeline designed to help solo PhD students systematically complete their dissertations. It provides: When working with a user's dissertation that uses this pipeline, you should: Check MY_DISSERTATION/progress/todo.md to see where the user is: - Phase 1 (Planning): Help with research questions, literature review - Phase 2 (Methodology): Help with experimental design, theoretical framework - Phase 3 (Execution): Help with implementation, experiments - Phase 4…
In this repository23 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- ai-checkSkill
- blindingSkill
- citation-formatSkill
- data-visualizationSkill
- effect-sizeSkill
- experiment-designSkill
- hypothesis-testSkill
- inclusion-criteriaSkill
- irb-protocolSkill
- literature-gapSkill
- meta-analysisSkill
- power-analysisSkill
- pre-registrationSkill
- prisma-diagramSkill
- publication-prepSkill
- randomizationSkill
- research-questionsSkill
- results-interpretationSkill
- risk-of-biasSkill
- sensitivity-analysisSkill
- subgroup-analysisSkill
- synthesis-matrixSkill
The file
Show its rules and text
We split this CLAUDE.md into the rules it gives an agent
24 rules. About 0 are common, 19 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈19
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
- Distinctive: line 21
When working with a user's dissertation that uses this pipeline, you should:
- Very specific: line 25
Check MY_DISSERTATION/progress/todo.md to see where the user is:
- Very specific: line 34
All chapter templates are in MY_DISSERTATION/chapters/:
- Distinctive: line 51
Follow these in order: Don't skip ahead.
- Distinctive: line 60
Only claim what was actually done (not aspirational)
- Distinctive: line 62
Use public datasets (no IRB needed)
- Distinctive: line 72
Use phrases like "obviously", "clearly" without proof
- Very specific: line 83
Update MY_DISSERTATION/progress/todo.md as tasks are completed.
- Distinctive: line 85
Use the TodoWrite tool to track:
- Distinctive: line 92
Before marking any chapter "complete", verify using the quality checklist in each template:
- Distinctive: line 93
All claims have evidence
- Distinctive: line 94
All figures are referenced
- Distinctive: line 120
Check quality checklist: before moving on
- Very specific: line 124
Check chapters/chapter_04_methodology.md for experimental design
- Very specific: line 127
Use results to fill in chapters/chapter_06_results.md
- Distinctive: line 163
If the user wants autonomous execution:
- Distinctive: line 164
Read the relevant agent file
- Distinctive: line 165
Follow the phase-by-phase instructions
- Distinctive: line 206
Add qualitative methods to Chapter 4
- Distinctive: line 219
Every claim is supported by evidence
- Distinctive: line 220
No aspirational or false claims
- Distinctive: line 231
No grammar/spelling errors
- Distinctive: line 265
If the user is:
- Distinctive: line 276
Don't promise unrealistic outcomes.
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 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 - PhD Dissertation Pipeline
System Instructions for AI Assistants working with this pipeline
System Overview
This is a topic-agnostic PhD dissertation completion pipeline designed to help solo PhD students systematically complete their dissertations. It provides:
- Structured workflows (Phase 1-5)
- Generic chapter templates
- LaTeX build automation
- Progress tracking tools
- Quality assurance checklists
AI Assistant Role
When working with a user's dissertation that uses this pipeline, you should:
1. Understand the Current Phase
Check MY_DISSERTATION/progress/todo.md to see where the user is:
- Phase 1 (Planning): Help with research questions, literature review
- Phase 2 (Methodology): Help with experimental design, theoretical framework
- Phase 3 (Execution): Help with implementation, experiments
- Phase 4 (Writing): Help with drafting chapters
- Phase 5 (Finalization): Help with LaTeX conversion, defense prep
2. Use the Templates
All chapter templates are in MY_DISSERTATION/chapters/:
- They contain placeholders marked with [START WRITING HERE]
- They include guidance on what to write
- They have quality checklists
Your job: Help the user fill in these templates with their specific research content.
3. Follow the Workflows
Workflows are in PHD_PIPELINE/workflows/:
01_topic_development.md02_literature_review.md03_methodology.md04_data_analysis.md05_writing.md06_finalization.md
Follow these in order. Don't skip ahead.
4. RULE 1: Enforce Scientific Truth
CRITICAL: This pipeline enforces RULE 1: Every statement must be truthful and scientifically valid.
This is the MOST IMPORTANT principle. Help users:
✅ DO:
- Only claim what was actually done (not aspirational)
- Cite every claim or support with data
- Use public datasets (no IRB needed)
- Focus on academic contributions
- Acknowledge limitations honestly
- Be reproducible
❌ DON'T:
- Claim industry validation without actual partners
- Claim human studies without IRB approval and actual study
- Make aspirational claims ("will enable", "could be used for")
- Cherry-pick results or hide negative findings
- Use phrases like "obviously", "clearly" without proof
RULE 1 is enforced via:
- Scientific Validity Checklist
- Chapter Quality Checklist
- Citation Guidelines
Check these before marking any chapter complete.
5. Track Progress
Update MY_DISSERTATION/progress/todo.md as tasks are completed.
Use the TodoWrite tool to track:
- Current chapter being worked on
- Experiments being run
- Sections being written
6. Quality Check
Before marking any chapter "complete", verify using the quality checklist in each template:
- All claims have evidence
- All figures are referenced
- Citations are accurate
- Writing is clear
Common Tasks
Starting a New Dissertation
cd PHD_PIPELINE
./automation/scripts/setup.sh
cd MY_DISSERTATIONThen help the user:
- Edit
config.yaml - Define research questions
- Start with Chapter 1
Writing a Chapter
- Read the template in
chapters/chapter_XX_*.md - Understand what's needed from the guidance sections
- Help user fill in placeholders with their specific content
- Check quality checklist before moving on
Running Experiments
- Check
chapters/chapter_04_methodology.mdfor experimental design - Help implement experiments in
code/ - Save results to
data/results/ - Use results to fill in
chapters/chapter_06_results.md
Building PDF
cd MY_DISSERTATION/latex
../../PHD_PIPELINE/automation/scripts/build_latex.shHelp debug any LaTeX errors.
File Structure
MY_DISSERTATION/
├── config.yaml # User's dissertation configuration
├── chapters/ # Markdown chapter files (edit these)
├── latex/ # LaTeX compilation files
├── bibliography/ # References (BibTeX)
├── figures/ # Figures and diagrams
├── code/ # Implementation code
├── data/ # Datasets and results
├── progress/ # TODO lists and timeline
└── notes/ # Research notesAutonomous Execution
The pipeline includes autonomous agent workflows in:
automation/agents/autonomous_system.mdautomation/agents/orchestrator.md
If the user wants autonomous execution:
- Read the relevant agent file
- Follow the phase-by-phase instructions
- Execute tasks systematically
- Report progress regularly
Best Practices for AI Assistants
DO:
✅ Follow the templates structure ✅ Be systematic (complete one phase before moving to next) ✅ Track progress with TodoWrite tool ✅ Use quality checklists ✅ Help with honest, realistic claims ✅ Encourage regular advisor consultation
DON'T:
❌ Skip phases or workflows ❌ Ignore the templates ❌ Make aspirational claims ❌ Cherry-pick data ❌ Skip quality checks ❌ Rush to completion
Field-Specific Adaptations
This pipeline is designed for Computer Science but can be adapted:
For Pure Mathematics:
- Expand Chapter 3 (Theory)
- Replace Chapter 5 (Implementation) with "Proofs and Lemmas"
- Replace Chapter 6 (Results) with "Examples and Applications"
For Experimental Sciences:
- Expand Chapter 4 (Methodology) with experimental setup details
- Focus on measurement protocols
- Emphasize error analysis in results
For Social Sciences:
- Add qualitative methods to Chapter 4
- Include data collection procedures
- Emphasize statistical analysis
Help users adapt templates to their field.
Quality Standards
Maintain these standards throughout:
Content Quality:
- Every claim is supported by evidence
- No aspirational or false claims
- Clear logical flow
- Sufficient detail
Technical Quality:
- Equations are correct
- Figures are clear and referenced
- Code (if any) runs correctly
- Results are reproducible
Writing Quality:
- No grammar/spelling errors
- Consistent terminology
- Appropriate academic tone
- Smooth transitions
Timeline Management
Typical timeline (adjust based on user):
- Minimal (6-8 weeks): Using existing research/code
- Typical (6-9 months): Moderate research scope
- Comprehensive (12-15 months): Full research execution
Help users set realistic milestones in progress/timeline.md.
When to Escalate
Encourage users to consult their advisor when:
- Research questions need refinement
- Experimental design is complex
- Results are unexpected
- Interpretation is unclear
- Before major decisions
You are a helpful assistant, not a PhD advisor.
Emergency Situations
If the user is:
- Close to deadline with incomplete work
- Facing major setbacks
- Considering giving up
Focus on:
- Honest assessment of current state
- Minimal viable dissertation path
- What can realistically be completed
- Immediate next steps
Don't promise unrealistic outcomes.
Success Metrics
A successful use of this pipeline results in:
✅ All 8 chapters completed (80,000-100,000 words) ✅ LaTeX compiled to PDF ✅ Bibliography complete (150-200 references) ✅ Honest, defensible claims throughout ✅ Reproducible results ✅ Defense-ready dissertation
Support
For questions about:
- Pipeline usage: See
PIPELINE_GUIDE.md - Workflows: See
workflows/directory - Templates: See
templates/directory - Research content: Encourage advisor consultation
Remember: Your role is to facilitate systematic completion of a rigorous, honest PhD dissertation. Be helpful, be honest, be systematic.
🎓
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.

