Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/hrygo/hotplex-legacy/hotplex-doc-syncnpx skills add hrygo/hotplex-legacy --skill hotplex-doc-syncgit clone --depth 1 https://github.com/hrygo/hotplex-legacyWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/hrygo/hotplex-legacy/hotplex-doc-sync)<a href="https://agentmods.dev/skills/hrygo/hotplex-legacy/hotplex-doc-sync"><img src="https://agentmods.dev/badge/skills/hrygo/hotplex-legacy/hotplex-doc-sync.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00118 | $0.01635 |
| Opus 5 | $0.00059 | $0.00817 |
| Sonnet 5 | $0.00024 | $0.00327 |
| Haiku 4.5 | $0.00012 | $0.00163 |
Grade A, and why
hotplex-doc-sync scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 201 lines — stays where its author put it; the contents beside it link to each section on GitHub.
HotPlex Doc Sync — 文档防腐同步
核心原则
文档是代码的门面。过时的文档比没有文档更危险——它会误导开发者,让他们沿着错误的路径走。本 skill 的职责是确保文档永远反映代码的真实状态。
工作流程
Step 1: 建立文档清单
首先建立项目文档清单,按优先级分类:
第一优先级(项目核心文档,每次发布必须检查):
hotplex.go # Version 常量
Makefile # VERSION 变量
CLAUDE.md # Project Status 版本号
AGENT.md # Project Status 版本号
CHANGELOG.md # 变更记录
README.md # 根 README
ARCHITECTURE.md # 架构文档
第二优先级(模块级 README,每个 internal/*/README.md):
internal/engine/README.md
internal/config/README.md
internal/security/README.md
internal/server/README.md
internal/persistence/README.md
internal/secrets/README.md
internal/telemetry/README.md
internal/strutil/README.md
internal/sys/README.md
internal/panicx/README.md
provider/README.md
plugins/storage/README.md
brain/README.md
chatapps/README.md
第三优先级(指南和参考文档):
docs/configuration.md / docs/configuration_zh.md
docs/providers/*.md
docs/observability-guide.md
docs/quick-start.md
docs-site/reference/protocol.md
Step 2: 版本一致性检查
验证所有版本引用是否一致。执行:
grep 'Version = ' hotplex.go # 获取当前版本
grep 'VERSION\s*?=' Makefile # Makefile 版本
grep 'v[0-9]\+\.[0-9]\+' CLAUDE.md # CLAUDE.md 版本
grep 'v[0-9]\+\.[0-9]\+' AGENT.md # AGENT.md 版本
grep '^## \[v' CHANGELOG.md | head -1 # CHANGELOG 最新版本
常见不一致场景:
hotplex.go是真相来源,其他文件应与之对齐- CHANGELOG 顶部版本号必须与
hotplex.go完全匹配 - 如果发现不一致 → 立即修复
Step 3: 模块 README 一致性检查
对每个 */README.md,验证:
- 包名和导入路径是否正确
- 导出的类型/函数/常量是否在代码中存在
- 结构描述是否与实际目录结构匹配
检查方法:
# 获取模块的导出
grep -r '^type \|^func \|^var \|^const ' --include="*.go" <module>/
# 获取 README 声称的内容
grep -E '\*\*|##|`' <module>/README.md
典型问题:
- README 提到某个 package 但实际 import path 不同
- README 列出的子目录已被删除或重命名
- README 的示例代码使用了旧 API
Step 4: API 和配置文档检查
配置文档(docs/configuration*.md):
# 获取实际配置结构
grep -r 'type.*Config\|YAMLTag\|json:' --include="*.go" internal/config/
# 获取文档中的配置项
grep -E '^###|^##|^\s*-\s|\|' docs/configuration*.md
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 4d ago First seen · 201 lines · 118 tokens per session scan A 59d7373d2a92
hotplex-doc-sync is a skill published in the GitHub repository hrygo/hotplex-legacy (11 stars, last pushed 4mo ago), licensed MIT. It adds 118 tokens to every session and 1,635 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
hotplex-release
通过判断 SemVer 影响、整理 CHANGELOG、对账版本面和验证发布输入来准备或发布 HotPlex 版本。不要用于主机二进制更新、运行时诊断或文档巡逻。.
hotplex-docs-patrol
维护 HotPlex 当前文档,将代码、配置、API 或发布变更映射到 BFS 可达文档,只修复已验证的文档漂移。不要用于普通润色、运行时诊断或版本发布。.
hotplex-stt-tts
初始化或修复 HotPlex 本地 STT 和 MOSS TTS 运行时,包括 Python 依赖、官方模型、配置和验收。仅在明确授权主机变更时使用;只读检查请使用 hotplex-cli 或 hotplex-diagnostics。.
hotplex-diagnostics
深入诊断 HotPlex Gateway、Worker、Session、日志或反馈链异常。普通 status/doctor/security/config 只读检查属于 hotplex-cli;安装、更新、重启、配置写入和 Admin 变更属于 hotplex-operator。.
hotplex-cli
使用 HotPlex CLI 处理 Cron、明确请求的 Slack 操作、普通用户聊天命令指引,以及只读 status、doctor、security、config 诊断。不要用于飞书写操作、发布、服务安装、二进制更新或 Admin 变更。.
hotplex-operator
运维或初始化 HotPlex 主机,覆盖首次 onboard、服务安装/启动、二进制更新、主机配置、审计检查和 Admin 变更。仅在明确授权的 operator 上下文中使用。.