Use when Claude Code needs to fetch recent papers by configurable keywords and write a Markdown digest to a chosen output_path.
Use sh scripts/run_cli.sh to resolve a compatible Python automatically, then run the shared paper-daily-fetch pipeline CLI to discover, enrich, rank, and render a Markdown digest to output_path.
topic: topic name in config/paper_fetch.tomldays: optional lookback window overridelimit: optional top N overrideoutput_path: Markdown destinationsh scripts/run_cli.sh pipeline daily --config config/paper_fetch.toml --topic <topic> --days <days> --limit <limit> --include-seen --output /tmp/rank.json
sh scripts/run_cli.sh annotate --input /tmp/rank.json --annotations /tmp/annotations.json --output /tmp/annotated.json
sh scripts/run_cli.sh render --target markdown --input /tmp/annotated.json --output <output_path>
For step-by-step debugging:
sh scripts/run_cli.sh discover --config config/paper_fetch.toml --topic <topic> --days <days> --output /tmp/discover.json
sh scripts/run_cli.sh enrich --config config/paper_fetch.toml --input /tmp/discover.json --output /tmp/enrich.json
sh scripts/run_cli.sh rank --config config/paper_fetch.toml --topic <topic> --input /tmp/enrich.json --limit <limit> --output /tmp/rank.json
sh scripts/run_cli.sh annotate --input /tmp/rank.json --annotations /tmp/annotations.json --output /tmp/annotated.json
sh scripts/run_cli.sh render --target markdown --input /tmp/annotated.json --output <output_path>
sh scripts/resolve_python.sh.annotate, create /tmp/annotations.json with the following schema — one entry per paper using the arxiv_id values returned by the previous step:{
"papers": [
{
"arxiv_id": "<id from rank output>",
"summary_zh": "<full faithful Chinese translation of the English abstract — not a compressed summary>",
"positive_take": "<one sentence: the paper's key contribution in positive framing>",
"critical_take": "<one sentence: a sharp, honest critique compared with prior work>"
}
]
}
output_path as the final artifact path.--include-seen so the digest is reproducible.