sgme-adapter-development SKILL.md skillA
sgme-adapter-development 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/sgme-adapter-development@v1.0.0Pins v1.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
skills/sgme-adapter-development/SKILL.md- Versions recorded
- 4
- Latest version
- v1.0.0, committed Nov 2, 2026
- First version recorded
- Sep 29, 2026
- Size
- 1,972 bytes
- Repository stars
- 15
- License
- MIT
SGME 八个官方 Agent 适配器的开发、发布和对账:Hermes、DSH、豆包、MiMo、WorkBuddy、ZCode、Codex、Claude Code。修改 adapters/*、导入历史或适配器分发包时使用。.
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 适配器开发 ## 真源与分发 - 真源:`adapters/<host>/`,按宿主实现捕获、注入、工具和安装逻辑。 - 分发:`skills/adapter-<host>/`,由 `scripts/publish_adapter_skills.py` 生成;禁止直接编辑分发副本。 - 八个平级宿主:`hermes`、`dsh`、`doubao`、`mimo`、`workbuddy`、`zcode`、`codex`、`claude-code`。 ## 共同契约 - 适配器只负责宿主生命周期与 HTTP/MCP 调用,提炼、检索和数据库逻辑留在 SGME Gateway。 - L0 写入必须幂等;重复会话、工具回执和历史导入不能制造重复消息。 - 只读宿主原始数据,只写 SGME L0;不删除原件。 - HTTP 客户端访问本机/内网服务使用 `trust_env=False`;密钥只从环境变量或部署配置读取。 - 新增 MCP 工具必须同步评估八个适配器,不能只修改一个宿主;`codex` 与 `claude-code` 是动态 MCP 透传,以 `dynamic_forwarder.require_patterns` 守卫 `remote.list_tools()` / `remote.call_tool(` 两个锚点。 ## 开发与验收 1. 先用 CodeGraph/项目测试确认目标适配器的调用链和现有契约。 2. 先写重复写入、失败重试、空响应和权限边界测试,再实现改动。 3. 运行适配器自己的测试、主仓 `tests/test_adapter_parity.py` 和: ```powershell python scripts/publish_adapter_skills.py --check python scripts/adapter_parity.py --strict ``` 4. 需要更新分发包时运行发布脚本,检查 `SKILL.md` 的 `name: adapter-<host>` 与随附文件完整性。
Read the whole file at its exact version.
How to install
mdr add freehul/sgme/sgme-adapter-development@sha256:abeb533b8c221b4fThe line at the top of this page pins the label v1.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_swzkqjdz5cubrxap)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between Sep 29, 2026 and Nov 2, 2026, about one every 11 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v1.0.0 latest | 2026-11-02 | e36ddcc | 1,972 B | A | view · diff |
| v1.0.0 | 2026-10-01 | 65ba513 | 1,970 B | A | view · diff |
| v1.0.0 | 2026-09-30 | 90dd59b | 1,922 B | A | view · diff |
| v1.0.0 | 2026-09-29 | b5e8585 | 1,766 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 (1972 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_swzkqjdz5cubrxap GET https://markdownregistry.com/api/v1/resolve?ref=freehul/sgme/sgme-adapter-development GET https://markdownregistry.com/api/v1/blob/abeb533b8c221b4f0a6d7fb56c3e70b99308afbb9fb0655c9ef8e7339d071069
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.