| name | remy-lookup |
| description | Display the current logic index tree (.claude/logic_tree_view.md) without regenerating. |
| allowed-tools | Read, Grep, Glob |
| disable-model-invocation | true |
Protocol: Read Logic Index
You MUST execute the following steps strictly in order. Do not skip steps.
Step 1: Verification
Check if the file .claude/logic_tree_view.md exists in the current working directory.
- Use
ls .claude/logic_tree_view.md or Glob to verify existence.
Step 2: Branching Logic
Case A: File Exists
- Execute
Read tool on .claude/logic_tree_view.md.
- Output the content directly to the user.
- Terminate.
Case B: File Missing
- Use
AskUserQuestion to ask the user if they want to generate it now.
- Question: "Logic index not found. Generate it now?"
- Options: ["Yes (Run /remy-index)", "No (Cancel)"]
- If "Yes":
- Execute
/remy-index.
- Upon completion, recurse to Step 1 (Verification).
- If "No":