agentic-paper-digest-skill
БесплатноЗапускает вложенные скриптыНе проверенFetches and summarizes recent arXiv and Hugging Face papers with Agentic Paper Digest. Use when the user wants a paper digest, a JSON feed of recent papers…
от lxyeternal★ 68 звёзд на GitHubОб этом скилле
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_KEYor an OpenAI-compatible provider viaLITELLM_API_BASE+LITELLM_API_KEY. gitis optional for bootstrap; otherwisecurl/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
--jsonprintsrun_id,seen,kept,window_start, andwindow_end. - Data store:
data/papers.sqlite3(underPROJECT_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 includescs.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; requiresPyMuPDF(pip install pymupdf).DATA_DIR: location forpapers.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 withid,label,description,max_per_topic, andkeywords. The relevance classifier must output topic IDs exactly as defined here.max_per_topicalso caps results inGET /api/paperswhenapply_topic_caps=1.config/settings.json: overrides fetch limits (arxiv_max_results,arxiv_page_size,fetch_timeout_s,max_candidates_per_source). Updated viaPOST /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)
- Read existing configuration:
- Load
config/topics.json,config/settings.json, andconfig/affiliations.json(if present). - Note current topic IDs, caps, and fetch limits before asking the user to change them.
- Load
- Map user intent to configuration (ask only what’s needed):
- 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-hoursto CLI) only if the user cares; otherwise keep defaults. - Search scope → set
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_KEYorLITELLM_API_KEY(+LITELLM_API_BASEif proxy), and setLITELLM_MODEL_RELEVANCE/LITELLM_MODEL_SUMMARY. - API UI access → set
CORS_ORIGINSonly if the user explicitly wants the UI on a different origin. - Do NOT ask by default: timezone, quality vs cost, timeouts, PDF
- Topics of interest → update
Установить agentic-paper-digest-skill в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл agentic-paper-digest-skill?
Fetches and summarizes recent arXiv and Hugging Face papers with Agentic Paper Digest. Use when the user wants a paper digest, a JSON feed of recent papers, or to run the arXiv/HF pipeline.
Как установить скилл agentic-paper-digest-skill?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл agentic-paper-digest-skill запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
agent-skill-stack
Find, evaluate, and assemble the smallest compatible set of AI Agent Skills for an end-to-end natural-language goal. Use when a user wants Skills for a…
от GitHubbuild-evidence-map
Build an auditable evidence map for a contested technical choice, research synthesis, proposal review, or consequential decision. Use when Copilot must…
от GitHubpinecone-rag
Build production RAG pipelines and persistent agent memory using Pinecone as the vector database backend. ALWAYS USE THIS SKILL when the user mentions…
от GitHubqdrant-monitoring-debugging
Diagnoses Qdrant production issues using metrics and observability tools. Use when someone reports 'optimizer stuck', 'indexing too slow', 'memory too high'…
от GitHub