← Back to list

distill
by grahama1970
⭐ 1🍴 0📅 Jan 20, 2026
SKILL.md
name: distill description: > Distill PDF, URL, or text into Q&A pairs stored in memory. Use --context for domain-focused extraction. allowed-tools: Bash, Read, WebFetch triggers:
- distill this
- distill this pdf
- distill this paper
- extract knowledge from
- remember this paper
- store this research
- learn from this document
- ingest this pdf metadata: short-description: Distill content into Q&A pairs for memory
Distill Skill
Distill PDF, URL, or text into Q&A pairs and store in memory.
Happy Path
# Distill a PDF into memory
./run.sh --file paper.pdf --scope research
# With domain focus (recommended for better relevance)
./run.sh --file paper.pdf --scope research --context "ML researcher"
# Preview before storing
./run.sh --file paper.pdf --dry-run
# From URL
./run.sh --url https://example.com/article --scope web
Parameters
| Flag | Description |
|---|---|
--file | PDF, markdown, or text file |
--url | URL to fetch and distill |
--scope | Memory scope (default: research) |
--context | Domain focus, e.g. "security expert" |
--dry-run | Preview without storing |
--json | JSON output |
--sections-only | Extract sections only (no Q&A) |
What It Does
- Extract content from PDF/URL/text
- Split into logical sections
- Generate Q&A pairs via LLM
- Validate answers are grounded in source
- Store to memory via
memory-agent learn
Examples
# Research paper
./run.sh --file arxiv_paper.pdf --scope research --context "ML researcher"
# Technical documentation
./run.sh --file api_docs.md --scope project --context "backend developer"
# Just extract sections (no Q&A)
./run.sh --file paper.pdf --sections-only --json
Environment Variables (Optional Tuning)
| Variable | Default | Description |
|---|---|---|
DISTILL_PDF_MODE | fast | PDF mode: fast, accurate, auto |
DISTILL_CONCURRENCY | 6 | Parallel LLM requests |
DISTILL_GROUNDING_THRESH | 0.6 | Grounding similarity threshold |
DISTILL_NO_GROUNDING | - | Set to 1 to skip validation |
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon