Agent skill

Vector Skills Retriever

by davidliuk in davidliuk/graph-of-skills

Retrieve a bounded bundle of relevant external skills from the local skill workspace using vector embedding similarity only.

MITAuto-check passedAI & LLM Engineering

Install Vector Skills Retriever

skills CLI
$ npx skills add davidliuk/graph-of-skills --skill vector-skills-retriever -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install davidliuk/graph-of-skills vector-skills-retriever --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/davidliuk/graph-of-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/vector-skills-retriever .claude/skills/vector-skills-retriever && rm -rf skills-src

Use ~/.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/

Facts

Skill name
vector-skills-retriever
GitHub stars
219
Token cost
~440 tokens
SKILL.md length
119 words
Files
1
Skills in repo
3
Repo updated
First seen
Licence
MIT

At a glance

Retrieve a bounded bundle of relevant external skills from the local skill workspace using vector embedding similarity only.

  • Works in 4 steps: Start with a short task-level query. → Read the returned skill bundle. → Follow the retrieved skill instructions… → …
  • Tasks that involve Embeddings
  • Reaches openrouter.ai; needs OPENROUTER_API_KEY and OPENAI_API_KEY

What it does

Vector Skills Retriever is an agent skill from davidliuk/graph-of-skills. Retrieve a bounded bundle of relevant external skills from the local skill workspace using vector embedding similarity only.

Its SKILL.md is about 440 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: ["claude-code","codex","gemini-cli"]

