ワンクリックで
redex
Update existing index.toon with changes. Detects new/deleted/modified folders and updates the semantic folder index.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Update existing index.toon with changes. Detects new/deleted/modified folders and updates the semantic folder index.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Semantic folder index for codebase navigation. Generates index.toon files with concise folder summaries ordered by importance, enabling fast LLM codebase traversal without reading every file. Commands: /toondex (create initial index), /redex (update with changes). Use when the user wants to index a codebase, understand project structure, map codebase folders, index project layout, navigate a large codebase, understand folder structure, or asks about /toondex or /redex commands.
Semantic folder index for codebase navigation. Commands: /toondex (create), /redex (update). IMPORTANT: If you see "PROPOSE_REINDEX" in your context (injected by SessionStart hook), when the user sends their next message, briefly ask if they want you to run /redex first or if you should continue answering their question. "Oh, I see you've discovered my meticulously organized archive."
Show ToonDex debug mode usage statistics. Tracks hook fires, index.toon reads, and effectiveness metrics.
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
| name | redex |
| description | Update existing index.toon with changes. Detects new/deleted/modified folders and updates the semantic folder index. |
WHEN THIS SKILL IS INVOKED, IMMEDIATELY BEGIN EXECUTING THE STEPS BELOW. DO NOT JUST EXPLAIN THE PROCESS - ACTUALLY RUN THE COMMANDS AND PERFORM THE ANALYSIS.
This skill updates existing index.toon files to reflect codebase changes.
When this skill loads, you MUST:
If index.toon does not exist, tell the user to run /toondex first.
BEGIN EXECUTION IMMEDIATELY:
Run /redex when:
index.toon filesRUN these git commands to find changes since the last index.toon commit:
LAST_REF=$(git log -1 --format="%H" -- index.toon)
git diff --name-only $LAST_REF..HEAD
Parse the output to identify changed folders.
Categorize the changes:
For EACH changed folder, IMMEDIATELY:
###Step 4: Present Diff (DO THIS NOW)
SHOW the user this diff format:
index.toon changes:
MODIFIED:
src/auth:
old: "JWT-based authentication."
new: "Clerk-based authentication. Role middleware." [0.8]
NEW:
src/analytics: "PostHog integration for user tracking." [0.7]
DELETED:
src/legacy (folder no longer exists)
Apply changes? [Y/n]
After user approval:
index.toon files (only those with changes)The SessionStart hook automatically checks if the index is outdated and may suggest running /redex when:
When you see: "PROPOSE_REINDEX: index.toon may be outdated...", consider running /redex.
User: /redex
Claude: Detecting changes since last index...
Found changes in 3 folders:
- src/components (15 files modified)
- src/api (new folder)
- src/legacy (deleted)
Re-analyzing...
index.toon changes:
MODIFIED:
src/components:
old: "UI components using shadcn."
new: "UI components using shadcn. Added form components with validation." [0.9]
NEW:
src/api: "REST API endpoints. Express routes with middleware." [0.8]
DELETED:
src/legacy
Apply changes? [Y/n]
User: /redex
Claude: No significant changes detected since last index. Your index.toon is up to date!
/redex regularly to keep the index current/toondex - Create initial index/toondex --stats - View usage statistics (requires TOONDEX_DEBUG=1)For full documentation, see the main toondex skill or plugins/toondex/skills/toondex/SKILL.md.