plugins/toondex/skills/redex/SKILL.md
Update existing index.toon with changes. Detects new/deleted/modified folders and updates the semantic folder index.
npx skillsauth add cpoepke/toon-dex redexInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.
development
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."
development
Show ToonDex debug mode usage statistics. Tracks hook fires, index.toon reads, and effectiveness metrics.
tools
Use when work should span one or more detached tasks but still behave like one job with a single owner context. TaskFlow is the durable flow substrate under authoring layers like Lobster, ACPX, plugins, or plain code. Keep conditional logic in the caller; use TaskFlow for flow identity, child-task linkage, waiting state, revision-checked mutations, and user-facing emergence.
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------