/vector-skills-retriever
Retrieve a bounded bundle of relevant external skills from the local skill workspace using vector embedding similarity only.
$ npx -y skills add davidliuk/graph-of-skills --skill vector-skills-retriever --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/vector-skills-retriever
Context preview
The summary Claude sees to decide when to auto-load this skill.
Retrieve a bounded bundle of relevant external skills from the local skill workspace using vector embedding similarity only.
SKILL.md
vector-skills-retriever.SKILL.mdname: vector-skills-retriever
description: Retrieve a bounded bundle of relevant external skills from the local skill workspace using vector embedding similarity only.
inputs:
- task description or subproblem summary
outputs:
- a ranked skill bundle with full instructions and source paths under /opt/graphskills/skills
compatibility:
- claude-code
- codex
- gemini-cli
allowed-tools:
- shell
- python3
Purpose
Use this skill when the task likely needs specialized domain knowledge, scripts, or references that are not already obvious from the current context.
This retriever uses embedding similarity only. It does not use graph edges, graph propagation, or lexical expansion.
Retrieve Relevant Skills
Run:
OPENROUTER_API_KEY="${OPENROUTER_API_KEY:-$OPENAI_API_KEY}" \
OPENAI_API_KEY="${OPENROUTER_API_KEY:-$OPENAI_API_KEY}" \
OPENAI_BASE_URL=https://openrouter.ai/api/v1 \
GOS_EMBEDDING_MODEL=openai/text-embedding-3-large \
GOS_EMBEDDING_DIM=3072 \
vectorskills-query "short description of the task or current subproblem"Diagnostic rule: do not suppress stderr and do not replace failures with fallback text. If `vectorskills-query` fails, keep the original stderr visible and note the real exit code so the failure remains diagnosable.
Useful flags:
vectorskills-query "debug spring boot jakarta migration build errors" --top-n 5 --max-context-chars 9000
vectorskills-query "extract text from receipts into xlsx" --json
How To Use The Results
1. Start with a short task-level query. 2. Read the returned skill bundle. 3. Follow the retrieved skill instructions and inspect any referenced files under `/opt/graphskills/skills/<skill-name>/`. 4. Re-query with a narrower subproblem if needed.
Read more
name: vector-skills-retriever description: Retrieve a bounded bundle of relevant external skills from the local skill workspace using vector embedding similarity only. inputs: - task description or subproblem summary outputs: - a ranked skill bundle with full instructions and source paths under /opt/graphskills/skills compatibility: - claude-code - codex - gemini-cli allowed-tools: - shell - python3
Purpose
Use this skill when the task likely needs specialized domain knowledge, scripts, or references that are not already obvious from the current context.
This retriever uses embedding similarity only. It does not use graph edges, graph propagation, or lexical expansion.
Retrieve Relevant Skills
Run:
OPENROUTER_API_KEY="${OPENROUTER_API_KEY:-$OPENAI_API_KEY}" \
OPENAI_API_KEY="${OPENROUTER_API_KEY:-$OPENAI_API_KEY}" \
OPENAI_BASE_URL=https://openrouter.ai/api/v1 \
GOS_EMBEDDING_MODEL=openai/text-embedding-3-large \
GOS_EMBEDDING_DIM=3072 \
vectorskills-query "short description of the task or current subproblem"Diagnostic rule: do not suppress stderr and do not replace failures with fallback text. If `vectorskills-query` fails, keep the original stderr visible and note the real exit code so the failure remains diagnosable.
Useful flags:
vectorskills-query "debug spring boot jakarta migration build errors" --top-n 5 --max-context-chars 9000 vectorskills-query "extract text from receipts into xlsx" --json
How To Use The Results
1. Start with a short task-level query. 2. Read the returned skill bundle. 3. Follow the retrieved skill instructions and inspect any referenced files under `/opt/graphskills/skills/<skill-name>/`. 4. Re-query with a narrower subproblem if needed.
Dependency-Aware Structural Retrieval for Massive Agent Skills

