skill-registry-protocol SKILL.md skillA
skill-registry-protocol from freehul/sgme is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add freehul/sgme/skill-registry-protocol@v2.0.0Pins v2.0.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- freehul/sgme
- Path
sgme/skills/protocol/SKILL.md- Versions recorded
- 5
- Latest version
- v2.0.0, committed Oct 14, 2026
- First version recorded
- Aug 28, 2026
- Size
- 3,424 bytes
- Repository stars
- 15
- License
- MIT
SGME 三大核心模块路由与技能按需注入协议——先判断 memory/wiki/skills 归属,再检索专业技能,不批量安装、不凭空编造。.
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
# SGME 核心能力与技能检索协议 ## 核心原则:SGME 是能力平面 接入 SGME 后,Agent 不需要安装很多 skill。宿主只需要一个 SGME 适配器或通用 MCP; 记忆、知识和专业流程统一由 SGME 提供,按需读取。 | 任务信号 | 目标模块 | 首选动作 | |---|---|---| | 以前、上次、偏好、项目历史、用户事实 | **memory** | `inject` 或 `search(scopes=["memory"])` | | 手册、设计、经验、踩坑、长期知识 | **wiki** | `wiki_search` / `wiki_pages` → `wiki_page` | | 框架、工具链、专业流程、领域技能 | **skills** | `skill_search` → `skill_digest` → `skill_get` | 任务跨模块时按顺序:**memory 取上下文 → skills 取方法 → 执行 → wiki 沉淀稳定经验**。 ## 何时检索技能 仅当任务需要 SGME 尚未直接提供的专业流程时检索技能,例如特定框架、工具链、部署方式或领域知识。 记忆查询和 Wiki 查询不需要先安装 skill;它们直接走对应核心模块。 ## 检索与注入流程(MUST) 1. 调 `skill_search(query)`(MCP)或 `POST /v1/search` `scopes=["skills"]`(HTTP),传入自然语言需求。 2. 先看 `name / description / category / tags`,必要时调 `skill_digest(name)` 查看章节和依赖。 3. 只取需要的节:优先 `skill_get(name, section=...)`,需要完整流程时才取全文。 4. 按技能正文执行;如果技能声明了 `uses`,递归检索其依赖,不把无关技能全部加载。 5. **找不到合适技能**时:如实告知用户「SGME 技能库暂无可用技能」,不要硬凑步骤,也不要声称自己具备该能力。 ## 硬约束 - 禁止在未检索的情况下声称「我会某技能」或直接编造技能步骤。 - 检索是按需的:不需要时不注入任何技能,保持上下文精简(冷启动包只含本文件)。 - 检索结果以 SGME 为准(技能规模以 `skill_list` / `skill_search` 实时返回为准),不要依赖脑补清单。 …
Read the whole file at its exact version.
How to install
mdr add freehul/sgme/skill-registry-protocol@sha256:1de3c660be1d6623The line at the top of this page pins the label v2.0.0, 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_uxqs6hpju7njl7lf)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Aug 28, 2026 and Oct 14, 2026, about one every 12 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v2.0.0 latest | 2026-10-14 | 371349d | 3,424 B | A | view · diff |
| v2.0.0 | 2026-09-29 | 962e6a3 | 3,378 B | A | view · diff |
| v2.0.0 | 2026-09-29 | d97ab3f | 3,151 B | A | view · diff |
| git:20260908.3ed95e8 | 2026-09-08 | 3ed95e8 | 1,910 B | A | view · diff |
| git:20260828.c386e0f | 2026-08-28 | c386e0f | 1,857 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (3424 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
Source
freehul/sgme · 15 stars · license MIT · pushed 2026-11-06 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_uxqs6hpju7njl7lf GET https://markdownregistry.com/api/v1/resolve?ref=freehul/sgme/skill-registry-protocol GET https://markdownregistry.com/api/v1/blob/1de3c660be1d6623d85bec1e158c49072bfbfa288ba303da6168d781501d24ab
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.