当前位置: 首页 > Skill >

Agentic Paper Digest Skill

Agentic Paper Digest Skill

Agentic Paper Digest Skill

获取并汇总最新的arXiv和Hugging Face论文,生成摘要或JSON列表,适用于需要运行arXiv/HF流程时。

0.3.3 2026.11.16 529
获取Skill文件查看使用说明
作 者:苏川 许可证: 更新时间:2026.11.16
本文目录展开

Agentic Paper Digest

When to use

  • Fetch a recent paper digest from arXiv and Hugging Face.
  • Produce JSON output for downstream agents.
  • Run a local API server when a polling workflow is needed.

Prereqs

  • Python 3 and network access.
  • LLM access via OPENAI_API_KEY or an OpenAI-compatible provider via LITELLM_API_BASE + LITELLM_API_KEY.
  • git is optional for bootstrap; otherwise curl/wget (or Python) is used to download the repo.

Get the code and install

  • Preferred: run the bootstrap helper script. It uses git when available or falls back to a zip download.
bash "{baseDir}/scripts/bootstrap.sh"
  • Override the clone location by setting PROJECT_DIR.
PROJECT_DIR="$HOME/agentic_paper_digest" bash "{baseDir}/scripts/bootstrap.sh"

Run (CLI preferred)

bash "{baseDir}/scripts/run_cli.sh"
  • Pass through CLI flags as needed.
bash "{baseDir}/scripts/run_cli.sh" --window-hours 24 --sources arxiv,hf

Run (API optional)

bash "{baseDir}/scripts/run_api.sh"
  • Trigger runs and read results.
curl -X POST http://127.0.0.1:8000/api/run
curl http://127.0.0.1:8000/api/status
curl http://127.0.0.1:8000/api/papers
  • Stop the API server if needed.
bash "{baseDir}/scripts/stop_api.sh"

Outputs

  • CLI --json prints run_id, seen, kept, window_start, and window_end.
  • Data store: data/papers.sqlite3 (under PROJECT_DIR).
  • API: POST /api/run, GET /api/status, GET /api/papers, GET/POST /api/topics, GET/POST /api/settings.

Configuration

Config files live in PROJECT_DIR/config. Environment variables can be set in the shell or via a .env file. The wrappers here auto-load .env from PROJECT_DIR (override with ENV_FILE=/path/to/.env).

Environment (.env or exported vars)

  • OPENAI_API_KEY: required for OpenAI models (litellm reads this).
  • LITELLM_API_BASE, LITELLM_API_KEY: use an OpenAI-compatible proxy/provider.
  • LITELLM_MODEL_RELEVANCE, LITELLM_MODEL_SUMMARY: models for relevance and summarization (summary defaults to relevance model if unset).
  • LITELLM_TEMPERATURE_RELEVANCE, LITELLM_TEMPERATURE_SUMMARY: lower for more deterministic output.
  • LITELLM_MAX_RETRIES: retry count for LLM calls.
  • LITELLM_DROP_PARAMS=1: drop unsupported params to avoid provider errors.
  • WINDOW_HOURS, APP_TZ: recency window and timezone.
  • ARXIV_CATEGORIES: comma-separated categories (default includes cs.CL,cs.AI,cs.LG,stat.ML,cs.CR).
  • ARXIV_API_BASE, HF_API_BASE: override source endpoints if needed.
  • ARXIV_MAX_RESULTS, ARXIV_PAGE_SIZE: arXiv paging limits.
  • MAX_CANDIDATES_PER_SOURCE: cap candidates per source before LLM filtering.
  • FETCH_TIMEOUT_S, REQUEST_TIMEOUT_S: source fetch and per-request timeouts.
  • ENABLE_PDF_TEXT=1: include first-page PDF text in summaries; requires PyMuPDF (pip install pymupdf).
  • DATA_DIR: location for papers.sqlite3.
  • CORS_ORIGINS: comma-separated origins allowed by the API server (UI use).
  • Path overrides: TOPICS_PATH, SETTINGS_PATH, AFFILIATION_BOOSTS_PATH.

