adapter-dsh SKILL.md skillB
adapter-dsh 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/adapter-dsh@git:20261102.cf476fcPins git:20261102.cf476fc 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-dsh/SKILL.md- Versions recorded
- 4
- Latest version
- git:20261102.cf476fc, committed Nov 2, 2026
- First version recorded
- Sep 28, 2026
- Size
- 4,433 bytes
- Repository stars
- 15
- License
- MIT
DeepSeek Harness(dsh)的 SGME(拾光记忆)官方适配器(Cordis TS 原生插件)。当对话涉及「以前/上次/还记得/历史事实」、要求记住某事、需要关怀信号/角色扮演、读写 SGME 记忆/知识/技能、触发提炼或画像注入时使用。接入标记:SGME-ONBOARDING-v2。不适用于与 SGME 无关的通用问答。.
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 · DSH)
你(DeepSeek Harness)通过官方 **Cordis TS 原生插件**接入长期记忆引擎 SGME(ShiGuang Memory Engine)。职责:把会话提炼成标签化记忆,按场景注入回来,让你不再失忆。
> 本技能是 SGME 官方适配器(源码 `adapters/dsh/`,运行时主体 `sgme-bridge/`)。
> **形态**:TS 原生插件,运行时零 Python;Python 侧仅 `install.py` / `import_history.py`。
> **优先用插件已注册工具**(`memory_search` / `wiki_search` 等)与 `/sgme` 命令。
## 获取与安装(自助)
1. `skill_search("adapter dsh")` → `skill_get` 确认版本与纪律
2. `skill_materialize(name="adapter-dsh", dest_dir="<工作区>")` 落盘完整包到**本地** `<工作区>/adapter-dsh/`(走技能库包通道 + 两级缓存:目录版本短路 + `package_sha256` 比对,命中零下载;旧版服务端自动回退服务端物化)。也可直接用包通道 `GET /v1/skills/{name}/package`(或 `skill_fetch.py --name adapter-dsh --dest <工作区>` 一键下载校验解包,脚本经 `GET /v1/onboarding/docs` 在线获取;失败不留残件)
3. 运行 `python scripts/install.py --dir <项目根>`(注册 agent、写 `.env`、打印加载命令)
4. `dsh plugin add "link:<包路径>/package/sgme-bridge"`(或仓库路径)
5. 在含 `.env` 的目录启动 dsh
无 skill 通道时:从仓库 `adapters/dsh/` 安装(详见 `references/README.md`)。
## 服务发现(找不到 SGME 时按序)
1. 环境变量 `SGME_HTTP_URL` / `SGME_BASE_URL`、`SGME_MCP_URL`
2. 项目 `.env`(`SGME_AGENT_KEY` / `SGME_ADMIN_KEY`)
3. 本机 `~/.sgme/install.json`
4. 回环默认 `http://127.0.0.1:9910`
5. 探测 `GET /v1/health`;仍失败 → 报告「SGME 未发现」
## 接口与鉴权
| 项 | 值 |
…Read the whole file at its exact version.
How to install
mdr add freehul/sgme/adapter-dsh@sha256:67ce5268442366b7The line at the top of this page pins the label git:20261102.cf476fc, 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_afhxw2kodfturuey)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between Sep 28, 2026 and Nov 2, 2026, about one every 12 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261102.cf476fc latest | 2026-11-02 | cf476fc | 4,433 B | B | view · diff |
| git:20261014.e6ec14f | 2026-10-14 | e6ec14f | 4,321 B | B | view · diff |
| git:20260929.0cdaac1 | 2026-09-29 | 0cdaac1 | 4,204 B | B | view · diff |
| git:20260928.e8115e5 | 2026-09-28 | e8115e5 | 4,021 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 (4433 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_afhxw2kodfturuey GET https://markdownregistry.com/api/v1/resolve?ref=freehul/sgme/adapter-dsh GET https://markdownregistry.com/api/v1/blob/67ce5268442366b785088a87ecbbf16879050d5b0b047a408e389c95c16f3154
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.