Embeddings via 9Router
decolua/9router
Generates vector embeddings through the 9Router /v1/embeddings endpoint, using models from providers such as OpenAI, Gemini, Mistral and Voyage for RAG and semantic search.
Generate vector embeddings via KeiRouter /v1/embeddings using OpenAI / Gemini / Mistral / Voyage / Nvidia embedding models for RAG, semantic search, similarity.
$ npx skills add mydisha/keirouter --skill keirouter-embeddings -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install mydisha/keirouter keirouter-embeddings --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/mydisha/keirouter.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/keirouter-embeddings .claude/skills/keirouter-embeddings && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "keirouter-embeddings" agent skill from https://github.com/mydisha/keirouter/tree/main/skills/keirouter-embeddings into .claude/skills/keirouter-embeddings/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "keirouter-embeddings", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/mydisha/keirouter/tree/main/skills/keirouter-embeddingsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add mydisha/keirouter --skill keirouter-embeddings -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install mydisha/keirouter keirouter-embeddings --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mydisha/keirouter.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/keirouter-embeddings .agents/skills/keirouter-embeddings && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "keirouter-embeddings" agent skill from https://github.com/mydisha/keirouter/tree/main/skills/keirouter-embeddings into .agents/skills/keirouter-embeddings/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "keirouter-embeddings", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add mydisha/keirouter --skill keirouter-embeddings -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install mydisha/keirouter keirouter-embeddings --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mydisha/keirouter.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/keirouter-embeddings .cursor/skills/keirouter-embeddings && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "keirouter-embeddings" agent skill from https://github.com/mydisha/keirouter/tree/main/skills/keirouter-embeddings into .cursor/skills/keirouter-embeddings/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "keirouter-embeddings", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/mydisha/keirouter.git --path skills/keirouter-embeddings--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add mydisha/keirouter --skill keirouter-embeddings -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install mydisha/keirouter keirouter-embeddings --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mydisha/keirouter.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/keirouter-embeddings .gemini/skills/keirouter-embeddings && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "keirouter-embeddings" agent skill from https://github.com/mydisha/keirouter/tree/main/skills/keirouter-embeddings into .gemini/skills/keirouter-embeddings/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "keirouter-embeddings", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install mydisha/keirouter keirouter-embeddingsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add mydisha/keirouter --skill keirouter-embeddings -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/mydisha/keirouter.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/keirouter-embeddings .github/skills/keirouter-embeddings && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "keirouter-embeddings" agent skill from https://github.com/mydisha/keirouter/tree/main/skills/keirouter-embeddings into .github/skills/keirouter-embeddings/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "keirouter-embeddings", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add mydisha/keirouter --skill keirouter-embeddings -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install mydisha/keirouter keirouter-embeddings --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mydisha/keirouter.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/keirouter-embeddings .opencode/skills/keirouter-embeddings && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "keirouter-embeddings" agent skill from https://github.com/mydisha/keirouter/tree/main/skills/keirouter-embeddings into .opencode/skills/keirouter-embeddings/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "keirouter-embeddings", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
keirouter-embeddingsGenerate vector embeddings via KeiRouter /v1/embeddings using OpenAI / Gemini / Mistral / Voyage / Nvidia embedding models for RAG, semantic search, similarity.
Keirouter Embeddings is an agent skill from mydisha/keirouter. Generate vector embeddings via KeiRouter /v1/embeddings using OpenAI / Gemini / Mistral / Voyage / Nvidia embedding models for RAG, semantic search, similarity. Use when the user wants embeddings, vectors, RAG, semantic search, or to embed text.
Its SKILL.md is about 580 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in AI & LLM Engineering, covering Embeddings. It works with OpenAI, Mistral AI and NVIDIA AI Platform. The repository describes itself as: Your friendly, blazing-fast, self-hostable AI gateway. The licence is MIT.
Read from SKILL.md and the folder at commit 3d8b702. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
curljqFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use curl, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
KEIROUTER_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Keirouter Embeddings loads about 577 tokens when it runs. Until then it costs about 67 tokens; SKILL.md has 93 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from mydisha/keirouter at commit 3d8b702, republished under its MIT licence (© mydisha). 93 words, ~577 tokens.
.claude/skills/keirouter-embeddings/SKILL.md (or your agent's skills folder).Requires KEIROUTER_URL (and KEIROUTER_KEY if auth enabled). See https://raw.githubusercontent.com/mydisha/keirouter/main/skills/keirouter/SKILL.md for setup.
curl $KEIROUTER_URL/v1/models/embedding | jq '.data[].id'
# Per-model dimensions
curl "$KEIROUTER_URL/v1/models/info?id=openai/text-embedding-3-small"POST $KEIROUTER_URL/v1/embeddings
| Field | Required | Notes |
|---|---|---|
model | yes | from /v1/models/embedding |
input | yes | string OR array of strings |
encoding_format | no | float (default) / base64 |
dimensions | no | OpenAI v3 only |
curl -X POST $KEIROUTER_URL/v1/embeddings \
-H "Authorization: Bearer $KEIROUTER_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"openai/text-embedding-3-small","input":["hello","world"]}'JS:
const r = await fetch(`${process.env.KEIROUTER_URL}/v1/embeddings`, {
method: "POST",
headers: { "Authorization": `Bearer ${process.env.KEIROUTER_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({ model: "gemini/text-embedding-004", input: "RAG chunk text" }),
});
const { data } = await r.json();
console.log(data[0].embedding.length); // dimension{ "object": "list", "model": "openai/text-embedding-3-small",
"data": [
{ "object": "embedding", "index": 0, "embedding": [0.0123, -0.045, ...] },
{ "object": "embedding", "index": 1, "embedding": [...] }
],
"usage": { "prompt_tokens": 5, "total_tokens": 5 } }| Provider | Notes |
|---|---|
| OpenAI, Mistral, Voyage, Fireworks, Together, Nebius, NVIDIA, Jina | Native OpenAI shape — dimensions works only on OpenAI v3 (text-embedding-3-*) |
| Gemini | Server auto-converts to embedContent/batchEmbedContents — send OpenAI shape |
| Custom OpenAI | Custom baseUrl from credentials |
Batch (input as array) is faster; some providers cap batch size.
© mydisha, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/keirouter-embeddings of mydisha/keirouter.
Open the folder on GitHubat commit 3d8b702
Keirouter Embeddings next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Keirouter Embeddings this skillmydisha/keirouter | 147 | — | ~577 | Automated safety check: Pass | MIT | |
| Embeddings via 9Routerdecolua/9router | 30k | — | ~604 | Automated safety check: Pass | MIT | |
| Ax AIdosco/aithy | 107 | — | ~8.2k | Automated safety check: Pass | Apache-2.0 | |
| Golem Add LLM Moonbitgolemcloud/golem | 1.5k | — | ~1.5k | Automated safety check: Pass | Custom licence | |
| AI SDKvercel-labs/ai-facts | 168 | 21 repos | ~1.2k | Automated safety check: Pass | None | |
| Chroma Vector DatabaseOrchestra-Research/AI-Research-SKILLs | 13k | 8 repos | ~2.3k | Automated safety check: Pass | MIT |
decolua/9router
Generates vector embeddings through the 9Router /v1/embeddings endpoint, using models from providers such as OpenAI, Gemini, Mistral and Voyage for RAG and semantic search.
dosco/aithy
This skill helps an LLM generate correct AI provider setup and configuration code using @ax-llm/ax.
golemcloud/golem
Adding LLM and AI capabilities to a MoonBit Golem agent. An agent skill from golemcloud/golem.
vercel-labs/ai-facts
Answer questions about the AI SDK and help build AI-powered features.
Orchestra-Research/AI-Research-SKILLs
Shows how to store documents and embeddings in Chroma, query them by similarity with metadata filters, and persist them to disk for RAG and semantic search projects.
giancarloerra/SocratiCode
Set up, index, and manage SocratiCode codebase indexing. An agent skill from giancarloerra/SocratiCode.
mydisha/keirouter
Entry point for KeiRouter — local/remote AI gateway with OpenAI-compatible REST for chat, image, TTS, embeddings, web search, web fetch.
mydisha/keirouter
Chat / code generation via KeiRouter using OpenAI /v1/chat/completions or Anthropic /v1/messages format with streaming + auto-fallback combos.
mydisha/keirouter
Generate images via KeiRouter /v1/images/generations using OpenAI DALL-E / Gemini Imagen / FLUX / MiniMax / Stability AI / Fal.ai models.
mydisha/keirouter
Speech-to-text via KeiRouter /v1/audio/transcriptions using OpenAI Whisper / Groq / Gemini / Deepgram / AssemblyAI models.
mydisha/keirouter
Text-to-speech via KeiRouter /v1/audio/speech using OpenAI / ElevenLabs / Deepgram / Edge TTS / Google TTS / Inworld voices.
mydisha/keirouter
Fetch URL → markdown / text / HTML via KeiRouter /v1/web/fetch using Firecrawl / Jina Reader / Tavily Extract / Exa Contents.
Works with
Categories
Generate vector embeddings via KeiRouter /v1/embeddings using OpenAI / Gemini / Mistral / Voyage / Nvidia embedding models for RAG, semantic search, similarity. Keirouter Embeddings is an agent skill from mydisha/keirouter. Generate vector embeddings via KeiRouter /v1/embeddings using OpenAI / Gemini / Mistral / Voyage / Nvidia embedding models for RAG, semantic search, similarity.
Keirouter Embeddings fits situations like: the user wants embeddings; semantic search.
Run `npx skills add mydisha/keirouter --skill keirouter-embeddings -a claude-code`. Or copy the skill folder (skills/keirouter-embeddings in mydisha/keirouter) into .claude/skills/keirouter-embeddings in your project. Claude Code loads it when a task matches its description.
Run `npx skills add mydisha/keirouter --skill keirouter-embeddings -a codex`. Or copy the skill folder (skills/keirouter-embeddings in mydisha/keirouter) into .agents/skills/keirouter-embeddings in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mydisha/keirouter --skill keirouter-embeddings -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/keirouter-embeddings, .gemini/skills/keirouter-embeddings, .github/skills/keirouter-embeddings and .opencode/skills/keirouter-embeddings in your project.
Going by SKILL.md and its folder, Keirouter Embeddings needs the command-line tools its instructions call (curl and jq) and credentials named KEIROUTER_KEY. Our summary lists: A credential in KEIROUTER_KEY.
SKILL.md contains no URLs. Its commands use curl, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Keirouter Embeddings is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 577 tokens (SKILL.md is roughly 2.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Keirouter Embeddings: Embeddings via 9Router (decolua/9router, 30k stars), Ax AI (dosco/aithy, 107 stars), Golem Add LLM Moonbit (golemcloud/golem, 1.5k stars) and AI SDK (vercel-labs/ai-facts, 168 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
mydisha (a GitHub user) maintains it in mydisha/keirouter, which has 147 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on September 11, 2026.
Source: mydisha/keirouter on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.