npx skills add ...
npx skills add yorkeccak/scientific-skills --skill patents-search
Search global patents with natural language queries. Prior art, patent landscapes, and innovation tracking via Valyu.
npx skills add yorkeccak/scientific-skills --skill patents-search
Search the complete global patent database 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 patents, 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 Patents Search directly into your application, use the Valyu SDK:
See the Valyu docs for full integration examples and SDK reference.
$PATENTS_SCRIPT "CRISPR gene editing methods" 15