knowledge-query SKILL.md skillB
knowledge-query from context4ai/context is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add context4ai/context/knowledge-query@git:20261004.512593ePins git:20261004.512593e in mdr.lock. Pin the fingerprint instead.
- Audit grade
- B, 16 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- context4ai/context
- Path
packages/context/templates/package-templates.zh-CN/kb/skills/knowledge-query/SKILL.md- Versions recorded
- 5
- Latest version
- git:20261004.512593e, committed Oct 4, 2026
- First version recorded
- Sep 13, 2026
- Size
- 7,190 bytes
- Repository stars
- 8
- License
- MIT
查询 {{displayName}} 中经过审核、可追溯来源的知识。用于查找包内实体、API、行为、流程、约束、决策、排障信息、关系和覆盖范围。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 知识查询
只根据本包包含的已批准知识回答。先通过索引缩小范围,再打开具体页面;正文是事实证据,frontmatter 摘要只用于导航。
## 查询步骤
1. 判断请求属于实体查找、解释、流程、规则、关系、细节还是覆盖检查。
2. 从最相关的根索引开始,例如 `{{wikisRoot}}/index.md`,再沿链接进入具体页面。
3. 只读取回答所需的章节;frontmatter 用来选择范围,不作为事实依据。
4. 查询关系或影响范围时,读取相关页面中的明确说明;同名、目录位置或链接本身不能证明关系。
5. 结论来自可见章节正文,并引用对应页面或章节。
6. 如果包内没有证据,明确报告缺口和已经检查的范围,不要根据邻近内容推断。
## 知识根目录
若存在 `{{wikisRoot}}/imports.md`,它只列出外部入口,不代表内容已随包分发、
已验证或已安装。仅在相关且有权访问时用宿主工具读取,并区分外部证据与包内正文;
不能因登记了 Skill 或插件就安装、启用或执行。
若存在 `{{wikisRoot}}/repo-content.md`,它是生成的仓库入口页:README 与 Skill
简介,不是批准知识文章,也不包含全部项目文档。需要且有权访问时沿链接读取原文;
阅读 Skill 说明不代表安装或执行。原仓库是真源,页面标明构建所用基线。
| 根目录 | 用途 |
|---|---|
| `{{wikisRoot}}/` | 来自 codeindex、business、product 的代码、业务和产品说明。 |
| `{{guidesRoot}}/` | 架构、流程、FAQ、决策、故障和排障说明。 |
| `{{rulesRoot}}/` | 标准、约束、验收条件和测试场景。 |
| `{{featsRoot}}/` | 被选择进入包内的功能知识。 |
缺少某个根目录表示当前知识包没有选择该类别。
## 按意图导航
| 意图 | 第一步 |
|---|---|
| 模糊主题或未知名称 | 打开可能相关的根索引,从分组中选择候选页面。 |
| 指定实体、API、领域或动作 | 打开匹配页面或最近的分组索引;有歧义时列出候选。 |
| 架构、流程、FAQ、决策或故障 | 从 `{{guidesRoot}}/index.md` 开始。 |
| 标准、约束、验收或测试 | 从 `{{rulesRoot}}/index.md` 开始。 |
| 关系或影响范围 | 阅读相关正文中的明确说明,并指出覆盖边界。 |
| 已知页面中的细节 | 读取相关 Markdown 标题及其正文。 |
| 覆盖范围或缺口 | 检查根索引和 `context-build-inventory.json`。 |
## 证据契约
…Read the whole file at its exact version.
How to install
mdr add context4ai/context/knowledge-query@sha256:db86c8ed97c44666The line at the top of this page pins the label git:20261004.512593e, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_totjnisu3vmdpvo2)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Sep 13, 2026 and Oct 4, 2026, about one every 5 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261004.512593e latest | 2026-10-04 | 512593e | 7,190 B | B | view · diff |
| git:20261003.5165706 | 2026-10-03 | 5165706 | 6,753 B | B | view · diff |
| git:20260920.ade4b54 | 2026-09-20 | ade4b54 | 6,439 B | B | view · diff |
| git:20260916.78eb25f | 2026-09-16 | 78eb25f | 6,336 B | B | view · diff |
| git:20260913.a425dec | 2026-09-13 | a425dec | 5,429 B | B | view |
Audit of the latest version
- fail: Frontmatter declares a name
- pass: Frontmatter block present
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (7190 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.
Source
context4ai/context · 8 stars · license MIT · pushed 2026-10-19 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_totjnisu3vmdpvo2 GET https://markdownregistry.com/api/v1/resolve?ref=context4ai/context/knowledge-query GET https://markdownregistry.com/api/v1/blob/db86c8ed97c44666f4d4d9488a4e2a809d5b8705370e60be5736ce55658e2dc0
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from context4ai/context
Every file in context4ai/context