sgme SKILL.md skillA

sgme 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/sgme@v2.0.0

Pins 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
skills/sgme/SKILL.md
Versions recorded
5
Latest version
v2.0.0, committed Sep 29, 2026
First version recorded
Aug 29, 2026
Size
10,595 bytes
Repository stars
15
License
MIT

SGME 能力平面总手册:memory、skills、wiki 三大核心模块的接入、路由、按需调用与排障。.

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 操作手册

> 拾光记忆引擎(Single-user Agent Memory Engine)——多 agent 共享的记忆/知识/经验中枢。
> 服务:NAS <NAS_IP>(HTTP :9910 / MCP :9913)。密钥走环境变量,不落明文。

## 一、能力平面:接入后不再堆装 skill

SGME 是 Agent 的长期能力平面。接入后,宿主只需要一个适配器(或通用 MCP);
专业能力默认留在 SGME 技能库中,按需检索和注入,不要把几十个技能全文复制到本地。

| 核心模块 | 负责什么 | 先用什么 | 典型入口 |
|---|---|---|---|
| **memory** | 用户/项目历史事实、偏好、会话捕获、画像注入、提炼与溯源 | `inject` / `search` | `append`、`inject`、`search(scopes=["memory"])`、`memory_get`、`refine_*` |
| **skills** | 可复用的专业流程、工具链和领域能力;按需加载全文 | `skill_search` → `skill_digest` → `skill_get` | `skill_list`、`skill_search`、`skill_get`、`skill_materialize` |
| **wiki** | 持久知识、手册、设计文档、经验、踩坑和自进化写回 | `wiki_search` / `wiki_pages` | `wiki_search`、`wiki_pages`、`wiki_page`、`wiki_page_add/update` |

### 任务路由规则

1. 用户问「以前、上次、记得、我的偏好、项目历史」:先查 **memory**,查不到就明确说记忆库未找到。
2. 需要长期保存的手册、方案、经验、踩坑:写入 **wiki**;写前先 `wiki_search` 避免重复。
3. 需要某个框架、工具链、专业流程:先搜 **skills**,看摘要后再取全文;不要凭空声称拥有该能力。
4. 任务同时涉及三类信息时:先 memory 取上下文,再 skills 取执行方法,最后把稳定经验沉淀到 wiki。
5. 找不到合适 skill 时,不安装一堆替代品,也不编造步骤;报告 SGME 技能库缺口,必要时再请主人补充或纳管。

### Agent 日常闭环

`health → inject/search → 执行任务 → append → refine_trigger(async) → wiki/skill 按需沉淀`
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add freehul/sgme/sgme@sha256:95da92210fe1e76d

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

Badge

mdr badge

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

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

Versions

The registry has recorded 5 versions of this file, between Aug 29, 2026 and Sep 29, 2026, about one every 8 days.

versioncommittedcommitsizeaudit
v2.0.0 latest2026-09-29 b5e8585 10,595 BA view · diff
v2.0.02026-09-29 d97ab3f 9,839 BA view · diff
git:20260917.e79bda92026-09-17 e79bda9 7,902 BA view · diff
git:20260902.7673c5e2026-09-02 7673c5e 7,902 BA view · diff
git:20260829.90dc48c2026-08-29 90dc48c 7,828 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (10595 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

GitHub

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

API

GET https://markdownregistry.com/api/v1/artifacts/art_tsch6oitpeywdvqv
GET https://markdownregistry.com/api/v1/resolve?ref=freehul/sgme/sgme
GET https://markdownregistry.com/api/v1/blob/95da92210fe1e76d3f71699e43a2e8dea1b482491f46978635ac52f82a952b6f

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

Other files named sgme

sgme SKILL.md skill
freehul/sgme · adapters/workbuddy/SKILL.md · WorkBuddy 的 SGME(拾光记忆)官方适配器。当对话涉及「以前/上次/还记得/历史事实」、要求记住某事、需要关怀信号/角色扮演、读写 SGME…
git:20261102.cbe83bb · audit B · 15 stars

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