Config files

  • config/topics.json: list of topics with id, label, description, max_per_topic, and keywords. The relevance classifier must output topic IDs exactly as defined here. max_per_topic also caps results in GET /api/papers when apply_topic_caps=1.
  • config/settings.json: overrides fetch limits (arxiv_max_results, arxiv_page_size, fetch_timeout_s, max_candidates_per_source). Updated via POST /api/settings.
  • config/affiliations.json: list of {pattern, weight} boosts applied by substring match over affiliations. Weights add up and are capped at 1.0. Invalid JSON disables boosts, so keep the file strict JSON (no trailing commas).

Mandatory workflow (follow step-by-step)

  1. You first MUST open and read the configuration from the github repo: https://github.com/matanle51/agentic_paper_digest you downloaded:
    • Load config/topics.json, config/settings.json, and config/affiliations.json (if present).
    • Note current topic IDs, caps, and fetch limits before asking the user to change them.
  2. ASK THE USER TO PROVIDE IT'S PREFERENCES ABOUT THE FOLLOWING (HELP THE USER):
    • Topics of interest → update config/topics.json (topics[].id/label/description/keywords, max_per_topic).
      Show current defaults and ask whether to keep or change them.
    • Time window (hours) → set WINDOW_HOURS (or pass --window-hours to CLI) only if the user cares; otherwise keep default to 24h.
    • ASK THE USER TO FILL THE FOLLOWING PARAMETERS (explain the user why are their intent): ARXIV_CATEGORIES, ARXIV_MAX_RESULTS, ARXIV_PAGE_SIZE, MAX_CANDIDATES_PER_SOURCE.
      Ask whether to keep defaults and show the current values.
    • Model/provider → set OPENAI_API_KEY or LITELLM_API_KEY (+ LITELLM_API_BASE if proxy), and set LITELLM_MODEL_RELEVANCE/LITELLM_MODEL_SUMMARY.
    • Do NOT ask by default: timezone, quality vs cost, timeouts, PDF text, affiliation biasing, sources list. Use defaults unless the user requests changes.
  3. Confirm workspace path: Ask where to clone/run. Default to PROJECT_DIR="$HOME/agentic_paper_digest" if the user doesn’t care. Never hardcode /Users/... paths.
  4. Bootstrap the repo: Run the bootstrap script (unless the repo already exists and the user says to skip).
  5. Create or verify .env:
    • If .env is missing, create it from .env.example (in the repo), then ask the user to fill keys and any requested preferences.
    • Ensure at least one of OPENAI_API_KEY or LITELLM_API_KEY is set before running.
  6. Apply config changes:
    • Edit JSON files directly (or use POST /api/topics and POST /api/settings if running the API).
  7. Run the pipeline:
    • Prefer scripts/run_cli.sh for one-off JSON output.
    • Use scripts/run_api.sh only if the user explicitly asks for UI/API access or polling.
  8. Report results:
    • If results are sparse, suggest increasing WINDOW_HOURS, ARXIV_MAX_RESULTS, or broadening topics.

Getting good results

  • Help the user define and keep topics focused and mutually exclusive so the classifier can choose the right IDs.
  • Use a stronger model for summaries than for relevance if quality matters.
  • If using openAI's model, defualy to gpt-5-mini for good tradeoff.
  • Increase WINDOW_HOURS or ARXIV_MAX_RESULTS when results are sparse, or lower them if results are too noisy.
  • Tune ARXIV_CATEGORIES to your research domains.
  • Enable PDF text (ENABLE_PDF_TEXT=1) when abstracts are too thin.
  • Use modest affiliation weights to bias ranking without swamping relevance.
  • BE PROACTIVE AND HELP THE USER TUNE THE SKILL FOR GOOD RESULTS!

Troubleshooting

  • Port 8000 busy: run bash "{baseDir}/scripts/stop_api.sh" or pass --port to the API command.
  • Empty results: increase WINDOW_HOURS or verify the API key in .env.
  • Missing API key errors: export OPENAI_API_KEY or LITELLM_API_KEY in the shell before running.

相关文章

更多
LocalAI 支持 Hugging Face 模型落盘:本地启动与离线验收

LocalAI 新合入改动支持将 Hugging Face 模型工件完整写入本地存储,减少推理运行时对远端仓库的依赖。通过本地启动服务并加载模型,团队可提前备齐文件以适配内网和离线环境。需注意模型落盘不等于全套服务离线可用,需同步准备对应后端镜像并在受限网络下实测验证。

