Search arXiv papers and build author collaboration networks. Trigger: 'search for papers about [keyword]', 'find latest papers on [topic]', 'build a collaboration network for [domain]', 'search [N] papers about [topic]'
A specialized Skill that automates arXiv paper retrieval via arXiv API and constructs social network graphs from author collaborations.
Extract the search keywords from the user's request. Identify the target research domain or topic.
Examples:
Use the arXiv API to fetch papers matching the query.
API Endpoint: http://export.arxiv.org/api/query
Parameters:
search_query: The extracted keyword(s)start: Pagination offsetmax_results: Number of papers to retrieve (default: 50)sortBy: "submittedDate" for latest papersParse the XML response to extract:
Nodes (Authors):
{
"id": "author_name",
"papers": ["paper_id_1", "paper_id_2"],
"paper_count": 2
}
Edges (Co-authorship):
{
"source": "author_a",
"target": "author_b",
"paper_id": "paper_id",
"weight": 1
}
Store the structured network data as JSON files:
/data/
├── nodes.json # Author nodes
├── edges.json # Co-authorship edges
└── papers.json # Paper metadata
| Error | Handling |
|---|---|
| No papers found | Inform user and suggest broader keywords |
| API timeout | Retry once with exponential backoff, then report failure |
| Invalid query | Ask user to rephrase the search terms |
| Too many results | Limit to 100 papers and notify user |
| Rate limit (429) | Wait 60 seconds, use exponential backoff |
max_results parameter to control batch size (recommended: 50 per request)sortBy=submittedDate/data/cache/ directory with query hash as filenameThe Skill outputs structured JSON data ready for downstream Skills: