From ix-memory
Traces an error to its root cause by narrowing execution paths and reading only the minimal source needed at suspected failure points.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ix-memory:ix-debug <error message, symptom description, or name of failing function> [--save [path]]<error message, symptom description, or name of failing function> [--save [path]]The summary Claude sees in its skill listing — used to decide when to auto-load this skill
> [ix-claude-plugin shared model](../shared.md)
Check command -v ix first. If unavailable, use Grep + Read as fallback.
Strip --save and any following path token from $ARGUMENTS before resolving the entry point.
--save <path> is present, set SAVE_PATH to that path.--save is present without a path, auto-generate ix-debug-<target-slug>.md in cwd (target slug = the first symbol or first three words of the symptom with spaces and slashes replaced by -).--save is absent, SAVE_PATH is empty — do not write a file.Run once at the start:
ix briefing --format json 2>&1
If it returns JSON with a revision field, Pro is available. Extract openBugs and recentDecisions for use in Pro steps below. If it errors, skip all [Pro] labeled steps.
[Pro] If openBugs is non-empty, scan for a known bug matching this symptom before proceeding. If found, surface it immediately — an existing bug record may already have candidates or a fix.
[Pro] If recentDecisions is non-empty, scan for recent decisions or context that might explain the symptom or constrain the likely fix. Surface any relevant match before continuing.
Answer: where in the execution path is this likely failing, and why? Stop once you have 1–3 root cause candidates with supporting evidence.
ix locate $ARGUMENTS --format llm
If $ARGUMENTS is a symptom description rather than a symbol name, also run:
ix text "$ARGUMENTS" --limit 10 --format llm
Identify the most likely entry point (where the failure originates or first manifests).
ix explain <entry-point> --format llm
Extract: role, callers, callees, confidence. Identify whether this is:
Stop if: the explanation makes the failure source obvious → skip to Output.
Use the Phase 1–2 results to choose the path:
>= 0.7, and the entry point is not an orchestrator with more than 10 callees → continue to Phase 4.< 0.7, OR the entry point is an orchestrator with more than 10 callees → use the Agent tool with subagent_type: "ix-memory:ix-bug-investigator" and pass the pre-computed context below.You MUST pass pre-computed context so the agent skips redundant work. Launch the agent with:
Investigate: $ARGUMENTS
Pre-computed context (skip Steps 1–2): Entry point: [symbol, subsystem, file — from Phase 1] Entity type: [boundary / orchestrator / utility — from Phase 2] Explain output: [paste
ix explainresult]Start from Step 3. The symptom is: [description]. The entry point classification suggests: [hint from Phase 2].
If the Agent tool is unavailable, continue inline through Phases 4–6, reduce breadth, preserve the 2-read cap, and surface uncertainty rather than over-reading.
ix trace <entry-point> --downstream --depth 2 --format llm
Walk the downstream path. At each step, look for:
Narrow: Identify the 1–3 nodes most likely to contain the bug.
Delegate if: the trace crosses subsystem boundaries, reveals multiple plausible contract boundaries, or fans out widely enough that confidence drops below 0.7. Use the Phase 3 delegation prompt and tell the agent to start from Step 3.
Stop if: trace reveals an obvious candidate on a mostly single-subsystem path → proceed to Phase 6.
ix callers <entry-point> --limit 10 --format llm
Check whether the fault is in how this is called rather than in its own logic.
For each root cause candidate (max 2):
ix read <candidate-function> --format llm
Read the specific function only. Look for:
Hard limit: 2 ix read calls maximum. If still ambiguous, surface the candidates and uncertainty to the user.
## Debug: [entry point]
**Execution path:**
[entry-point] → [step] → [step] → [suspected failure point]
**Root cause candidates:**
1. [function/file] — [reason: what assumption might be wrong]
2. [function/file] — [reason]
**Evidence:**
- [what graph data supports each candidate]
- [what code read revealed, if any]
**Confidence:** [high / medium / low] — [why]
**Next steps:**
- Add logging at [specific point] to confirm
- Check [specific edge case] in [function]
- Run `/ix-investigate <X>` to understand [unclear component] more deeply
**[Pro]** If this is a new bug, log it:
ix bug create "<symptom title>" --severity <low|medium|high|critical> --affects <entry-point>
(Omit if Pro unavailable or bug already tracked.)
Save step (only if SAVE_PATH is non-empty):
SAVE_PATH using the Write tool.Saved to <SAVE_PATH>.--save was not passed.npx claudepluginhub ix-infrastructure/ix-claude-plugin --plugin ix-memoryFetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Applies a firm's KYC/AML rules grid to parsed onboarding records: assigns risk rating, checks required documents, outputs rule outcomes with citations, and routes for escalation.
Generates daily or weekly digests of activity from connected sources (chat, email, docs, tasks, CRM), highlighting action items, decisions, mentions, and project updates.