2026.11.08 799
Krafton开源Raon-1 Mini:300亿参数MoE模型,推理激活仅40亿

韩国游戏厂商Krafton于2026年11月25日正式发布自研大语言模型Raon-1 Mini。该模型采用专家混合(MoE)架构,总参数量约300亿,但推理时仅激活约40亿参数,兼顾性能与效率。正式版提供六档推理强度调节,并在MultiChallenge、GDPVal等测试中表现优异,已在Hugging Face以Apache 2.0协议开源。

2026.11.20 702
Hugging Face推理路由改用OpenRouter

Hugging Face宣布将Inference Providers的语言模型请求路由交由OpenRouter处理,停用原有自研路由器。此次变更对开发者透明,现有调用代码无需修改,继续使用原有Token和API即可。OpenRouter根据实时价格、速度和可靠性从80余家服务商中动态选路,并在首选失败时自动重试其他服务商,提升了调用的稳定性和灵活性。

2026.11.04 606
Mellum2.1 Instruct 发布:开源权重与仓库级编程

JetBrains 于 2026 年 11 月 25 日发布 Mellum2.1 Instruct,该模型基于 Apache 2.0 协议开源。作为 Mellum2.1 Thinking 的直接作答版本,Instruct 采用总参数 12B、激活参数 2.5B 的 MoE 架构,专为仓库级 Agent 编程任务设计,强调快速简短输出且不含思维链。用户可通过 Hugging Face 获取权重,建议在日常代码改动和多轮工具调用场景中将其与推理模型对比使用,并务必通过测试验证生成代码的正确性后再行合并。

2026.11.20 467
Hugging Face 模型窃密稿件核对:现有摘录无法佐证

当前提供的网页摘录聚焦于 AWS-LC 库如何支持密码算法的敏捷更替,并未涉及 Hugging Face 平台上的模型窃密事件。由于缺乏 JFrog 对 ARTEX 的安全披露、Hugging Face 仓库处置说明或相关新闻报道正文,现有材料无法支撑关于模型上传、凭证泄露及仓库下线等具体安全事件的核实与报道。

2026.11.20 216
Skill 文件
  • SKILL.md
    • Agentic Paper Digest
    • When to use
    • Prereqs
    • Get the code and install
    • Run (CLI preferred)
    • Run (API optional)
    • Outputs
    • Configuration
    • Mandatory workflow (follow step-by-step)
    • Getting good results
    • Troubleshooting
  • 项目或源文件

相关 Skill

更多
hugging-face-cli hugging-face-cli 使用 `hf` CLI 执行 Hugging Face Hub 操作。当用户需要下载模型/数据集/空间、向 Hub 仓库上传文件、创建仓库、管理本地缓存,或在
Reachy Mini Reachy Mini 通过 REST API 与 SSH 控制 Reachy Mini 机器人(Pollen Robotics / Hugging Face)。用于移动头部、身体、天线,播放情绪或舞蹈,捕获摄像头快照,调节音量,管理应用,检查状态及任何物理交互。该机器人具 6‑DoF 头部、360° 身体旋转、双可动天线、宽视角摄像头(非侵入式 WebRTC 快照)、4‑mic 阵列和扬声器。
Hugging Face Hugging Face 发现、评估和运行 Hugging Face 模型、数据集和空间,包含许可证检查、基准提示词及可复现的集成方案。
HF Daily Papers (OFR Edition) HF Daily Papers (OFR Edition) 筛选并按六大领域分类推送每日 Hugging Face 热门 OFR 相关论文,支持 Markdown 和 Telegram 格式输出。
Dataset Finder Dataset Finder 使用场景:用户需要搜索数据集、下载数据文件或探索数据仓库时。触发条件:包括"查找数据集"、"搜索数据"、"从Kaggle下载数据集"、"从Hugging Face获取数据"、"查找机器学习数据集"等请求,或提及Kaggle、UCI机器学习库、Data.gov、Hugging Face等数据仓库。也可用于预览数据集统计信息、生成数据卡或发现机器学习项目所需数据集。需要从clawhub.ai安装OpenClawCLI。