hotplex-legacy: Skill for Claude Code

.agent/skills/hotplex-doc-sync/SKILL.md

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

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md.

This is hrygo/hotplex-legacy's own configuration. It tells Claude Code and Codex how to work on hotplex-legacy itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything hotplex-legacy configures →

Reuse

Borrowing it

Nothing to install: this file belongs to hrygo/hotplex-legacy. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/hrygo/hotplex-legacy/main/.agent/skills/hotplex-doc-sync/SKILL.md
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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hotplex-doc-sync

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00118 $0.01635
Opus 5.5 $0.00047 $0.00654
Sonnet 5.5 $0.00024 $0.00327
Haiku 4.5 $0.00012 $0.00163

Measured 1mo ago against content hash 59d7373d2a92, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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. 1mo 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 6mo ago), licensed MIT. It adds 118 tokens to every session and 1,635 once invoked, about $0.0005 per session on Opus 5.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

pr

Draft a PR body from OMC's paper trail — the smallest visual that proves the change, evidence consumed from the verify protocol (never re-collected), reversibility from the ADR test on the diff, glossary language throughout.

Yeachan-Heo/oh-my-claudecode · 47 tokens

archify-review

Review Archify issues, PRs, or code through value, cost, and impact to support evidence-based maintenance decisions. Use for issue triage, change reviews, and code quality assessments.

tt-a1i/archify · 42 tokens

plannotator

Reference for using Plannotator (its plannotator tool when you have one, otherwise the CLI): plan review, code review, annotating files, URLs, folders, and running local apps, annotating the last assistant message, browsing archived plan decisions, exporting or sharing Guided Reviews, and the Plannotator Inbox…

backnotprop/plannotator · 137 tokens

remove-ai-slops

Removes AI-generated code smells from branch changes or an explicit file list behind regression tests. Use when the user asks to clean up, deslop, or remove AI-slop patterns from recent changes.

code-yeongyu/oh-my-openagent · 45 tokens

review-work

Post-implementation gate review: run manual QA on the real surface yourself, then launch ONE gate reviewer (never a panel) to audit goal, constraints, code quality, security, missed context, and QA evidence. Use before a PR handoff or when the user explicitly asks to review completed work.

code-yeongyu/oh-my-openagent · 63 tokens

tech-debt-audit

Thorough, file-cited technical debt audit across 9 dimensions using AST-grep (tree-sitter), grep, LSP, and language-native tooling. Produces TECHDEBTAUDIT.md with severity, effort estimates, and prioritized fixes. Use when asked for codebase health check, tech debt audit, architecture review, code quality assessment…

code-yeongyu/oh-my-openagent · 127 tokens