Answers from the documentation; checking which model is on duty
Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
context7 - Skill - OpenSmartRoute
Skillv1.0.0
context7
Fetch up-to-date library documentation via Context7 API. Use PROACTIVELY when: (1) Working with ANY external library (React, Next.js, Supabase, etc.) (2) User asks about library APIs, patterns, or…
Imported from yuanxiao0115/agent-skills (skills/context7/SKILL.md). Install upstream with npx skills add yuanxiao0115/agent-skills --skill context7. Copyright stays with the author.
Context7 Documentation Fetcher
Retrieve current library documentation via Context7 API.
Authentication
This skill requires a Context7 API key in CONTEXT7_API_KEY.
Recommended setup options:
Export it in your shell profile (global):
export CONTEXT7_API_KEY="your-context7-key"
Use a local .env file (per-repo):
cp skills/context7/.env.example .envset -a; source .env; set +a
Install context7 and it becomes one more candidate the router can pick - when it fits.
A listing is a routing target with a manifest: what it does, which domains it covers, what it costs and who publishes it. Once installed it sits beside your own models and tools, is scored like any other candidate for each request, and shows up in the trace when it wins. Ratings come from workspaces that installed it, one per account.
When a provider is down or over quota the request moves on; the trace says it did.
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
# after Install: the listing is in your workspace's routing pool - a plan picks it for its slotcurl-s-X POST https://api.opensmartroute.ai/api/v1/route -H 'Authorization: Bearer $OSR_API_KEY' -H 'Content-Type: application/json' -d '{"text": "...", "plan": true}'
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.
yuanxiao0115-agent-skills-context7.ocm.jsonjson
{
"ocm": "1",
"id": "yuanxiao0115-agent-skills-context7",
"kind": "skill",
"name": "context7",
"description": "Fetch up-to-date library documentation via Context7 API. Use PROACTIVELY when: (1) Working with ANY external library (React, Next.js, Supabase, etc.) (2) User asks about library APIs, patterns, or best practices (3) Implementing features that rely on third-party packages (4) Debugging library-specific issues (5) Need current documentation beyond training data cutoff (6) AND MOST IMPORTANTLY, when you are installing dependencies, libraries, or frameworks you should ALWAYS check the docs to see what the latest versions are. Do not rely on outdated knowledge. Always prefer this over guessing library APIs or using outdated knowledge.",
"publisher": "yuanxiao0115",
"version": "1.0.0",
"capabilities": {
"domains": [
"coding",
"data_analysis"
],
"tags": [
"skill-md",
"skills-sh"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Fetch up-to-date library documentation via Context7 API. Use PROACTIVELY when: (1) Working with ANY external library (React, Next.js, Supabase, etc.) (2) User asks about library APIs, patterns, or best practices (3) Implementing features that rely on third-party packages (4) Debugging library-specific issues (5) Need current documentation beyond training data cutoff (6) AND MOST IMPORTANTLY, when you are installing dependencies, libraries, or frameworks you should ALWAYS check the docs to see what the latest versions are. Do not rely on outdated knowledge. Always prefer this over guessing library APIs or using outdated knowledge."
],
"primary": false,
"metadata": {
"source": {
"provider": "skills.sh",
"repository": "https://github.com/yuanxiao0115/agent-skills",
"path": "skills/context7/SKILL.md",
"ref": "HEAD",
"url": "https://github.com/yuanxiao0115/agent-skills/blob/HEAD/skills/context7/SKILL.md",
"key": "yuanxiao0115/agent-skills/skills/context7/SKILL.md"
}
},
"instructions": "# Context7 Documentation Fetcher\n\nRetrieve current library documentation via Context7 API.\n\n## Authentication\n\nThis skill requires a Context7 API key in `CONTEXT7_API_KEY`.\n\nRecommended setup options:\n1) Export it in your shell profile (global):\n\n```bash\nexport CONTEXT7_API_KEY=\"your-context7-key\"\n```\n\n2) Use a local `.env` file (per-repo):\n\n```bash\ncp skills/context7/.env.example .env\nset -a; source .env; set +a\n```\n\n## Workflow\n\n### 1. Search for the library\n\n```bash\npython3 ~/.codex/skills/context7/scripts/context7.py search \"<library-name>\"\n```\n\nExample:\n```bash\npython3 ~/.codex/skills/context7/scripts/context7.py search \"next.js\"\n```\n\nReturns library metadata including the `id` field needed for step 2.\n\n### 2. Fetch documentation context\n\n```bash\npython3 ~/.codex/skills/context7/scripts/context7.py context \"<library-id>\" \"<query>\"\n```\n\nExample:\n```bash\npython3 ~/.codex/skills/context7/scripts/context7.py context \"/vercel/next.js\" \"app router middleware\"\n```\n\nOptions:\n- `--type txt|md` - Output format (default: txt)\n- `--tokens N` - Limit response tokens\n\n## Quick Reference\n\n| Task | Command |\n|------|---------|\n| Find React docs | `search \"react\"` |\n| Get React hooks info | `context \"/facebook/react\" \"useEffect cleanup\"` |\n| Find Supabase | `search \"supabase\"` |\n| Get Supabase auth | `context \"/supabase/supabase\" \"authentication row level security\"` |\n\n## When to Use\n\n- Before implementing any library-dependent feature\n- When unsure about current API signatures\n- For library version-specific behavior\n- To verify best practices and patterns",
"cost": {
"context_tokens": 392
}
}
Fetch it by URL: GET /api/v1/registry/yuanxiao0115-agent-skills-context7/manifest?version=1.0.0
Reviews
Star ratings from people who tried it. One review per account; edit yours any time.
No reviews yet. Install it, try it, and be the first to rate it.