oliver-kriska/claude-elixir-phoenix-phx-recall
Recall prior work from past sessions — how a bug was fixed, what was; Use when asked 'have we done this before'…
npx skills add https://github.com/oliver-kriska/claude-elixir-phoenix --skill phx-recall
Search three evidence layers, cheapest first, to answer "have we solved
this before?". Stop at the first layer that answers the question.
$elixir-phoenix:phx-recall how did we fix the LiveView form that saved silently?
$elixir-phoenix:phx-recall what did we decide about the billing context boundaries?
$elixir-phoenix:phx-recall which library did we pick for rate limiting and why?
session transcripts. Don't fetch sessions when a solution doc answers
get_session_messages responsesare 3–15KB each. Spawn a subagent per session that writes a summary
file and exits; NEVER batch multiple session fetches into one context
path, commit hash, or session date + match snippet). No vague "we did
this once"
say so once and use the fallback layers; never error out
Run 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 snippets
(or ask, if genuinely ambiguous)
mcp__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 $elixir-phoenix:phx-compound so the next
recall stops at Layer 1.
"have we done this before?" → $elixir-phoenix: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 $elixir-phoenix:phx-compound
references/archaeology-patterns.md — git pickaxe recipes, ccrider query patterns, subagent prompt templateTake oliver-kriska/claude-elixir-phoenix-phx-recall from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.