-
Notifications
You must be signed in to change notification settings - Fork 209
Expand file tree
/
Copy path.env.example
More file actions
98 lines (88 loc) · 4.93 KB
/
Copy path.env.example
File metadata and controls
98 lines (88 loc) · 4.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# ============================================================================
# ΩmegaWiki — Environment Variables
# ============================================================================
# Copy this file: cp .env.example .env
# Then fill in the values below. Lines starting with # are comments.
#
# Required vs Optional:
# ANTHROPIC_API_KEY — REQUIRED (handled by Claude Code login)
# SEMANTIC_SCHOLAR_API_KEY — Optional (recommended for 100+ papers)
# DEEPXIV_TOKEN — Optional (auto-registers if not set)
# ============================================================================
# --- Anthropic API Key (REQUIRED) -------------------------------------------
# How Claude Code works: it needs an Anthropic API key for LLM calls.
# You do NOT set this here. Instead, run:
# claude login
# Claude Code will handle authentication automatically.
# For GitHub Actions (CI/CD), add ANTHROPIC_API_KEY to repo Settings → Secrets,
# or add CLAUDE_CODE_OAUTH_TOKEN generated with `claude setup-token`.
# --- Semantic Scholar API Key (Optional, recommended) -----------------------
# What it does: Citation graph lookup (who cites this paper, what does it cite)
# Used by: /ingest (citation count, importance scoring)
# /novelty (keyword search for similar work)
# /ideate (find high-citation papers in a field)
# /init (discover papers by topic)
#
# How to get: 1. Go to https://www.semanticscholar.org/product/api
# 2. Click "Request API Key" (free, instant approval)
# 3. Copy the key and paste below
#
# Free tier: 100 requests/minute, no daily limit
# Without key: Still works, but rate-limited to 1 request per 3 seconds
# (with key: 1 request per second)
SEMANTIC_SCHOLAR_API_KEY=
# --- DeepXiv Token (Optional, auto-registers) -------------------------------
# What it does: Semantic paper search (BM25 + vector), AI-generated paper
# summaries (TLDR), progressive reading, trending papers
# Used by: /daily-arxiv (trending papers, TLDR for scoring)
# /novelty (hybrid semantic search)
# /ideate (landscape scan, trending)
# /ingest (TLDR, paper structure, social impact)
# /init (semantic paper discovery)
#
# How to get: Option A (automatic): Leave blank. First API call will
# auto-register a token and save it to ~/.env
# Option B (manual): Run setup.sh which handles registration
# Option C: Go to https://data.rag.ac.cn/register
#
# Free tier: 1,000 requests/day (auto-registered)
# For higher limits, email tommy@chien.io
# Without token: /daily-arxiv and others fall back to arXiv RSS + Semantic
# Scholar only. All skills work, just without semantic search.
DEEPXIV_TOKEN=
# --- Review LLM (Optional, OpenAI-compatible) ------------------------------
# What it does: Powers the /review skill and cross-model review in /ideate,
# /novelty, /exp-eval, /paper-plan, /paper-draft, /rebuttal, etc.
# Uses a second LLM to independently critique research artifacts.
# Also powers /daily-arxiv recommendation in CI inform mode
# when Claude Code is not configured there.
# Used by: /review, /novelty, /ideate, /exp-eval, /exp-design,
# /paper-plan, /paper-draft, /rebuttal, /refine, /daily-arxiv
#
# Works with ANY OpenAI-compatible API. Common providers:
#
# Provider | LLM_BASE_URL | Example LLM_MODEL
# ------------- | ---------------------------------------------------------- | -----------------
# DeepSeek | https://api.deepseek.com/v1 | deepseek-chat
# OpenAI | https://api.openai.com/v1 | gpt-4o
# OpenRouter | https://openrouter.ai/api/v1 | (any model slug)
# Qwen | https://dashscope.aliyuncs.com/compatible-mode/v1 | qwen-max
# SiliconFlow | https://api.siliconflow.cn/v1 | (see docs)
#
# How to set up:
# 1. Get an API key from your chosen provider
# 2. Fill in the three variables below
# 3. Restart Claude Code (the MCP server will auto-load these from .env)
#
# Without this: Skills that use cross-model review will skip the review step
# and proceed with Claude-only analysis. Everything still works,
# but you lose the independent second-opinion benefit.
LLM_API_KEY=
LLM_BASE_URL=
LLM_MODEL=
# LLM_FALLBACK_MODEL= # Optional: fallback model if primary fails (defaults to LLM_MODEL)
# --- arXiv Categories (Optional) --------------------------------------------
# Which arXiv categories to monitor in /daily-arxiv.
# Default: cs.LG,cs.CV,cs.CL,cs.AI,stat.ML
# Full list: https://arxiv.org/category_taxonomy
# ARXIV_CATEGORIES=cs.LG,cs.CV,cs.CL,cs.AI,stat.ML