Daily arxiv

From Lambenthan/empiricalwiki · View interactive version

Daily arxiv is an AI agent skill from the GitHub repository Lambenthan/empiricalwiki. Daily arXiv pull, relevance filtering, auto-ingest of high-priority papers, and SOTA update detection

How to use this skill

Skill file

/daily-arxiv

Pulls new papers from arXiv RSS daily, automatically assesses relevance based on research directions and concepts in the wiki,

calls /ingest to fully incorporate highly relevant papers into the wiki, detects SOTA updates, and generates a digest log.

Supports cron-scheduled automatic execution as well as manual triggering.

Inputs

Outputs

Wiki Interaction

Reads

Writes

Graph edges created

Workflow

Pre-conditions: confirm the working directory is the wiki project root (directory containing wiki/, raw/, tools/).

Set WIKI_ROOT=wiki/.

Step 1: Pull arXiv RSS + Trending Papers

  1. Run fetch_arxiv.py to get the new paper list:

```bash

python3 tools/fetch_arxiv.py --hours <hours> -o /tmp/arxiv_feed.json

```

  1. Fetch DeepXiv trending papers (past 7 days):

```bash

python3 tools/fetch_deepxiv.py trending --days 7 --limit 20

```

Merge trending papers into the candidate list (deduplicated by arxiv_id); trending papers receive extra attention in subsequent scoring.

If DeepXiv is unavailable: skip this sub-step, use RSS results only.

  1. Parse results to obtain the paper list (title, abstract, authors, arxiv_url, arxiv_id, category)
  2. Deduplication: read wiki/index.md, skip papers whose arXiv URL is already in the wiki. Also check existing arxiv IDs in the wiki/papers/ directory.
  3. If no new papers, skip directly to Step 6 to generate an empty digest.

Step 2: Build Relevance Context + DeepXiv Enhancement

  1. Read wiki/topics/*.md and extract for each topic:
  1. Read wiki/concepts/*.md and extract for each concept:
  1. Read wiki/graph/open_questions.md for the current knowledge gap list
  2. Synthesize a "research direction summary" (≤ 2000 characters) containing: core topics, active concepts, gaps to fill
  3. DeepXiv TLDR enhancement (optional): for each new paper, fetch an AI summary and keywords to improve scoring quality:

```bash

python3 tools/fetch_deepxiv.py brief <arxiv_id>

```

Supplement the original abstract with the returned tldr and keywords to help the LLM judge relevance more precisely.

If DeepXiv is unavailable: use only the RSS original title + abstract for scoring (fallback to original behavior).

Step 3: Relevance Scoring

For each new paper, LLM assesses relevance based on title and abstract vs. the research direction summary:

| Score | Meaning | Action |

|------|------|----------|

| 3 | Highly relevant: significant advance in a core direction | Auto-ingest |

| 2 | Moderately relevant: worth noting but not core | List in digest, do not auto-ingest |

| 1 | Weakly relevant: for reference only | Collapsed listing |

| 0 | Not relevant | Skip |

Bonus rules (can promote a score of 2 to 3):

Batch scoring: submit all papers' title+abstract to the LLM in a single call and return scores as JSON. Avoid per-paper calls.

Step 4: Auto-Ingest High-Priority Papers (with checkpoint resume)

  1. Filter papers with relevance = 3, sorted by the following priority:
  1. Load checkpoint (skip already-completed papers if one exists):

```bash

python3 tools/research_wiki.py checkpoint-load wiki/ "daily-arxiv-{date}"

```

  1. Take the first --max-ingest papers (default 5). For each selected paper:

```bash

python3 tools/init_discovery.py download --raw-root raw --arxiv-id <arxiv_id> --title "<title>"

```

```bash

python3 tools/research_wiki.py checkpoint-save wiki/ "daily-arxiv-{date}" "{arxiv_id}"

```

```bash

python3 tools/research_wiki.py checkpoint-save wiki/ "daily-arxiv-{date}" "{arxiv_id}" --failed

```

  1. If --dry-run, skip both the raw/discovered/ download and the actual ingest; mark "would ingest" in the digest
  2. After all done, clear checkpoint:

```bash

python3 tools/research_wiki.py checkpoint-clear wiki/ "daily-arxiv-{date}"

```

Step 5: SOTA Detection and Update

  1. For each paper ingested in Step 4, check the benchmark numbers in its Results section
  2. Compare benchmarks against the ## SOTA tracker in the corresponding wiki/topics/ page
  3. If the paper's results beat the current SOTA record:

```

```

  1. If SOTA updates are detected, highlight them in the digest

Step 6: Generate Digest and Write to Log

  1. Rebuild graph derived files (only if any ingest happened):

```bash

python3 tools/research_wiki.py rebuild-context-brief wiki/

python3 tools/research_wiki.py rebuild-open-questions wiki/

```

  1. Append digest to wiki/log.md:

```bash

python3 tools/research_wiki.py log wiki/ "daily-arxiv | {N_ingested} ingested, {N_relevant} relevant / {N_total} total"

```

  1. Append detailed digest below the current day's log entry:

```markdown

### High Priority (ingested)

### Worth Watching (relevance = 2)

### Trending This Week (from DeepXiv)

### SOTA Updates

<details>

<summary>Weakly Relevant ({K} papers)</summary>

</details>

```

Step 7: Report to User

Output summary:

Constraints

Error Handling

Dependencies

Skills(via Skill tool)

Tools(via Bash)

External APIs

Scheduling

```

CronCreate: schedule "/daily-arxiv" daily at 08:00

```

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.