sgme-model-keys SKILL.md skillA

sgme-model-keys 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-model-keys@git:20260929.b5e8585

Pins git:20260929.b5e8585 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-model-keys/SKILL.md
Versions recorded
1
Latest version
git:20260929.b5e8585, committed Sep 29, 2026
Size
2,530 bytes
Repository stars
15
License
MIT

SGME 免费模型 Key 申请指南(Agnes agnes-2.5-flash 主链 / 硅基流动备用+向量)。.

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

# 免费模型 Key 申请指南(SGME 托底)

> 适用:新部署 SGME 且未配置模型 Key 的用户(免费托底)。当用户被告知「模型未配置、需申请免费 Key」时,按本指南转述注册地址与步骤。
> 核实日期:2026-08-29 | 官方口径:wiki.agnes-ai.com / docs.siliconflow.cn
> 历史注记:智谱 GLM-4.7-Flash 曾为托底主链,2026-08-29 因免费 Key 失效整体移出降级链(B121),无需再申请智谱 Key。

## 一句话

两个免费 Key(各约 10 分钟,**全程零充值**):LLM 提炼用 Agnes agnes-2.5-flash(免费主位),备用 + 向量用硅基流动(GLM-4-9B-0414 免费 / BAAI/bge-m3 1024 维调用零费用)。

## 一、Agnes AI(LLM 提炼主位)

1. 打开 https://agnes-ai.cn 邮箱注册
2. 进入 API 平台/开发者控制台 →「API Keys」→ 创建密钥(格式 `sk-xxx...`,只显示一次,立即复制)
3. 写入 SGME `config/.env`:`AGNESAI_API_KEY=你的Key`

免费说明:agnes-2.5-flash 官方价目表当前 **$0/1M tokens**(输入输出均免费),上下文 512K;免费档有限流,SGME 降级链自动退避/切换。

## 二、硅基流动(LLM 备用 + 向量)

1. 打开 https://cloud.siliconflow.cn 注册
2. 用户中心 → 实名认证 → 个人实名(支付宝刷脸)——解锁全部免费模型
3. 头像 →「API 密钥」→ 新建 → 复制保存
4. 写入 `config/.env`:`SILICONFLOW_API_KEY=你的Key`

免费说明:`THUDM/GLM-4-9B-0414` 免费档(LLM 第二优先,B144:V4-Flash 转付费已移出);`BAAI/bge-m3` 调用费用 0;向量模型 RPM 2000-10000、TPM 50万-1000万(宽裕);不实名仅影响充值/开票。

## 三、生效与验证

- providers.yaml 已内置 agnes / siliconflow 条目(仓库自带)
- 改 .env 后重启 Gateway;GET /v1/health 看 model_config 提示;/v1/search 验证语义检索
- 未配 Key:LLM 提炼降级 drop_batch、向量降级纯 BM25(系统能跑但提炼不可用)

## 四、排障

| 现象 | 处理 |
|---|---|
| 401 | 检查 Key 与 .env 变量名 |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add freehul/sgme/sgme-model-keys@sha256:68cdc9f9828aaee5

The line at the top of this page pins the label git:20260929.b5e8585, 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_ghm63etx3xl3gmyx.svg)](https://markdownregistry.com/a/art_ghm63etx3xl3gmyx)

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

Versions

The registry has recorded 1 version of this file, committed on Sep 29, 2026.

versioncommittedcommitsizeaudit
git:20260929.b5e8585 latest2026-09-29 b5e8585 2,530 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 (2530 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_ghm63etx3xl3gmyx
GET https://markdownregistry.com/api/v1/resolve?ref=freehul/sgme/sgme-model-keys
GET https://markdownregistry.com/api/v1/blob/68cdc9f9828aaee540654ac479fef5715cd3d8fda7b78224efdd6f3d02de7b89

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 A, or by owner.