sgme-bridge SKILL.md skillB
sgme-bridge 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-bridge@git:20261102.cbe83bbPins git:20261102.cbe83bb in mdr.lock. Pin the fingerprint instead.
- Audit grade
- B, 16 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- freehul/sgme
- Path
adapters/doubao/SKILL.md- Versions recorded
- 10
- Latest version
- git:20261102.cbe83bb, committed Nov 2, 2026
- First version recorded
- Sep 19, 2026
- Size
- 12,246 bytes
- Repository stars
- 15
- License
- MIT
豆包工作 ↔ SGME(拾光记忆引擎)官方适配器。SGME 是主人的长期记忆中枢(HTTP API <NAS_IP>:9910,MCP <NAS_IP>:9913),负责跨会话/多 Agent 的记忆提炼、按场景注入、wiki 知识库与技能库。当对话涉及「以前/上次/还记得/历史事实」、主人要求记忆某事、需要主动关怀信号、角色扮演、或需要读写 SGME 记忆/知识/技能时使用。接入标记:SGME-ONBOARDING-v2。.
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-ONBOARDING-v2) 你有一个长期记忆引擎 SGME(ShiGuang Memory Engine),运行在本机或 NAS。它的职责:把我们的会话提炼成标签化记忆,按场景注入回来,让你不再失忆。 > 本技能是 SGME 官方适配器(`adapters/doubao/`,源码唯一副本随 SGME 仓库版本控制;本目录是部署副本,由 `install.py` 同步,可随时重建)。 > **能力面 = CLI 命令面**:本文件「能力矩阵」里列出的命令就是你能调用的全部工具(54 个基准能力一个不少)。 ## 服务发现(找不到 SGME 时按序) 1. 先看部署配置 `scripts/client.env`(本技能目录内,`install.py` 部署时写入)——里面是部署时解析出的真实地址;环境变量 `SGME_HTTP_URL`(或 `SGME_BASE_URL`)、`SGME_MCP_URL` 优先级更高; 2. 都没有才回落回环默认 `http://127.0.0.1:9910`(MCP 端点由 HTTP 地址按同主机「端口 +3 / 路径 /mcp」推导); 3. 探测 `GET http://<NAS_IP>:9910/v1/health`(生产 SGME 在 NAS); 4. 失败读 `~/.sgme/install.json`(本机安装清单:地址/端口/密钥环境变量名); 5. 仍失败 → 向主人报告「SGME 未发现」。 端点自检:`python scripts/sgme_client.py env-info`(离线,不打印密钥)。 ## 接口与鉴权 | 项 | 值 | |---|---| | HTTP API | `http://<NAS_IP>:9910`(生产,NAS;真实地址见部署配置/环境变量) | | MCP | `http://<NAS_IP>:9913/mcp`(streamable HTTP) | | 请求头 | `X-API-Key: <环境变量 SGME_AGENT_KEY 的值>`(不硬编码、不回显明文) | | agent 能力面 | 环境变量 `SGME_AGENT_KEY`(管理员签发的 `agt_*` key) | | 写侧/管理能力 | 环境变量 `SGME_ADMIN_KEY`(`skill_put`/`skill_delete`/`skill_rename` 服务端强制校验) | | 连通性自检 | `scripts/selfcheck.py`(能力矩阵 + 连通性全绿 = 接入完成) | ## 使用纪律(五条铁律) …
Read the whole file at its exact version.
How to install
mdr add freehul/sgme/sgme-bridge@sha256:d02690cf6fa36942The line at the top of this page pins the label git:20261102.cbe83bb, 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_2idmy3sjfyfw65dm)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 10 versions of this file, between Sep 19, 2026 and Nov 2, 2026, about one every 5 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261102.cbe83bb latest | 2026-11-02 | cbe83bb | 12,246 B | B | view · diff |
| git:20261102.cf476fc | 2026-11-02 | cf476fc | 11,702 B | B | view · diff |
| git:20261101.3d2a83f | 2026-11-01 | 3d2a83f | 11,608 B | B | view · diff |
| git:20261029.e6a8704 | 2026-10-29 | e6a8704 | 11,196 B | B | view · diff |
| git:20261029.a55f8dd | 2026-10-29 | a55f8dd | 11,097 B | B | view · diff |
| git:20261014.e6ec14f | 2026-10-14 | e6ec14f | 11,014 B | B | view · diff |
| git:20261014.c149e56 | 2026-10-14 | c149e56 | 10,870 B | B | view · diff |
| git:20260929.0cdaac1 | 2026-09-29 | 0cdaac1 | 10,649 B | B | view · diff |
| git:20260920.f8d42e1 | 2026-09-20 | f8d42e1 | 10,603 B | B | view · diff |
| git:20260919.7300010 | 2026-09-19 | 7300010 | 10,584 B | B | view |
Audit of the latest version
- fail: No link to a raw IP address (matched: http://127.0.0.1:9910)
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (12246 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 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
freehul/sgme · 15 stars · license MIT · pushed 2026-11-06 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_2idmy3sjfyfw65dm GET https://markdownregistry.com/api/v1/resolve?ref=freehul/sgme/sgme-bridge GET https://markdownregistry.com/api/v1/blob/d02690cf6fa36942841d5a59cc93166de92957dc0f4682c9efdbd7b250ad15a1
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.