adapter-doubao SKILL.md skillB

adapter-doubao from freehul/sgme is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add freehul/sgme/adapter-doubao@git:20261102.cbe83bb

Pins 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
skills/adapter-doubao/SKILL.md
Versions recorded
9
Latest version
git:20261102.cbe83bb, committed Nov 2, 2026
First version recorded
Sep 28, 2026
Size
12,296 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

The exact contents, by fingerprint
mdr add freehul/sgme/adapter-doubao@sha256:324f1fdf7f9b7767

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_vk6rl7am2ydseopd.svg)](https://markdownregistry.com/a/art_vk6rl7am2ydseopd)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 9 versions of this file, between Sep 28, 2026 and Nov 2, 2026, about one every 4 days.

versioncommittedcommitsizeaudit
git:20261102.cbe83bb latest2026-11-02 cbe83bb 12,296 BB view · diff
git:20261102.cf476fc2026-11-02 cf476fc 11,752 BB view · diff
git:20261101.3d2a83f2026-11-01 3d2a83f 11,658 BB view · diff
git:20261029.e6a87042026-10-29 e6a8704 11,246 BB view · diff
git:20261029.a55f8dd2026-10-29 a55f8dd 11,147 BB view · diff
git:20261014.e6ec14f2026-10-14 e6ec14f 11,064 BB view · diff
git:20261014.c149e562026-10-14 c149e56 10,920 BB view · diff
git:20260929.0cdaac12026-09-29 0cdaac1 10,699 BB view · diff
git:20260928.e8115e52026-09-28 e8115e5 10,653 BB view

Audit of the latest version

B  16 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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 (12296 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

GitHub

freehul/sgme · 15 stars · license MIT · pushed 2026-11-06 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_vk6rl7am2ydseopd
GET https://markdownregistry.com/api/v1/resolve?ref=freehul/sgme/adapter-doubao
GET https://markdownregistry.com/api/v1/blob/324f1fdf7f9b7767e7f8b92de7f1c2324c538c8b3dada5d055a0f8ee5f14495e

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 freehul/sgme

AGENTS.md AGENTS.md file
freehul/sgme · AGENTS.md
git:20261105.664942f · audit A · 15 stars
sgme-claude-code SKILL.md skill
freehul/sgme · adapters/claude-code/SKILL.md · Claude Code 的 SGME 官方适配器(MCP stdio 动态透传 + 原生 hooks:SessionStart 注入 / Stop 落盘 / SessionEnd…
git:20261029.e6a8704 · audit A · 15 stars
sgme-codex SKILL.md skill
freehul/sgme · adapters/codex/SKILL.md · Codex 的 SGME 官方适配器(动态 MCP 代理 + 会话生命周期 CLI)。当对话涉及历史事实、用户偏好、记忆读写、技能检索、Wiki 查询或提炼触发时使用。接入标记:SGME-ONBOARDING-v2。
git:20261029.e6a8704 · audit A · 15 stars
sgme-bridge SKILL.md skill
freehul/sgme · adapters/doubao/SKILL.md · 豆包工作 ↔ SGME(拾光记忆引擎)官方适配器。SGME 是主人的长期记忆中枢(HTTP API <NAS_IP>:9910,MCP <NAS_IP>:9913),负责跨会话/多 Agent 的记忆提炼、按场景注入、wiki…
git:20261102.cbe83bb · audit B · 15 stars
dsh SKILL.md skill
freehul/sgme · adapters/dsh/SKILL.md · DeepSeek Harness(dsh)的 SGME(拾光记忆)官方适配器(Cordis TS 原生插件)。当对话涉及「以前/上次/还记得/历史事实」、要求记住某事、需要关怀信号/角色扮演、读写 SGME…
git:20261102.cf476fc · audit B · 15 stars
wiki-skill-discovery SKILL.md skill
freehul/sgme · adapters/dsh/skills/wiki-skill-discovery/SKILL.md · 发现并加载 SGME 知识库中的技能手册。当任务需要操作手册(如 SGME 运维、GitHub 操作、弱电流程)或不确定知识库有哪些手册时使用——按分类列目录、按描述判断、拉全文执行。
git:20260816.10a3ed6 · audit A · 15 stars
hermes SKILL.md skill
freehul/sgme · adapters/hermes/SKILL.md · Hermes 的 SGME(拾光记忆)官方适配器(memory.provider 插件)。当对话涉及「以前/上次/还记得/历史事实」、要求记住某事、需要关怀信号/角色扮演、读写 SGME…
git:20261102.cf476fc · audit B · 15 stars
mimo SKILL.md skill
freehul/sgme · adapters/mimo/SKILL.md · 小米 MiMo Desktop 的 SGME(拾光记忆)官方适配器。当对话涉及「以前/上次/还记得/历史事实」、要求记住某事、需要关怀信号/角色扮演、读写 SGME…
git:20261102.cbe83bb · audit B · 15 stars
sgme SKILL.md skill
freehul/sgme · adapters/workbuddy/SKILL.md · WorkBuddy 的 SGME(拾光记忆)官方适配器。当对话涉及「以前/上次/还记得/历史事实」、要求记住某事、需要关怀信号/角色扮演、读写 SGME…
git:20261102.cbe83bb · audit B · 15 stars
sgme-zcode SKILL.md skill
freehul/sgme · adapters/zcode/SKILL.md · ZCode 的 SGME(拾光记忆)官方适配器。当对话涉及「以前/上次/还记得/历史事实」、要求记住某事、需要关怀信号/角色扮演、读写 SGME 记忆/知识/技能、触发提炼或画像注入、补导入历史会话时使用。接入标记:SGME-ONBOARD…
git:20261102.cbe83bb · audit B · 15 stars
DESIGN.md@adapters/zcode/official_bridge DESIGN.md file
freehul/sgme · adapters/zcode/official_bridge/DESIGN.md
git:20261103.dcaf14a · audit A · 15 stars
skill-registry-protocol SKILL.md skill
freehul/sgme · sgme/skills/protocol/SKILL.md · SGME 三大核心模块路由与技能按需注入协议——先判断 memory/wiki/skills 归属,再检索专业技能,不批量安装、不凭空编造。
v2.0.0 · audit A · 15 stars

Every file in freehul/sgme

Browse by kind, by grade B, or by owner.