targets/codex/skills/phx-recall/SKILL.md
Recall prior work from past sessions — how a bug was fixed, what was decided, where a pattern lives. Use when asked 'have we done this before' or 'how did I fix X' in Elixir/Phoenix work. ccrider MCP when available, else git + solution docs.
npx skillsauth add oliver-kriska/claude-elixir-phoenix phx-recallInstall 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.
Search three evidence layers, cheapest first, to answer "have we solved this before?". Stop at the first layer that answers the question.
$phx-recall how did we fix the LiveView form that saved silently?
$phx-recall what did we decide about the billing context boundaries?
$phx-recall which library did we pick for rate limiting and why?
get_session_messages responses
are 3–15KB each. Spawn a subagent per session that writes a summary
file and exits; NEVER batch multiple session fetches into one contextRun Grep with keywords from the question over .claude/solutions/.
Treat a hit here as the best answer — it was written for exactly this
purpose. Present it and stop unless the user wants more.
git log --oneline --grep="{keyword}" -i -20 # commit messages
git log -S "{code-symbol}" --oneline -10 # when a symbol changed
git log --follow --oneline -10 -- {file} # one file's history
git show {hash} --stat # inspect a candidate
Use -S (pickaxe) when the question names code; --grep when it names
intent. Show matching commits with one-line context each.
Check for mcp__ccrider__* tools (load via ToolSearch if deferred).
If absent: report "ccrider MCP not connected — answered from solution docs + git history" and stop after Layers 1–2.
If present:
mcp__ccrider__search_sessions with the question's key phrases —
returns ranked hits with session IDs and snippetsmcp__ccrider__get_session_messages, extract only what answers
'{question}', write ≤30 lines to .claude/recall/{id}.md" (Iron Law 2)Present the answer with its evidence trail. If the recalled knowledge was
NOT already in .claude/solutions/, offer $phx-compound so the next
recall stops at Layer 1.
"have we done this before?" → $phx-recall
Layer 1 .claude/solutions/ ──hit──► answer + cite
Layer 2 git log --grep/-S ──hit──► answer + cite
Layer 3 ccrider sessions (gated) ─► answer + cite → offer $phx-compound
references/archaeology-patterns.md — git pickaxe recipes, ccrider query patterns, subagent prompt templatetools
Compatibility alias for the Elixir/Phoenix plugin's LiveView assigns audit. Invoke explicitly with /lv:assigns.
development
Trace Elixir call trees from entry points via mix xref. Use when debugging data flow, planning signature changes, or understanding how a bug reaches code.
tools
Compatibility alias for the Elixir/Phoenix plugin's N+1 query checker. Invoke explicitly with /ecto:n1-check.
tools
Compatibility alias for the Elixir/Phoenix plugin's Ecto constraint debugger. Invoke explicitly with /ecto:constraint-debug.