arxiv
Overview
Scan arxiv for new papers matching the user's request and produce a compact digest. Favour titles, authors, and a one-sentence takeaway per paper over copy-pasting abstracts wholesale.
Steps
- Decide the scope: a category (e.g.
cs.AI), a specific arxiv id, or a keyword query. Default tocs.AIfor the last 24 hours when the user is vague. - Fetch the list via
read_urlagainst the appropriatehttps://arxiv.org/list/<category>/neworhttps://arxiv.org/abs/<id>URL. For keyword queries preferhttps://export.arxiv.org/api/query?search_query=.... - Parse the titles / authors / abstracts. Skip cross-listings the user already implicitly excluded.
- Produce 3–5 short bullets per paper: title, primary authors, one-line plain-language takeaway. No markdown headings per paper — the chat surface is a messenger, not a document.
- When nothing useful shipped in the requested window, say so plainly rather than padding the reply.
Output format
- Line 1: one-line summary of the scope and count (e.g. "cs.AI, 3 new papers in the last 24 hours").
- One bullet per paper, newest first.
- End with a short "note:" line only when there is a non-obvious caveat (rate-limit hit, partial results, timezone mismatch).
Pitfalls
- The arxiv HTML listing is long; ask
read_urlto truncate at the listing section rather than loading every byte. - The arxiv API occasionally returns 503s — retry once, then report plainly instead of inventing content.
- Do not speculate on experimental claims the abstract does not make.


