Agent skill

Graph Skills Retriever

by davidliuk in 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.

MITAuto-check passedKnowledge Management

Install Graph Skills Retriever

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

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

GitHub CLI
$ gh skill install davidliuk/graph-of-skills graph-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/evaluation/skillsbench/graphskills_assets/bootstrap_skill .claude/skills/graph-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
graph-skills-retriever
GitHub stars
219
Token cost
~437 tokens
SKILL.md length
144 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 Graph Skills library instead of manually browsing hundreds of skills.

  • Works in 4 steps: Start with a short task-level query. → Read the returned skill bundle. → Follow the retrieved skill instructions… → …
  • Knowledge Management work in your project
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Graph Skills Retriever is an agent skill from 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.

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 Knowledge Management. The repository describes itself as: [EMNLP '26] Dependency-Aware Structural Retrieval for Massive Agent Skills. The licence is MIT.

When your agent uses it

  • Knowledge Management work in your project

Example prompts

  • “/graph-skills-retriever”

Requirements

  • Python 3
  • 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 in /opt/graphskills/library//.
  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

    No URLs in SKILL.md.

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

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    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

Graph Skills Retriever loads about 437 tokens when it runs. Until then it costs about 40 tokens; SKILL.md has 144 words of instructions outside code blocks.

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

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). 144 words, ~437 tokens.

Download SKILL.mdSave it as .claude/skills/graph-skills-retriever/SKILL.md (or your agent's skills folder).
name
graph-skills-retriever
description
Retrieve a bounded bundle of relevant external skills from the local Graph Skills library instead of manually browsing hundreds of skills.
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/library

Purpose

Use this skill when the task seems to require specialized domain knowledge, scripts, or references that are not already obvious from the current context.

The full skill library is stored outside the auto-loaded harness context at:

/opt/graphskills/library

Do not manually scan that whole directory first. Retrieve a focused bundle.

Retrieve Relevant Skills

Run:

bash
graphskills-query "short description of the task or current subproblem"

Useful flags:

bash
graphskills-query "debug spring boot jakarta migration build errors" --top-n 5 --seed-top-k 4 --max-context-chars 9000
graphskills-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 in /opt/graphskills/library/<skill-name>/.
  4. Re-query with a narrower subproblem if needed.

Guidance

  • Prefer 1-2 retrieval calls over manually searching the entire library.
  • The returned Source: path points to the canonical SKILL.md in /opt/graphskills/library.
  • If you need scripts or references from a retrieved skill, inspect that skill directory directly.
  • Reuse the graph retriever whenever the task shifts to a new subproblem.

© 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 evaluation/skillsbench/graphskills_assets/bootstrap_skill of davidliuk/graph-of-skills.

Open the folder on GitHubat commit 203f60a

Compare with similar skills

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

Graph Skills Retriever compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Graph Skills Retriever this skilldavidliuk/graph-of-skills219—~437Automated safety check: PassMIT
Logseq Review Workflow Evallogseq/logseq45k—~1kAutomated safety check: PassAGPL-3.0
Baoyu URL To Markdownsdyckjq-lab/llm-wiki-skill2.5k2 repos~3.2kAutomated safety check: PassNone
Obsidian CLIAtmosphere/atmosphere3.8k13 repos~795Automated safety check: PassApache-2.0
Esm Cjs Risk Scanlogseq/logseq45k—~3.3kAutomated safety check: PassAGPL-3.0
Knowledge Searchdataelement/bisheng12k—~1.1kAutomated safety check: PassApache-2.0

Similar skills

  • Compare two revisions of the Logseq logseq-review-workflow skill by running the same review prompt against isolated before and after skill snapshots, collecting both outputs, and producing a…

    45k GitHub stars~1k tokensUpdated today
    Knowledge ManagementAuto-check passed
  • Baoyu URL To Markdown

    sdyckjq-lab/llm-wiki-skill

    Fetch any URL and convert to markdown using Chrome CDP. An agent skill from sdyckjq-lab/llm-wiki-skill.

    2.5k GitHub starsUsed in 2 repos~3.2k tokens
    Knowledge ManagementAuto-check passed
  • Obsidian CLI

    Atmosphere/atmosphere

    Interact with Obsidian vaults using the Obsidian CLI to read, create, search, and manage notes, tasks, properties, and more.

    3.8k GitHub starsUsed in 13 repos~795 tokens
    Knowledge ManagementAuto-check passed
  • Esm Cjs Risk Scan

    logseq/logseq

    Scan Logseq ClojureScript Node/Electron targets for npm module loading risks, especially ESM-only packages that may fail when loaded through js/require or shadow-cljs require-based shims.

    45k GitHub stars~3.3k tokensUpdated today
    Knowledge ManagementAuto-check passed
  • Knowledge Search

    dataelement/bisheng

    Search the user's knowledge bases and knowledge spaces (企业知识库检索).

    12k GitHub stars~1.1k tokensUpdated today
    Knowledge ManagementAuto-check passed
  • Capture Conversation

    outline/outline

    Save the current conversation, a decision, or a set of notes as a document in an Outline collection; use when the user wants to keep what was discussed in their knowledge base.

    41k GitHub stars~474 tokensUpdated yesterday
    Knowledge ManagementAuto-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
  • Vector Skills Retriever

    davidliuk/graph-of-skills

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

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

Questions about Graph Skills Retriever

What does Graph Skills Retriever do?

Retrieve a bounded bundle of relevant external skills from the local Graph Skills library instead of manually browsing hundreds of skills. Graph Skills Retriever is an agent skill from 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.

When should I use Graph Skills Retriever?

Graph Skills Retriever fits situations like: knowledge Management work in your project.

How do I install Graph Skills Retriever in Claude Code?

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

How do I install Graph Skills Retriever in Codex?

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

Can I use Graph 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 graph-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/graph-skills-retriever, .gemini/skills/graph-skills-retriever, .github/skills/graph-skills-retriever and .opencode/skills/graph-skills-retriever in your project.

What does Graph Skills Retriever need to run?

SKILL.md names no scripts, command-line tools or credentials: Graph Skills Retriever is instructions for the agent only. Our summary lists: Python 3. Its frontmatter pre-approves these tools: shell, python3. Compatibility (from SKILL.md): ["claude-code","codex","gemini-cli"].

Does Graph Skills Retriever access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Graph 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 Graph Skills Retriever use?

Graph 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 Graph Skills Retriever use?

About 437 tokens (SKILL.md is roughly 1.7k 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 Graph Skills Retriever?

Skills that share tags, products or a category with Graph Skills Retriever: Logseq Review Workflow Eval (logseq/logseq, 45k stars), Baoyu URL To Markdown (sdyckjq-lab/llm-wiki-skill, 2.5k stars), Obsidian CLI (Atmosphere/atmosphere, 3.8k stars) and Esm Cjs Risk Scan (logseq/logseq, 45k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Graph 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.