Quick Start Guide
April 5, 2026 ยท View on GitHub
Get started with distill-mentor in 3 simple steps.
Step 1: Choose Your API Provider
Option A: Anthropic Claude (Recommended for Quality)
export ANTHROPIC_API_KEY="sk-ant-..."
Option B: OpenAI (Recommended for Cost)
export LLM_API="openai"
export OPENAI_API_KEY="sk-..."
๐ก Don't have an API key?
- Anthropic: https://console.anthropic.com/
- OpenAI: https://platform.openai.com/api-keys
Step 2: Generate a Mentor Skill
Basic Generation (ArXiv papers only)
node tools/skill-generator.mjs "Geoffrey Hinton" --affiliation "University of Toronto"
With Deep Analysis (includes public information)
node tools/skill-generator.mjs "Geoffrey Hinton" --affiliation "University of Toronto" --deep-analyze
With Uploads (includes additional materials)
# Place files in uploads directory
cp research_paper.pdf ~/.claude/uploads/pdfs/
cp interview_notes.md ~/.claude/uploads/markdown/
# Generate skill with uploads
node tools/skill-generator.mjs "Geoffrey Hinton" --affiliation "University of Toronto"
Supported upload types:
- Text (.txt, .text)
- Markdown (.md)
- PDF (.pdf)
- Email (.eml, .mbox)
- Images (.png, .jpg, .jpeg, .gif, .webp)
- Feishu exports (.json)
See UPLOAD_GUIDE.md for details.
Step 3: Use Your Mentor Skill
Once generated, interact with your mentor:
# Using Claude Code CLI
/GeoffreyHinton What are your research interests?
Or load the skill and ask questions:
/GeoffreyHinton
Then ask: What do you think about the future of AI?
๐ What You Get
After generation, you'll have:
-
Profile JSON:
~/.claude/mentors/GeoffreyHinton.json- Complete structured profile
- Research themes and methodology
- Personality and communication style
-
Skill File:
~/.claude/skills/GeoffreyHinton/SKILL.md- Ready-to-use mentor skill
- Emulates research style and perspectives
- Provides academic guidance
-
Analysis Report:
reports/Geoffrey_Hinton_deep_analysis.json- Raw analysis data
- Source materials
- Confidence levels
๐ฏ Example Workflow
# 1. Set API key
export ANTHROPIC_API_KEY="sk-ant-..."
# 2. Generate mentor skill
node tools/skill-generator.mjs "Yann LeCun" --affiliation "NYU" --deep-analyze
# 3. Use the mentor
/YannLeCun What's your approach to computer vision?
๐ง Switching APIs
Want to try a different API? Just switch environment variables:
# From Anthropic to OpenAI
export LLM_API="openai"
export OPENAI_API_KEY="sk-..."
# Regenerate the skill
node tools/skill-generator.mjs "Geoffrey Hinton" --affiliation "University of Toronto" --deep-analyze
๐ก Tips
- Cost Control: Start with basic generation (ArXiv only) to test
- Better Results: Use
--deep-analyzefor comprehensive analysis - Chinese Mentors: Works great with Chinese names (e.g., "ๅ็ฅ่ฟ")
- Affiliation: Helps disambiguate authors with similar names
- Multiple Mentors: Generate as many as you want!
๐ Next Steps
- Full Configuration: See
API_CONFIGURATION.md - Implementation Details: See
IMPLEMENTATION_STATUS.md - Bug Reports: See
BUG-FIX-REPORT.md - Project README: See
README.md
๐ Troubleshooting
"API key not set"
# Check which provider is configured
node tools/test-api-config.mjs
# Set the appropriate key
export ANTHROPIC_API_KEY="..." # or OPENAI_API_KEY
"No papers found"
- ArXiv API might be rate-limited
- Try again in a few minutes
- Or use
--deep-analyzeto include public information
"Unknown skill"
- Skill names cannot have spaces
- Use:
/GeoffreyHintonnot/Geoffrey Hinton
๐ ไธญๆๅฟซ้ๅ่ / Chinese Quick Reference
ๅบๆฌ็จๆณ / Basic Usage
# 1. ่ฎพ็ฝฎ API ๅฏ้ฅ / Set API key
export ANTHROPIC_API_KEY="sk-ant-..."
# ๆไฝฟ็จ OpenAI / Or use OpenAI:
export LLM_API="openai"
export OPENAI_API_KEY="sk-..."
# 2. ็ๆๅฏผๅธๆ่ฝ / Generate mentor skill
node tools/skill-generator.mjs "Geoffrey Hinton" --affiliation "University of Toronto"
# 3. ไฝฟ็จๅฏผๅธๆ่ฝ / Use mentor skill
/GeoffreyHinton ไฝ ๅๆฌขไปไนๆ ท็็ ็ฉถ๏ผ
ๆฏๆ็ API / Supported APIs
- Anthropic Claude (้ป่ฎคๆจ่ / Recommended for quality)
- OpenAI (ๆๆฌๆดไฝ / Lower cost)
่ฏฆ่ง: API_CONFIGURATION.md
Ready to distill your first mentor? ๐
export ANTHROPIC_API_KEY="your-key-here"
node tools/skill-generator.mjs "Geoffrey Hinton" --affiliation "University of Toronto"