module-index-refresh

module-index-refresh is a skill for Claude Code from ryanzhao1011/workframe. It costs 183 tokens per session (4,957 once invoked), scanned A, original, MIT.

A skill for rebuilding automatically maintained index sections in overview files under a modules directory. It changes only the content between marked start and end comments, leaving the surrounding human-written text alone.

In plain words
What is it for?
Use it after module or requirement changes to refresh overview indexes, status summaries, and requirement listings. It is not intended for editing PRDs, front matter, current-state notes, or broken links.
Why use it?
It keeps module indexes and requirement summaries in sync while protecting manually written explanations. It also supports refreshing one selected path or all modules recursively.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is | [profile](./profile/overview.md) | active | 用户档案与个性化 |.

Part of the core plugin — 36 skills, 4 agents, 12 hooks shipped together

Good fit Use it after module or requirement changes to refresh overview indexes, status summaries, and requirement listings. It is not intended for editing PRDs, front matter, current-state notes, or broken links.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/ryanzhao1011/workframe
agentmods
npx agentmods add skills/ryanzhao1011/workframe/module-index-refresh

Made for: Claude Code.

Or install core, the plugin that ships this one along with the rest of its 36 skills, 4 agents, 12 hooks.

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 module-index-refresh

README.md
[![agentmods](https://agentmods.dev/badge/skills/ryanzhao1011/workframe/module-index-refresh/github.svg)](https://agentmods.dev/skills/ryanzhao1011/workframe/module-index-refresh)
Your own site
<a href="https://agentmods.dev/skills/ryanzhao1011/workframe/module-index-refresh"><img src="https://agentmods.dev/badge/skills/ryanzhao1011/workframe/module-index-refresh/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 module-index-refresh

Your own site · 80×15
<a href="https://agentmods.dev/skills/ryanzhao1011/workframe/module-index-refresh"><img src="https://agentmods.dev/badge/skills/ryanzhao1011/workframe/module-index-refresh.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 183 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,957 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.00183 $0.04957
Opus 5.5 $0.00073 $0.01983
Sonnet 5.5 $0.00037 $0.00991
Haiku 4.5 $0.00018 $0.00496

Measured 3d ago against content hash 09b8ab1c3835, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

module-index-refresh 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 3d 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.

plugins/core/skills/module-index-refresh/SKILL.md · 219 lines

How it starts

The opening of the file, as written. The whole thing — 219 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Module Index Refresh Skill

前置依赖

调用本 skill 前需读 skill: document-norms §3(机器维护段边界格式)/ §4(索引层级与同步规则)。

定位

modules/ 体系下机器维护索引段的唯一刷新入口。

适用范围:

  • 全局 projects/modules/overview.md 的 basic-modules-index 段
  • 基础模块 <basic>/overview.md 的 submodules-index 段
  • 子模块 <sub>/overview.md 的 current-state-summary + requirements-index 段
  • 子模块需求清单 <sub>/requirements/overview.md 的 requirements-by-status 段
  • 需求 <req_slug>/overview.md 的 sub-requirements-index 段

严格保证:

  • 只重写 <!-- WORKFRAME:AUTO-INDEX:START[:<name>] --> 与配对 <!-- WORKFRAME:AUTO-INDEX:END[:<name>] --> 之间内容(:<name> 可选;命名段格式见 document-norms §3.3 + 子模块 overview 模板的 current-state-summary / requirements-index 双段示例)
  • 段外人写部分(positioning / 中间内容)零接触
  • 同输入 → 同输出(可 diff 复现)

不适用:

  • 修改 frontmatter updated 字段 → 由 obsidian-safe-write 或文档创建 skill 维护
  • 修改 PRD 内容 → 由 prd-writer
  • 修改 current-state/ 内容 → 由 code-to-doc
  • 修复 broken link → 由 obsidian-link-audit

输入

模式 输入
增量(推荐) 限定路径,如 <basic> / <basic>/<sub> / <basic>/<sub>/requirements/<req_slug>
全量 无输入(递归 projects/modules/)

工作流

Step 1: 路径解析与影响范围

按输入路径计算需刷新的 overview 文件:

输入路径 受影响 overview
全量 modules/overview.md + 所有 <basic>/overview.md + 所有 <sub>/overview.md + 所有 requirements/overview.md + 所有 <req_slug>/overview.md
<basic> modules/overview.md + <basic>/overview.md
<basic>/<sub> modules/overview.md + <basic>/overview.md + <basic>/<sub>/overview.md + <basic>/<sub>/requirements/overview.md
<basic>/<sub>/requirements/<req_slug> 上一行 + <req_slug>/overview.md

优化原则:能只刷一个子模块就不全量刷。同一文件的多个 auto_sections 一次性处理,不重复读写。

Step 1.5: 全部段交给脚本(单一实现,防漂移)

六类段都由 module_init.py 渲染与写入(规则只在 _module_nav.py 一处;建树时也调同一入口), 模型不渲染、不手改段体:

# $WF_PLUGIN_ROOT = 会话开场注入的「本会话插件根」,执行前换成那个路径
R="$WF_PLUGIN_ROOT/scripts/module_init.py"
python -B "$R" --project . --refresh-index [--scope <Step 1 的输入路径或刚写的文件>…]   # 写有差异的段
python -B "$R" --project . --check [--scope …]                                          # 零写入比较
python -B "$R" --project . --convert-layout [--scope …]                                 # 旧版式转换预览

Read the full file on GitHub · 219 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. 3d ago Changed · +6 lines 09b8ab1c3835
  2. 1mo ago Changed · +11 lines · +73 tokens per session scan B → A 347ed0b2319f
  3. 3mo ago First seen · 202 lines · 110 tokens per session scan B f1ad168645da

Subscribe to this mod's changes

module-index-refresh is a skill published in the GitHub repository ryanzhao1011/workframe (9 stars, last pushed 5d ago), licensed MIT. It adds 183 tokens to every session and 4,957 once invoked, about $0.0007 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-31.

Related

module-index-refresh compared with skills from other repositories

module-index-refresh next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
module-index-refreshryanzhao1011/workframeSkill95d agoMITA183Claude Code
html-prototypemayuemarsha-del/pm-skillsSkill56mo agoMITA97Claude Code
feature-acceptancemayuemarsha-del/pm-skillsSkill56mo agoMITA192Claude Code
prdmayuemarsha-del/pm-skillsSkill56mo agoMITA202Claude Code
ui-walkthroughmayuemarsha-del/pm-skillsSkill56mo agoMITA231Claude Code
gbgcielebak/goal-by-goalSkill15mo agoMITA150Claude Code
competitor-researchmayuemarsha-del/pm-skillsSkill56mo agoMITA123Claude Code