A personal research knowledge base for Machine Learning and Large Language Models, powered by Claude Code.
This repository organizes research materials (papers, code, documentation) and provides Claude Code skills and commands to facilitate exploration, analysis, and report generation.
mlkb/
├── papers/ # Research papers and paper notes
├── notes/
│ ├── topics/ # In-depth topic notes
│ └── quick-ref/ # Quick reference sheets
├── code-repos/ # Code repository analyses
├── reports/
│ ├── surveys/ # Literature surveys
│ ├── comparisons/ # Comparative analyses
│ └── implementations/ # Implementation guides
├── REFERENCES.md # Master reference index
├── CLAUDE.md # Claude Code project config
└── .claude/
├── skills/ # Auto-triggering skills
└── commands/ # Slash commands
/add-ref https://arxiv.org/abs/1706.03762
/add-ref paper "Attention Is All You Need"
/add-ref repo https://github.com/huggingface/transformers
Drop a PDF or provide a URL, then ask:
- "Summarize the key contributions"
- "What methods does this paper use?"
- "Extract the main results"
Provide a repo URL or path:
- "What's the architecture of this repository?"
- "Where is the attention mechanism implemented?"
- "Generate a technical overview"
/note transformers
/note quick-ref pytorch-tips
/survey attention mechanisms
/compare BERT GPT-2 T5
/search attention
/search transformer architecture
| Command | Description | Example |
|---|---|---|
/add-ref |
Add reference to REFERENCES.md | /add-ref https://arxiv.org/... |
/compare |
Compare papers/methods/repos | /compare BERT GPT T5 |
/survey |
Generate literature survey | /survey LLM alignment |
/note |
Create or update a note | /note fine-tuning |
/search |
Search the knowledge base | /search attention |
These skills activate automatically based on context:
Triggers when analyzing research papers. Extracts:
- Problem statement and contributions
- Methods and algorithms
- Results and benchmarks
- Limitations and future work
Triggers when exploring code repositories. Provides:
- Architecture mapping
- Implementation tracing
- Dependency analysis
- Documentation generation
Triggers when generating reports. Creates:
- Literature surveys
- Comparative analyses
- Implementation guides
papers/YYYY-author-short-title.md
papers/2017-vaswani-attention-is-all-you-need.md
notes/topics/transformer-architecture.md
notes/quick-ref/pytorch-distributed.md
reports/surveys/2026-01-llm-alignment-survey.md
reports/comparisons/attention-mechanisms.md
reports/implementations/lora-fine-tuning-guide.md
code-repos/transformers-analysis.md
code-repos/llama-architecture.md
The knowledge base tracks these reference types in REFERENCES.md:
| Type | Description | Example |
|---|---|---|
| paper | Academic papers, preprints | arXiv, conferences |
| repo | Code repositories | GitHub projects |
| blog | Blog posts, tutorials | Technical blogs |
| doc | Documentation, API refs | Official docs |
| book | Books, chapters | Textbooks |
| dataset | Dataset resources | Benchmarks |
- Add papers:
/add-ref [paper-url] - Analyze each: "Summarize contributions of [paper]"
- Compare:
/compare [paper1] [paper2] - Synthesize:
/survey [topic]
- Add repo:
/add-ref repo [url] - Explore: "What's the structure of this repo?"
- Trace: "How does the training loop work?"
- Document: "Generate architecture documentation"
- Create topic note:
/note [topic] - Add findings as you research
- Link to papers and repos
- Build quick-ref sheets for common patterns
- Keep REFERENCES.md updated as your master index
- Use consistent file naming with dates
- Link related materials across notes
- Tag entries with topics for searchability
- Generate reports incrementally as you learn
Personal research use.