Agent Skills
› davidliuk/graph-of-skills
› graph-skills-retriever
graph-skills-retriever
GitHub该技能用于通过命令行工具从本地 Graph Skills 库中检索与当前任务相关的专业技能和参考信息,避免手动浏览大量文件,提升开发效率。
Trigger Scenarios
需要特定领域知识或脚本但未明确时
需要查找并加载外部技能库中的相关指令
Install
npx skills add davidliuk/graph-of-skills --skill graph-skills-retriever -g -y
SKILL.md
Frontmatter
{
"name": "graph-skills-retriever",
"inputs": [
"task description or subproblem summary"
],
"outputs": [
"a ranked skill bundle with full instructions and source paths under \/opt\/graphskills\/library"
],
"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"
]
}
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:
graphskills-query "short description of the task or current subproblem"
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
How To Use The Results
- Start with a short task-level query.
- Read the returned skill bundle.
- Follow the retrieved skill instructions and inspect any referenced files in
/opt/graphskills/library/<skill-name>/. - 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 canonicalSKILL.mdin/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.
Version History
- 69f2ab2 Current 2026-07-24 22:38


