一键导入
distill
Distill PDF, URL, or text into Q&A pairs stored in memory. Use --context for domain-focused extraction.
Distill PDF, URL, or text into Q&A pairs stored in memory. Use --context for domain-focused extraction.
File-based inter-agent messaging. Check inbox, send bugs/requests to other projects, acknowledge resolved issues. Use for cross-project agent communication.
Search arXiv for academic papers. Use when user says "find papers on", "search arxiv", "look up research", "academic papers about", "what papers exist on", "use your arxiv tool", or asks about scientific/ML research topics.
Step back and critically reassess project state. Use when asked to "assess", "step back", "fresh eyes", "check alignment", "sanity check", "health check", or "evaluate what's working". Offer to run after major changes (don't auto-run).
Free web and local search via Brave Search API. Use when user says "brave search", "search with brave", "brave web search", "brave local search", "local search", "find businesses near", or "near me".
Submit code review requests to multiple AI providers (GitHub Copilot, Anthropic Claude, OpenAI Codex, Google Gemini) and get patches back. Use when user says "code review", "review this code", "get a patch for", or needs AI-generated unified diffs for code fixes.
Fetch up-to-date library documentation from Context7 API. Use when user asks "how do I use this library", "show me docs for", "library documentation", "API reference for", or needs current documentation for any code library.
| 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 PDF, URL, or text into Q&A pairs and store in memory.
# 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
| 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) |
memory-agent learn# 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
| 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 |