arxiv-scout
Purpose
Monitors arXiv for newly submitted papers tagged with agentic AI or MCP keywords. Appends deduplicated markdown notes to a local knowledge-base file.
Runbook
- Verify that
curl,jq, andpython3are available; abort if any are missing. - Confirm
MEMORY_PATHpoints to a writable file (create it empty if absent). - Run
scripts/fetch.shto query the arXiv Atom API for papers matching:ti:agentic OR ti:MCP OR abs:model-context-protocol OR abs:agentic-AIwithmax_results=20ordered bysubmittedDatedescending. - Inspect the returned JSON: each entry should have
id,title,authors,published,summary, andlink. - Run
scripts/sync-notes.shto deduplicate against existing entries inMEMORY_PATHby arxiv ID, then append new formatted notes. - Print a summary: N new papers appended, M duplicates skipped.
- Optionally, if
TELEGRAM_BOT_TOKENandTELEGRAM_CHAT_IDare set, send the summary line to Telegram viacurl.
Stop conditions
- Abort if
curlorjqis missing from PATH. - Abort if
MEMORY_PATHis unset or resolves to a directory. - Abort if the arXiv API returns HTTP status other than 200 (unless
MOCK_MODE=1). - Never overwrite
MEMORY_PATH— only append; abort if the file is not writable.
Output format
{
"fetched": 20,
"new": 5,
"skipped": 15,
"appended_ids": ["2406.12345", "2406.12346"],
"memory_path": "/path/to/MEMORY.md"
}
A markdown note block per new paper is appended to MEMORY_PATH:
## [2406.12345] Agentic AI for Code Review
**Authors**: Alice Smith, Bob Jones
**Published**: 2024-06-15
**Summary**: We present a multi-agent framework for automated code review...
**Link**: https://arxiv.org/abs/2406.12345
Example invocations
MEMORY_PATH=~/notes/MEMORY.md skills/arxiv-scout/scripts/run.shMOCK_MODE=1 skills/arxiv-scout/scripts/fetch.sh- "Run arxiv-scout and tell me what new MCP papers were published this week."
- "Check arXiv for agentic AI papers and append summaries to my knowledge base."