Thank you for your interest in contributing! This project aims to democratize scientific research by providing autonomous research capabilities to anyone with access to Claude Code.
The most valuable contribution is running the Cortex agent between your research sessions. Cortex analyzes past sessions, diagnoses issues, and generates improvements.
# After finishing a research session:
./session.sh cortex
# When Claude opens, run:
/cortexCortex will:
- Trace what actually happened in prior sessions
- Identify failure patterns and inadequacies
- Generate fixes and improvements
- Commit changes with clear messages
Then submit your improvements as a PR!
Found a bug or have a suggestion? Open an issue with:
- Clear description of the problem
- Steps to reproduce (if applicable)
- Session ID or transcript excerpt (if relevant)
- Expected vs actual behavior
PRs are welcome for:
- Bug fixes
- New skills or agents
- Improved prompts
- Documentation
- Test coverage
# Clone the repository
git clone https://github.com/rhowardstone/Claude-Code-Scientist.git
cd Claude-Code-Scientist
# Install dependencies
pip install -e ".[dev]"
# Run tests
python -m pytest tests/ -v- Follow PEP 8
- Type hints encouraged (not required)
- Docstrings for public functions
- Keep files focused (single responsibility)
- Clear, actionable instructions
- Document "why" not just "what"
- Include failure modes and how to handle them
- Add battle scars to
.claude/docs/CORE.mdwhen you learn something
type: Short description
Longer explanation if needed.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Types: fix, feat, docs, test, refactor, perf
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Make your changes
- Run tests (
python -m pytest tests/ -v) - Commit with clear messages
- Push to your fork
- Open a PR against
main
- Tests pass
- No new pyright errors in changed files
- Documentation updated if needed
- No absolute paths or machine-specific config
- No API keys or secrets committed
./session.sh new "Your research goal here"
claude./session.sh list
./session.sh resume <session_id>
claude./session.sh cortex
# In Claude:
/cortexClaude Code Scientist
├── .claude/
│ ├── CLAUDE.md # Research Director prompt
│ ├── agents/ # Specialized subagents
│ ├── skills/ # Orchestration workflows
│ ├── hooks/ # Validation automation
│ ├── rules/ # Conventions
│ └── docs/ # Battle scars, architecture
│
├── craig/ # Python utilities
│ ├── literature/ # Literature search & KG
│ ├── pipeline/ # Phase implementations
│ └── cli/ # Command-line tools
│
├── mcp-servers/ # MCP server for literature
└── workspace/ # Session artifacts (gitignored)
- Provenance is everything - Every claim needs DOI + quote + page
- No simulation trap - Run actual tools, not simulations
- Honesty over completion - Missing evidence > false evidence
- Open access only - No SciHub or pirated papers
- Local-first - Minimize API calls where possible
- Open an issue for bugs or feature requests
- Check existing issues before creating new ones
- Be respectful and constructive
By contributing, you agree that your contributions will be licensed under the MIT License.