Agent Skills › davidliuk/graph-of-skills › graph-skills-retriever

graph-skills-retriever

GitHub

通过调用 graphskills-query 命令,从本地技能库中检索与当前任务相关的技能包,避免手动浏览,辅助 Agent 获取专业领域知识或脚本。

evaluation/skillsbench/graphskills_assets/bootstrap_skill/SKILL.md davidliuk/graph-of-skills

触发场景

需要特定领域知识或脚本时 任务涉及新子问题需检索参考资料时

安装

npx skills add davidliuk/graph-of-skills --skill graph-skills-retriever -g -y
更多选项

非标准路径

npx skills add https://github.com/davidliuk/graph-of-skills/tree/main/evaluation/skillsbench/graphskills_assets/bootstrap_skill -g -y

不安装直接使用

npx skills use davidliuk/graph-of-skills@graph-skills-retriever

指定 Agent (Claude Code)

npx skills add davidliuk/graph-of-skills --skill graph-skills-retriever -a claude-code -g -y

安装 repo 全部 skill

npx skills add davidliuk/graph-of-skills --all -g -y

预览 repo 内 skill

npx skills add davidliuk/graph-of-skills --list

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

  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.

版本历史

  • 69f2ab2 当前 2026-07-24 22:38

同 Skill 集合

skills/graph-skills-retriever/SKILL.md
skills/vector-skills-retriever/SKILL.md

元信息

文件数
0
版本
203f60a
Hash
a931bb02
收录时间
2026-07-24 22:38

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-21 18:52
浙ICP备14020137号-1