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.
Implement efficient similarity search with vector databases. Use when building semantic search, implementing nearest neighbor queries, or optimizing retrieval performance.
Imported from rmyndharis/antigravity-skills (skills/similarity-search-patterns/SKILL.md). Install upstream with npx skills add rmyndharis/antigravity-skills --skill similarity-search-patterns. Copyright stays with the author.
Similarity Search Patterns
Patterns for implementing efficient similarity search in production systems.
Use this skill when
Building semantic search systems
Implementing RAG retrieval
Creating recommendation engines
Optimizing search latency
Scaling to millions of vectors
Combining semantic and keyword search
Do not use this skill when
The task is unrelated to similarity search patterns
You need a different domain or tool outside this scope
Instructions
Clarify goals, constraints, and required inputs.
Apply relevant best practices and validate outcomes.
Provide actionable steps and verification.
If detailed examples are required, open resources/implementation-playbook.md.
Resources
resources/implementation-playbook.md for detailed patterns and examples.
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}'
Installed into a catalogue, chosen by a router
Install similarity-search-patterns 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.
{
"ocm": "1",
"id": "rmyndharis-antigravity-skills-similarity-search-patterns",
"kind": "skill",
"name": "similarity-search-patterns",
"description": "Implement efficient similarity search with vector databases. Use when building semantic search, implementing nearest neighbor queries, or optimizing retrieval performance.",
"publisher": "rmyndharis",
"version": "1.0.0",
"capabilities": {
"domains": [
"observability"
],
"tags": [
"skill-md",
"skills-sh"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Implement efficient similarity search with vector databases. Use when building semantic search, implementing nearest neighbor queries, or optimizing retrieval performance."
],
"primary": false,
"metadata": {
"source": {
"provider": "skills.sh",
"repository": "https://github.com/rmyndharis/antigravity-skills",
"path": "skills/similarity-search-patterns/SKILL.md",
"ref": "HEAD",
"url": "https://github.com/rmyndharis/antigravity-skills/blob/HEAD/skills/similarity-search-patterns/SKILL.md",
"key": "rmyndharis/antigravity-skills/skills/similarity-search-patterns/SKILL.md"
}
},
"instructions": "# Similarity Search Patterns\n\nPatterns for implementing efficient similarity search in production systems.\n\n## Use this skill when\n\n- Building semantic search systems\n- Implementing RAG retrieval\n- Creating recommendation engines\n- Optimizing search latency\n- Scaling to millions of vectors\n- Combining semantic and keyword search\n\n## Do not use this skill when\n\n- The task is unrelated to similarity search patterns\n- You need a different domain or tool outside this scope\n\n## Instructions\n\n- Clarify goals, constraints, and required inputs.\n- Apply relevant best practices and validate outcomes.\n- Provide actionable steps and verification.\n- If detailed examples are required, open `resources/implementation-playbook.md`.\n\n## Resources\n\n- `resources/implementation-playbook.md` for detailed patterns and examples.",
"cost": {
"context_tokens": 204
}
}
Fetch it by URL: GET /api/v1/registry/rmyndharis-antigravity-skills-similarity-search-patterns/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.