Quick Start Guide

April 5, 2026 ยท View on GitHub

Get started with distill-mentor in 3 simple steps.


Step 1: Choose Your API Provider

export ANTHROPIC_API_KEY="sk-ant-..."
export LLM_API="openai"
export OPENAI_API_KEY="sk-..."

๐Ÿ’ก Don't have an API key?


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:

  1. Profile JSON: ~/.claude/mentors/GeoffreyHinton.json

    • Complete structured profile
    • Research themes and methodology
    • Personality and communication style
  2. Skill File: ~/.claude/skills/GeoffreyHinton/SKILL.md

    • Ready-to-use mentor skill
    • Emulates research style and perspectives
    • Provides academic guidance
  3. 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

  1. Cost Control: Start with basic generation (ArXiv only) to test
  2. Better Results: Use --deep-analyze for comprehensive analysis
  3. Chinese Mentors: Works great with Chinese names (e.g., "ๅˆ˜็Ÿฅ่ฟœ")
  4. Affiliation: Helps disambiguate authors with similar names
  5. 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-analyze to include public information

"Unknown skill"

  • Skill names cannot have spaces
  • Use: /GeoffreyHinton not /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"