It sits in AI & LLM Engineering, covering Embeddings. The repository describes itself as: [EMNLP '26] Dependency-Aware Structural Retrieval for Massive Agent Skills. The licence is MIT.

When your agent uses it

  • Tasks that involve Embeddings

Example prompts

  • “/vector-skills-retriever”

Requirements

  • Python 3
  • A credential in OPENROUTER_API_KEY
  • A credential in OPENAI_API_KEY
  • Compatibility (from SKILL.md): ["claude-code","codex","gemini-cli"]
  • Pre-approved tools (allowed-tools): shell, python3

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  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//.
  4. Re-query with a narrower subproblem if needed.

What it can do on your machine

Read from SKILL.md and the folder at commit 203f60a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • shell
    • python3

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • openrouter.ai

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • OPENROUTER_API_KEY
    • OPENAI_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    ["claude-code","codex","gemini-cli"]

    From compatibility in the SKILL.md frontmatter.

Context cost

Vector Skills Retriever loads about 440 tokens when it runs. Until then it costs about 37 tokens; SKILL.md has 119 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~37
When it runs · the whole SKILL.md, loaded when a task matches
~440

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from davidliuk/graph-of-skills at commit 203f60a, republished under its MIT licence (© davidliuk). 119 words, ~440 tokens.

Download SKILL.mdSave it as .claude/skills/vector-skills-retriever/SKILL.md (or your agent's skills folder).
name
vector-skills-retriever
description
Retrieve a bounded bundle of relevant external skills from the local skill workspace using vector embedding similarity only.
allowed-tools
shell, python3
compatibility
["claude-code","codex","gemini-cli"]
inputs
task description or subproblem summary
outputs
a ranked skill bundle with full instructions and source paths under /opt/graphskills/skills

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:

bash
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:

bash
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.

© davidliuk, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/vector-skills-retriever of davidliuk/graph-of-skills.

Open the folder on GitHubat commit 203f60a

Compare with similar skills

Vector Skills Retriever 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.

Vector Skills Retriever compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Vector Skills Retriever this skilldavidliuk/graph-of-skills219—~440Automated safety check: PassMIT
Chroma Vector DatabaseOrchestra-Research/AI-Research-SKILLs13k7 repos~2.3kAutomated safety check: PassMIT
SageMaker Serving Image Selectionhuggingface/skills11k1 repos~4.6kAutomated safety check: PassApache-2.0
Codebase Managementgiancarloerra/SocratiCode3.3k1 repos~1.8kAutomated safety check: PassAGPL-3.0
CLIP Image-Text MatchingOrchestra-Research/AI-Research-SKILLs13k7 repos~1.7kAutomated safety check: PassMIT
Sentence-Transformers Training Routerhuggingface/skills11k1 repos~2.6kAutomated safety check: PassApache-2.0

Similar skills

  • Chroma Vector Database

    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.

    13k GitHub starsUsed in 7 repos~2.3k tokens
    AI & LLM EngineeringAuto-check passed
  • Official

    Chooses the right serving container and current image URI for deploying a Hugging Face model to a SageMaker endpoint, preferring Hugging Face images over generic ones.

    11k GitHub starsUsed in 1 repo~4.6k tokens
    AI & LLM EngineeringAuto-check passed
  • Codebase Management

    giancarloerra/SocratiCode

    Set up, index, and manage SocratiCode codebase indexing. An agent skill from giancarloerra/SocratiCode.

    3.3k GitHub starsUsed in 1 repo~1.8k tokens
    AI & LLM EngineeringAuto-check passed
  • CLIP Image-Text Matching

    Orchestra-Research/AI-Research-SKILLs

    Explains OpenAI's CLIP model for zero-shot image classification, image-text similarity, semantic image search and content moderation, with install steps and code patterns.

    13k GitHub starsUsed in 7 repos~1.7k tokens
    AI & LLM EngineeringAuto-check passed
  • Official

    Routes a sentence-transformers training task to the right model type and required reference docs and example scripts, covering bi-encoders, rerankers, sparse and multi-vector models.

    11k GitHub starsUsed in 1 repo~2.6k tokens
    AI & LLM EngineeringAuto-check passed
  • Mashup Mods

    rehan-remade/universal-modder

    Build cross-game mashups and total conversions, the "Minecraft inside Elden Ring" or "skateboarding in MW2" kind.

    6.1k GitHub stars~3.3k tokensUpdated today
    AI & LLM EngineeringAuto-check passed

More from davidliuk/graph-of-skills

  • Graph Skills Retriever

    davidliuk/graph-of-skills

    Retrieve a bounded bundle of relevant external skills from a prebuilt Graph of Skills workspace.

    219 GitHub stars~1.2k tokensUpdated 1 mo ago
    Auto-check passed
  • Graph Skills Retriever

    davidliuk/graph-of-skills

    Retrieve a bounded bundle of relevant external skills from the local Graph Skills library instead of manually browsing hundreds of skills.

    219 GitHub stars~437 tokensUpdated 1 mo ago
    Auto-check passed

Questions about Vector Skills Retriever

What does Vector Skills Retriever do?

Retrieve a bounded bundle of relevant external skills from the local skill workspace using vector embedding similarity only. Vector Skills Retriever is an agent skill from davidliuk/graph-of-skills. Retrieve a bounded bundle of relevant external skills from the local skill workspace using vector embedding similarity only.

When should I use Vector Skills Retriever?

Vector Skills Retriever fits situations like: tasks that involve Embeddings.

How do I install Vector Skills Retriever in Claude Code?

Run `npx skills add davidliuk/graph-of-skills --skill vector-skills-retriever -a claude-code`. Or copy the skill folder (skills/vector-skills-retriever in davidliuk/graph-of-skills) into .claude/skills/vector-skills-retriever in your project. Claude Code loads it when a task matches its description.

How do I install Vector Skills Retriever in Codex?

Run `npx skills add davidliuk/graph-of-skills --skill vector-skills-retriever -a codex`. Or copy the skill folder (skills/vector-skills-retriever in davidliuk/graph-of-skills) into .agents/skills/vector-skills-retriever in your project. Codex loads it when a task matches its description.

Can I use Vector Skills Retriever in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add davidliuk/graph-of-skills --skill vector-skills-retriever -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/vector-skills-retriever, .gemini/skills/vector-skills-retriever, .github/skills/vector-skills-retriever and .opencode/skills/vector-skills-retriever in your project.

What does Vector Skills Retriever need to run?

Going by SKILL.md and its folder, Vector Skills Retriever needs credentials named OPENROUTER_API_KEY and OPENAI_API_KEY. Our summary lists: Python 3; A credential in OPENROUTER_API_KEY; A credential in OPENAI_API_KEY. Its frontmatter pre-approves these tools: shell, python3. Compatibility (from SKILL.md): ["claude-code","codex","gemini-cli"].

Does Vector Skills Retriever access the network?

SKILL.md names 1 domain. In commands or code: openrouter.ai; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Vector Skills Retriever safe to install?

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.

What licence does Vector Skills Retriever use?

Vector Skills Retriever is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Vector Skills Retriever use?

About 440 tokens (SKILL.md is roughly 1.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Vector Skills Retriever?

Skills that share tags, products or a category with Vector Skills Retriever: Chroma Vector Database (Orchestra-Research/AI-Research-SKILLs, 13k stars), SageMaker Serving Image Selection (huggingface/skills, 11k stars), Codebase Management (giancarloerra/SocratiCode, 3.3k stars) and CLIP Image-Text Matching (Orchestra-Research/AI-Research-SKILLs, 13k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Vector Skills Retriever?

davidliuk (a GitHub user) maintains it in davidliuk/graph-of-skills, which has 219 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on August 30, 2026.

Source: davidliuk/graph-of-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.