Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Finds code examples, API usage, error fixes, library docs and GitHub repositories via the Exa API.
36% 91%+55 ptsof test cases passed
Passed 20 of 22 test cases with the skill, and 8 of 22 without it.
3 of 3 safety checks passed
Not used yet
Find code examples, API usage, documentation, error fixes, and GitHub repos via Exa. Calls the Exa REST API through a local script; no MCP server needed, only an EXA_API_KEY.
export EXA_API_KEY=your-key # or EXA_API_KEY=... in a .env at the repo root
Get a key at https://dashboard.exa.ai/api-keys. Shared details: exa-native-base.
python scripts/code_context.py "<query — always include language + library>" [-n N] [-c github] [--text]
Examples:
python scripts/code_context.py "Stripe API create subscription Node.js code example" -n 8
python scripts/code_context.py "React hydration mismatch server client explanation fix" -n 10
python scripts/code_context.py "production-ready vector database in Rust" -c github -n 10
Always include the programming language and framework/library in the query — it sharply improves relevance. No default category (most code/docs/error pages live on the open web); add -c github to discover repositories.
# API usage
python scripts/code_context.py "Stripe API create subscription Node.js code example" -n 5
# Error resolution (describe the error + stack)
python scripts/code_context.py "Next.js 'window is not defined' SSR error fix" -n 10
# GitHub implementations / repos
python scripts/code_context.py "open-source example project using LangGraph" -c github -n 10
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.