commit 02636af205ba197084f7eb1ba0697823f2d72ef6 Author: zlei9 Date: Sun Mar 29 13:19:42 2026 +0800 Initial commit with translated description diff --git a/SKILL.md b/SKILL.md new file mode 100644 index 0000000..063a2c7 --- /dev/null +++ b/SKILL.md @@ -0,0 +1,38 @@ +--- +name: arxiv-watcher +description: "搜索和总结ArXiv论文。" +--- + +# ArXiv Watcher + +This skill interacts with the ArXiv API to find and summarize the latest research papers. + +## Capabilities + +- **Search**: Find papers by keyword, author, or category. +- **Summarize**: Fetch the abstract and provide a concise summary. +- **Save to Memory**: Automatically record summarized papers to `memory/RESEARCH_LOG.md` for long-term tracking. +- **Deep Dive**: Use `web_fetch` on the PDF link to extract more details if requested. + +## Workflow + +1. Use `scripts/search_arxiv.sh ""` to get the XML results. +2. Parse the XML (look for ``, ``, `<summary>`, and `<link title="pdf">`). +3. Present the findings to the user. +4. **MANDATORY**: Append the title, authors, date, and summary of any paper discussed to `memory/RESEARCH_LOG.md`. Use the format: + ```markdown + ### [YYYY-MM-DD] TITLE_OF_PAPER + - **Authors**: Author List + - **Link**: ArXiv Link + - **Summary**: Brief summary of the paper and its relevance. + ``` + +## Examples + +- "Busca los últimos papers sobre LLM reasoning en ArXiv." +- "Dime de qué trata el paper con ID 2512.08769." +- "Hazme un resumen de las novedades de hoy en ArXiv sobre agentes." + +## Resources + +- `scripts/search_arxiv.sh`: Direct API access script. diff --git a/_meta.json b/_meta.json new file mode 100644 index 0000000..02ac10a --- /dev/null +++ b/_meta.json @@ -0,0 +1,6 @@ +{ + "ownerId": "kn7c8ew58zsqxsn7a50925ypk97zzatv", + "slug": "arxiv-watcher", + "version": "1.0.0", + "publishedAt": 1769434876997 +} \ No newline at end of file diff --git a/scripts/search_arxiv.sh b/scripts/search_arxiv.sh new file mode 100644 index 0000000..5bdd79a --- /dev/null +++ b/scripts/search_arxiv.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +# scripts/search_arxiv.sh +QUERY=$1 +COUNT=${2:-5} +# Use curl to query ArXiv API +curl -sL "https://export.arxiv.org/api/query?search_query=all:$QUERY&start=0&max_results=$COUNT&sortBy=submittedDate&sortOrder=descending"