index-status
Show the current state of the project index: staleness, module coverage, hook health, and recent sync activity. Use to diagnose index issues.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Show the current state of the project index: staleness, module coverage, hook health, and recent sync activity. Use to diagnose index issues.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Generate a complete project index with per-module README files for efficient code navigation. Use when starting work on a new project or after major restructuring. Run once per project.
Rebuild the index for a specific module or the entire project. Accepts --module flag for targeted rebuild and --m flag for custom instructions.
| name | index-status |
| description | Show the current state of the project index: staleness, module coverage, hook health, and recent sync activity. Use to diagnose index issues. |
| disable-model-invocation | true |
| allowed-tools | ["Read","Glob","Grep","Bash"] |
Show the health and status of the project index.
Say: "Checking MacroManAtlas index status..."
Read .claude/index.md. If it doesn't exist, report:
MacroManAtlas Status
────────────────
⚠ No index found. Run /index-init to generate one.
And stop.
From .claude/index.md, extract:
For each module listed in the index:
<Module>/README.md existsgit log -1 --format=%ci -- <Module>/README.md or Bash stat)git log -1 --format=%ci -- <Module>/)git ls-files <Module>/ | wc -l (or Glob fallback)Status symbols:
Read the plugin's hooks.json to verify hook registration. Check for:
Read last 20 lines of ~/.claude/logs/index-sync.log (if exists).
Extract the most recent sync: module name and timestamp.
Format output as:
MacroManAtlas Status
────────────────
Index: .claude/index.md (generated <time ago>)
Type: <project-type> | Modules: <N> | Indexed files: <N>
Module Health:
✓ ModuleName — <N> files, README fresh
⚠ ModuleName — <N> files, README stale (<N> new files not indexed)
✗ ModuleName — no README.md
Hooks: SessionStart ✓ | PostToolUse ✓ | PreCompact ✓ | Stop ✓
Last sync: <module> (<time ago>) — <change_type>
If no sync log exists, show: Last sync: no activity recorded