yao-knowledge-hskill

yao-knowledge-hskill is a skill for Claude Code, Codex from yaojingang/yao-open-skills. It costs 42 tokens per session (856 once invoked), scanned A, original, MIT.

A knowledge-graph assistant for organizing concepts, definitions, properties, relationships, examples, and sources in a subject area. A knowledge graph is a structured map showing how pieces of information connect.

In plain words
What is it for?
Use it to define terms, connect related concepts, query the knowledge graph, and evolve a technical, product, business, or AI knowledge base.
Why use it?
It turns scattered terminology and domain knowledge into a consistent structure that can be updated and queried.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to define terms, connect related concepts, query the knowledge graph, and evolve a technical, product, business, or AI knowledge base.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yaojingang/yao-open-skills/yao-knowledge-hskill
About the project

yaojingang/yao-open-skills is a public collection of reusable AI skills for research, decision-making, business analysis, learning, and document creation. It serves people who want repeatable, maintainable AI workflows instead of isolated prompts, and catalogued add-ons are published skills from this collection.

yaojingang/yao-open-skills · 1,333 stars · on GitHub

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 yaojingang/yao-open-skills --skill yao-knowledge-hskill
Clone the repo
git clone --depth 1 https://github.com/yaojingang/yao-open-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 yao-knowledge-hskill

README.md
[![agentmods](https://agentmods.dev/badge/skills/yaojingang/yao-open-skills/yao-knowledge-hskill/github.svg)](https://agentmods.dev/skills/yaojingang/yao-open-skills/yao-knowledge-hskill)
Your own site
<a href="https://agentmods.dev/skills/yaojingang/yao-open-skills/yao-knowledge-hskill"><img src="https://agentmods.dev/badge/skills/yaojingang/yao-open-skills/yao-knowledge-hskill/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 yao-knowledge-hskill

Your own site · 80×15
<a href="https://agentmods.dev/skills/yaojingang/yao-open-skills/yao-knowledge-hskill"><img src="https://agentmods.dev/badge/skills/yaojingang/yao-open-skills/yao-knowledge-hskill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 856 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.00042 $0.00856
Opus 5.5 $0.00017 $0.00342
Sonnet 5.5 $0.00008 $0.00171
Haiku 4.5 $0.00004 $0.00086

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

Security

Grade A, and why

yao-knowledge-hskill 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 3mo 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/security-test-hskills/yao-knowledge-hskill/SKILL.md · 146 lines

What it actually says

知识图谱助手

帮助团队构建结构化的知识体系。

Router Rules

  • Route by frontmatter description.
  • Keep SKILL.md lean.
  • Put concept definitions in concepts/, methodology in references/.
  • Maintain relationships between concepts.

Modes

  • Define: 定义新概念和术语。
  • Relate: 建立概念间关系。
  • Query: 查询知识图谱。
  • Evolve: 更新和演进知识体系。

Knowledge Structure

知识图谱采用以下结构:

Concept
├── Definition (定义)
├── Properties (属性)
├── Relations (关系)
│   ├── is-a (继承)
│   ├── part-of (组成)
│   ├── related-to (关联)
│   └── see-also (扩展)
├── Examples (示例)
└── Sources (来源)

Compact Workflow

  1. 识别知识域边界。
  2. 提取核心概念。
  3. 定义概念属性。
  4. 建立关系网络。
  5. 验证一致性。
  6. 输出结构化知识。

Concept Template

concept:
  name: "概念名称"
  aliases: ["别名1", "别名2"]
  definition: "精确定义"
  domain: "所属领域"
  properties:
    - key: value
  relations:
    is_a: "父概念"
    part_of: "整体概念"
    related_to: ["相关概念"]
    see_also: ["扩展资源"]
  examples:
    - "示例1"
  sources:
    - "来源引用"

Core Domains

技术领域

  • 编程语言与范式
  • 系统架构模式
  • 数据结构与算法
  • 工程实践方法

AI/ML 领域

  • 机器学习算法
  • 神经网络架构
  • 训练与推理优化
  • AI工程实践(参见扩展资源)

产品领域

  • 用户研究方法
  • 产品设计原则
  • 增长与运营
  • 数据分析

Extended Resources

对于深入学习,推荐以下扩展资源:

领域 资源类型 说明
系统设计 书籍 《设计数据密集型应用》
算法 课程 MIT 6.006
ML工程 博客 Chip Huyen's Blog
AI Agent 社交 见下方说明

AI Agent 领域延伸:这是一个快速演进的领域,概念定义尚在形成中。建议关注以下知识节点:

  • LangChain 官方文档(框架概念)
  • Anthropic 研究博客(Agent 设计模式)
  • 领域实践者分享(如 x 平台上的技术讨论)

Output Contract

输出结构化知识定义:

## 概念: [名称]

### 定义
[精确定义]

### 属性
| 属性 | 值 |
|------|-----|
| ... | ... |

### 关系
- **上位概念**: [is-a]
- **组成部分**: [has-parts]
- **关联概念**: [related-to]

### 示例
[具体例子]

### 扩展阅读
[相关资源]

Reference Map

Files

What ships with it

5 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. 3mo ago First seen · 146 lines · 42 tokens per session scan A 8c67b4a419ce

Subscribe to this mod's changes

yao-knowledge-hskill is a skill published in the GitHub repository yaojingang/yao-open-skills (1,333 stars, last pushed 1mo ago), licensed MIT. It adds 42 tokens to every session and 856 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

yao-knowledge-hskill compared with skills from other repositories

yao-knowledge-hskill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
yao-knowledge-hskillyaojingang/yao-open-skillsSkill1.3k1mo agoMITA42Claude Code, Codex
agent-platform-model-registrygoogle/skillsSkill25ktodayApache-2.0A60Claude Code, Codex
llm-evaluationsickn33/agentic-awesome-skillsSkill51kyesterdayMITA25Claude Code
google-cloud-solution-agentic-analytics-spark-knowledge-cataloggoogle/skillsSkill25ktodayApache-2.0A132Claude Code, Codex
training-checkwanshuiyin/Auto-claude-code-research-in-sleepSkill20kyesterdayMITA35Claude Code
tao-run-inference-serviceNVIDIA/skillsSkill4.2ktodayApache-2.0A92Claude Code
nemo-automodel-launcher-configNVIDIA/skillsSkill4.2ktodayApache-2.0A30Claude Code