graph-skills-retriever

graph-skills-retriever is a skill for Claude Code, Codex from davidliuk/graph-of-skills. It costs 61 tokens per session (1,003 once invoked), scanned A, original, MIT.

A search tool for finding relevant guides in a prebuilt Graph of Skills workspace. It uses a task description and indexed skill relationships to return a bounded set of specialised instructions.

In plain words
What is it for?
Use it for specialised tasks involving particular file formats, algorithms, libraries, APIs, protocols, or verification requirements.
Why use it?
It avoids manually browsing a large skill library when a task needs unusual knowledge or procedures. The guide also helps form a focused search query.

Skill for Claude CodeCodex

Written for Claude Code and Codex: allowed-tools in frontmatter, but also agents/openai.yaml present. Also seen: mentions Codex; mentions Gemini CLI.

Good fit Use it for specialised tasks involving particular file formats, algorithms, libraries, APIs, protocols, or verification requirements.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/davidliuk/graph-of-skills/graph-skills-retriever
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add davidliuk/graph-of-skills --skill graph-skills-retriever
Clone the repo
git clone --depth 1 https://github.com/davidliuk/graph-of-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for graph-skills-retriever

README.md
[![agentmods](https://agentmods.dev/badge/skills/davidliuk/graph-of-skills/graph-skills-retriever/github.svg)](https://agentmods.dev/skills/davidliuk/graph-of-skills/graph-skills-retriever)
Your own site
<a href="https://agentmods.dev/skills/davidliuk/graph-of-skills/graph-skills-retriever"><img src="https://agentmods.dev/badge/skills/davidliuk/graph-of-skills/graph-skills-retriever/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for graph-skills-retriever

Your own site · 80×15
<a href="https://agentmods.dev/skills/davidliuk/graph-of-skills/graph-skills-retriever"><img src="https://agentmods.dev/badge/skills/davidliuk/graph-of-skills/graph-skills-retriever.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,003 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00061 $0.01003
Opus 5.5 $0.00024 $0.00401
Sonnet 5.5 $0.00012 $0.00201
Haiku 4.5 $0.00006 $0.00100

Measured 2mo ago against content hash cb4b14f3a4d0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

graph-skills-retriever scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/graph-skills-retriever/SKILL.md · 100 lines

How it starts

The opening of the file, as written. The whole thing — 100 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Purpose

Use this skill instead of manually browsing a large skill library.

It assumes the environment already provides:

  • the graphskills-query CLI
  • a GoS workspace or a prebuilt workspace configured through GOS_WORKING_DIR and optionally GOS_PREBUILT_WORKING_DIR

If that wiring is missing, read references/container-layout.md.

Retrieve Relevant Skills

Construct the query yourself. Do not rely on the retrieval system to infer missing task structure for you.

A good query should usually include only the retrieval-critical fields that are actually known:

  • the concrete goal
  • the main artifact or file format
  • the key operation or algorithm
  • the required library, API, protocol, or tool name if known
  • the verifier-critical constraint or invariant
  • the task object being edited, parsed, generated, optimized, or validated

Keep it short, but make it specific. Prefer a compact noun/verb phrase over a long paragraph.

Good patterns:

update embedded xlsx in pptx and preserve formulas
parallel tfidf indexing with processpoolexecutor deterministic ranking
civ6 district adjacency exact calculator for verifier
parse branching dialogue script into graph export

Bad patterns:

please solve this task for me
I need help with a benchmark task
fix the project and make everything work

Run:

graphskills-query "short specific query with goal + artifact + operation + constraint"

Useful flags:

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
graphskills-query "review paper references and improve the draft" --workspace /opt/graphskills/runtime

How To Use The Results

  1. Start with a short task-level query.
  2. Read the returned bundle carefully and check the retrieval status.
  3. If the result says Retrieval Status: NO_SKILL_HIT, explicitly state that no relevant skill was retrieved and continue on a no-skill path. Do not imply that you used a retrieved skill.
  4. If the result says Retrieval Status: SKILL_HIT, inspect the task requirements, tests, and verifier first. Write down the minimum acceptance requirements before implementing.
  5. Use the exact Source: paths returned by retrieval. Do not reconstruct paths from the skill name or scan the whole skill library if a Source: path is already available.
  6. Follow the retrieved skill instructions and inspect the referenced Source: paths when you need scripts or references from a specific skill.
  7. Use the skill bundle to narrow the solution space. Prefer the shortest path to verifier pass, and prefer adapting an existing script or interface over inventing a broader replacement.
  8. Re-query with a narrower subproblem if the task shifts.

Read the full file on GitHub · 100 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 100 lines · 61 tokens per session scan A cb4b14f3a4d0

Subscribe to this mod's changes

graph-skills-retriever is a skill published in the GitHub repository davidliuk/graph-of-skills (230 stars, last pushed 2mo ago), licensed MIT. It adds 61 tokens to every session and 1,003 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

graph-skills-retriever compared with skills from other repositories

graph-skills-retriever next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
graph-skills-retrieverdavidliuk/graph-of-skillsSkill2302mo agoMITA61Claude Code, Codex
graphifyGraphify-Labs/graphifySkill144ktodayApache-2.0B76Claude Code, Codex
mykgEthics03/kgskillSkill37mo agoMITA36Claude Code
project-skillEthics03/kgskillSkill37mo agoMITA23Claude Code
mykgEthics03/kgskillSkill37mo agoMITA0Claude Code
claude-md-improveranthropics/claude-plugins-officialSkill46ktodayApache-2.0A82Claude Code
agent-platform-model-registrygoogle/skillsSkill24kyesterdayApache-2.0A60Claude Code, Codex