一键导入
arxiv-agent
ArXiv research curator agent — bootstraps from agent-sheets/arxiv.md directives. Discovers, downloads, and reports on ML/AI papers from arXiv.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
ArXiv research curator agent — bootstraps from agent-sheets/arxiv.md directives. Discovers, downloads, and reports on ML/AI papers from arXiv.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | arxiv-agent |
| description | ArXiv research curator agent — bootstraps from agent-sheets/arxiv.md directives. Discovers, downloads, and reports on ML/AI papers from arXiv. |
| trigger | /arxiv-agent |
Loads: wiki/scratchpad/agent-sheets/arxiv.md for full directives
Wiki root: /home/ty/Documents/LLM-WIKI
Paper storage: /home/ty/Documents/paper-research/
wiki/scratchpad/agent-sheets/arxiv.mdwiki/scratchpad/jobs/sheet.md#research Discord channelAfter writing your carryover, load the kanban-morning-review skill:
wiki/scratchpad/jobs/reports/arxiv/carryover.mdsearch_files or mcp_project_synapse_wiki_search for existing content on the topicmcp_project_synapse_synapse_recall for relevant episodic factshermes kanban add to create the task (the skill handles this)mcp_arxiv_mcp_server_search_papers — search arXiv by keyword/author/category (MCP, try first; fallback to curl on 429 or timeout)terminal + curl — download PDFs to /home/ty/Documents/paper-research/ (bypasses MCP rate limits; always use absolute paths)write_file — write wiki source pages directly to the filesystem (creates parent dirs automatically)wiki_fetch_url — ingest web sourcesmcp tools — wiki_write_page, wiki_read_page, wiki_search, wiki_lint, etc. when MCP is availabledelegate_task is NOT available in this environment. Do NOT list it as a subagent tool. Write wiki pages directly from the main agent context. If parallel research is needed, use separate terminal() calls or run papers sequentially.
/home/ty/Documents/paper-research/ — never write PDFs to wiki folder or Obsidian vault/home/ty/Documents/paper-research/ so the file goes to the correct location regardless of workdirls -la /home/ty/Documents/paper-research/{id}.pdf to confirm the file landed in the correct place, not in the current workdir& in Foreground CallsWiki: /home/ty/Documents/LLM-WIKI/ Agent sheet: wiki/scratchpad/agent-sheets/arxiv.md Jobs sheet: wiki/scratchpad/jobs/sheet.md Reports: wiki/scratchpad/jobs/reports/arxiv/ Paper storage: /home/ty/Documents/paper-research/ Source pages: wiki/sources/papers/ Carryover: wiki/scratchpad/jobs/reports/arxiv/carryover.md
## Discovery — Primary Method (HTML List Pages)
When the arXiv API is rate-limiting or unreachable (which can last hours to days):
```bash
# Get recent paper IDs for a category — this ALWAYS works
curl -s --max-time 10 "https://arxiv.org/list/cs.AI/recent" | \
grep -o '[0-9]\{4\}\.[0-9]\{5\}' | sort -u | head -10
Then use those IDs to look up metadata via the API (try with backoff), or use the PDF URL directly: https://arxiv.org/pdf/{id} — curl download works even when API queries fail.
Flow when API is down:
arxiv.org/list/cs.AI/recent and/or arxiv.org/list/cs.LG/recent for IDspip install pymupdf # install once; may not be in environment
import pymupdf
doc = pymupdf.open(f"/path/to/{arxiv_id}.pdf")
text = "\n".join(page.get_text() for page in doc)
# First 2 pages are usually enough for title, authors, abstract
& in Foreground CallsIf you need to run something in the background, use terminal(background=True) — never use & inside a foreground call. Foreground calls with & return {status: pending_approval} and hang.
# WRONG — will hang on approval_pending:
terminal(command="python3 << 'EOF'\n...script...\nEOF &")
# CORRECT — use a file-based script:
terminal(command="python3 /path/to/script.py", background=True)
# Or for short extractions, run inline (foreground):
write_file(content="import pymupdf\n...", path="/tmp/extract.py")
terminal(command="python3 /tmp/extract.py")
Before downloading PDFs, check whether the paper IDs from a newly discovered batch were already processed in a prior run. arXiv batches are dated by submission date, not processing date — a Friday-UTC batch processed Saturday morning may appear again Monday morning if the Monday run also encounters it.
Check: wiki/sources/papers/ for existing source pages with the same arXiv ID prefix + same batch submission date. If found, skip re-ingesting — update jobs sheet and carryover only.
# Discovery: scrape HTML list page (always works)
curl -s "https://arxiv.org/list/cs.AI/recent" | grep -o '[0-9]\{4\}\.[0-9]\{5\}' | head -10
# Download: direct PDF via curl (bypasses API entirely)
curl -s -L "https://arxiv.org/pdf/{id}" -o "{path}/{id}.pdf" -w "%{http_code}"
if mcp_download → 429 or timeout:
curl -s -L "https://arxiv.org/pdf/{id}" -o {storage_path}/{id}.pdf
One failure = switch to curl. Do NOT retry MCP twice.
#research Discord channel (channel ID: 1505826045511602176)[SILENT]References: references/discovery.md (HTML list page fallback), references/pdf-extraction.md (PyMuPDF pattern), references/obsidian-vault.md (Obsidian vs wiki separation)
The LLM-WIKI wiki directory (/home/ty/Documents/LLM-WIKI/) is separate from the user's Obsidian vault. The arxiv-agent has no access to Obsidian via the wiki path.
| Location | Purpose | Agent access |
|---|---|---|
/home/ty/Documents/LLM-WIKI/ | Wiki source pages (metadata summaries only) | read/write via wiki tools |
/home/ty/Documents/paper-research/ | PDF storage | read/write via terminal |
| Obsidian vault | User's personal notes | no access — do not attempt to read or write |
If you see PDFs appearing in Obsidian, something outside the normal cron/agent workflow is writing them there. The agent itself does not write to Obsidian. Do not attempt cleanup there unless the user explicitly asks.
Every 2h routes unclaimed kanban tasks to agent skills for execution
Morning kanban review — parse all agent carryovers after cron reports, surface open questions as Hermes kanban tasks, update agent status, deliver Discord summary. Creates tasks in hermes kanban (not sheet.md). Proactive: each morning agent cron triggers its own carryover parse.
Ingest pipeline operator agent — bootstraps from agent-sheets/ingest.md directives. Processes raw files from raw/ inbox into structured wiki knowledge.
Wiki Insights Generator — runs Zettelkasten insight generation and integrates results into the LLM-WIKI. Runs daily at 06:00 AM.
Kanban board creation and workflow decomposition persona. Trigger phrases: "orchestrator", "dispatch workers", "kanban workflow creator".
Wiki Librarian agent — bootstraps from agent-sheets/librarian.md directives. Runs structural quality audit, then delegates fix work to librarians-assistant subagent for iterative remediation. Reports what was done, not what needs doing.