elixir-phoenix-investigate

elixir-phoenix-investigate is a skill for Claude Code, Codex from ccarvalho-eng/codex-elixir-phoenix. It costs 23 tokens per session (1,078 once invoked), scanned A, original, MIT.

A step-by-step investigation method for Phoenix bugs, crashes, and failing tests. It starts with the exact error and traces the actual cause through the relevant code.

In plain words
What is it for?
Use it to investigate login failures, exceptions, test failures, multi-module bugs, intermittent problems, or concurrency issues.
Why use it?
It reduces guesswork by treating error messages and reproducible behavior as evidence. It also provides a deeper parallel investigation mode for bugs spanning multiple areas or involving concurrency.

Skill for Claude CodeCodex

Written for Claude Code and Codex: $ARGUMENTS substitution, but also agents/openai.yaml present. Also seen: mentions subagents; mentions Codex.

Good fit Use it to investigate login failures, exceptions, test failures, multi-module bugs, intermittent problems, or concurrency issues.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ccarvalho-eng/codex-elixir-phoenix/elixir-phoenix-investigate
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ccarvalho-eng/codex-elixir-phoenix --skill elixir-phoenix-investigate
Clone the repo
git clone --depth 1 https://github.com/ccarvalho-eng/codex-elixir-phoenix

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for elixir-phoenix-investigate

README.md
[![agentmods](https://agentmods.dev/badge/skills/ccarvalho-eng/codex-elixir-phoenix/elixir-phoenix-investigate/github.svg)](https://agentmods.dev/skills/ccarvalho-eng/codex-elixir-phoenix/elixir-phoenix-investigate)
Your own site
<a href="https://agentmods.dev/skills/ccarvalho-eng/codex-elixir-phoenix/elixir-phoenix-investigate"><img src="https://agentmods.dev/badge/skills/ccarvalho-eng/codex-elixir-phoenix/elixir-phoenix-investigate/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for elixir-phoenix-investigate

Your own site · 80×15
<a href="https://agentmods.dev/skills/ccarvalho-eng/codex-elixir-phoenix/elixir-phoenix-investigate"><img src="https://agentmods.dev/badge/skills/ccarvalho-eng/codex-elixir-phoenix/elixir-phoenix-investigate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,078 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00023 $0.01078
Opus 5.5 $0.00009 $0.00431
Sonnet 5.5 $0.00005 $0.00216
Haiku 4.5 $0.00002 $0.00108

Measured 3mo ago against content hash 0e3c81901c85, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

elixir-phoenix-investigate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/elixir-phoenix-investigate/SKILL.md · 120 lines

How it starts

The opening of the file, as written. The whole thing — 120 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Investigate Bug

Investigate bugs using the Ralph Wiggum approach: check the obvious, read errors literally.

Usage

`elixir-phoenix-investigate` Users can't log in after password reset
`elixir-phoenix-investigate` FunctionClauseError in UserController.show
`elixir-phoenix-investigate` Complex auth bug --parallel

Arguments

$ARGUMENTS = Bug description or error message. Add --parallel for deep 4-track investigation.

Mode Selection

Use parallel mode (spawn deep-bug-investigator) when: bug mentions 3+ modules, spans multiple contexts, is intermittent or involves concurrency, or user says --parallel/deep.

Otherwise: Run the sequential workflow below.

Avoid confirmatory subagents: Do NOT spawn parallel subagents to "verify" findings you already identified in the main context. If Step 3-4 already identified the root cause with high confidence, present it directly — don't spend ~80K tokens on 4 subagents to confirm what's already obvious (confirmed waste: session c135330a).

Iron Laws

  1. Read the error message literally first — Most bugs tell you exactly what's wrong; resist the urge to theorize before reading what the system is saying
  2. Check the obvious before going deep — Compile errors, missing migrations, atom/string mismatches explain 80% of bugs; exhausting the Ralph Wiggum checklist saves hours
  3. Check changeset errors before UI debugging — Silent form saves are almost always {:error, changeset} with validation failures, not viewport or JS issues
  4. Consult compound docs before investigating fresh — A previously solved problem saves the entire investigation cycle; always search .codex/solutions/ first
  5. NEVER guess at a fix before reproducing — Reproduce first, then identify root cause, then fix. Skipping steps causes wrong fixes
  6. DO NOT apply a fix without confirming root cause — Verify your hypothesis with evidence (logs, tests, IO.inspect) before changing code

Investigation Workflow

Read the full file on GitHub · 120 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 120 lines · 23 tokens per session scan A 0e3c81901c85

Subscribe to this mod's changes

elixir-phoenix-investigate is a skill published in the GitHub repository ccarvalho-eng/codex-elixir-phoenix (11 stars, last pushed 6mo ago), licensed MIT. It adds 23 tokens to every session and 1,078 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

elixir-phoenix-investigate compared with skills from other repositories

elixir-phoenix-investigate next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
elixir-phoenix-investigateccarvalho-eng/codex-elixir-phoenixSkill116mo agoMITA23Claude Code, Codex
observability-phoenixdavila7/claude-code-templatesSkill35ktodayMITA47Claude Code, Codex
langbot-plugin-devlangbot-app/LangBotSkill19ktodayApache-2.0A140Claude Code, Codex
credit-note-fixeropenai/openai-agents-pythonSkill31ktodayMITA21Claude Code, Codex
merge-queue-recoverylangchain-ai/open-sweSkill11ktodayMITA31Claude Code, Codex
oraclesteipete/oracleSkill4.1k3d agoMITA18Claude Code, Codex
ax-cpp-agent-observabilityax-llm/axSkill3.0ktodayApache-2.0A44Claude Code, Codex