npx skills add ...
npx skills add yorkeccak/scientific-skills --skill arxiv-search
Search arXiv physics, math, and computer science preprints using natural language queries. Powered by Valyu semantic search.
npx skills add yorkeccak/scientific-skills --skill arxiv-search
Search the complete arXiv database of preprints across physics, mathematics, computer science, and quantitative biology using natural language queries powered by Valyu's semantic search API.
The scripts/search commands in this documentation are relative to this skill's installation directory.
Before running any command, locate the script using:
Then use the full path for all commands:
When you run a search and receive "setup_required": true, follow this flow:
Ask the user for their API key: "To search arXiv, I need your Valyu API key. Get one free ($10 credits) at https://platform.valyu.ai"
Once the user provides the key, run:
Retry the original search.
All commands return JSON with success field:
Exit codes:
0 - Success1 - Error (check JSON for details)https://api.valyu.ai/v1/searchDirect API calls using Node.js built-in fetch(), zero external dependencies.
If you're building an AI project and want to integrate arXiv Search directly into your application, use the Valyu SDK:
See the Valyu docs for full integration examples and SDK reference.
$ARXIV_SCRIPT "quantum entanglement" 15