hotplex-doc-sync

hotplex-doc-sync is a skill for Claude Code, Codex from hrygo/hotplex-legacy. It costs 118 tokens per session (1,635 once invoked), scanned A, original, MIT.

A documentation-checking workflow for HotPlex projects. It compares project documentation, version references, and guides with the code that is actually implemented.

In plain words
What is it for?
Use it to inventory documentation, check version consistency, find differences between code and docs, and update affected files before a release.
Why use it?
It helps catch instructions and version details that have become outdated and could lead developers through the wrong setup or usage steps.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/hrygo/hotplex-legacy/hotplex-doc-sync
Any agent
npx skills add hrygo/hotplex-legacy --skill hotplex-doc-sync
Clone the repo
git clone --depth 1 https://github.com/hrygo/hotplex-legacy

Made for: Claude Code, Codex.

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

agentmods badge for hotplex-doc-sync

README.md
[![agentmods](https://agentmods.dev/badge/skills/hrygo/hotplex-legacy/hotplex-doc-sync.svg)](https://agentmods.dev/skills/hrygo/hotplex-legacy/hotplex-doc-sync)
Your own site
<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>
Per session 118 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,635 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 4d ago against content hash 59d7373d2a92, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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.

.agent/skills/hotplex-doc-sync/SKILL.md · 201 lines

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,验证:

  1. 包名和导入路径是否正确
  2. 导出的类型/函数/常量是否在代码中存在
  3. 结构描述是否与实际目录结构匹配

检查方法:

# 获取模块的导出
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

Read the full file on GitHub · 201 lines

Changes

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.

  1. 4d ago First seen · 201 lines · 118 tokens per session scan A 59d7373d2a92

Subscribe to this mod's changes

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.

Related

Other skills, from other repositories

hotplex-release

通过判断 SemVer 影响、整理 CHANGELOG、对账版本面和验证发布输入来准备或发布 HotPlex 版本。不要用于主机二进制更新、运行时诊断或文档巡逻。.

hrygo/hotplex · 52 tokens

hotplex-docs-patrol

维护 HotPlex 当前文档,将代码、配置、API 或发布变更映射到 BFS 可达文档,只修复已验证的文档漂移。不要用于普通润色、运行时诊断或版本发布。.

hrygo/hotplex · 57 tokens

hotplex-stt-tts

初始化或修复 HotPlex 本地 STT 和 MOSS TTS 运行时,包括 Python 依赖、官方模型、配置和验收。仅在明确授权主机变更时使用;只读检查请使用 hotplex-cli 或 hotplex-diagnostics。.

hrygo/hotplex · 65 tokens

hotplex-diagnostics

深入诊断 HotPlex Gateway、Worker、Session、日志或反馈链异常。普通 status/doctor/security/config 只读检查属于 hotplex-cli;安装、更新、重启、配置写入和 Admin 变更属于 hotplex-operator。.

hrygo/hotplex · 59 tokens

hotplex-cli

使用 HotPlex CLI 处理 Cron、明确请求的 Slack 操作、普通用户聊天命令指引,以及只读 status、doctor、security、config 诊断。不要用于飞书写操作、发布、服务安装、二进制更新或 Admin 变更。.

hrygo/hotplex · 63 tokens

hotplex-operator

运维或初始化 HotPlex 主机,覆盖首次 onboard、服务安装/启动、二进制更新、主机配置、审计检查和 Admin 变更。仅在明确授权的 operator 上下文中使用。.

hrygo/hotplex · 54 tokens