elixir-reviewer

elixir-reviewer is an agent for Claude Code from oliver-kriska/claude-elixir-phoenix. It costs 31 tokens per session (2,590 once invoked), scanned A, original, MIT.

An automated reviewer for Elixir and Phoenix code, checking whether it follows common patterns, conventions, and performance practices. It records its findings in a specified review file.

In plain words
What is it for?
Use it to review changed Elixir or Phoenix files and save a report that another tool or developer can inspect.
Why use it?
It helps catch unclear, inefficient, or non-idiomatic Elixir code after changes are written, without changing the source code itself.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; names the NotebookEdit tool.

Part of the phx plugin — 50 skills, 26 agents, 10 hooks shipped together

Good fit Use it to review changed Elixir or Phoenix files and save a…

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/oliver-kriska/claude-elixir-phoenix/elixir-reviewer
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.

Clone the repo
git clone --depth 1 https://github.com/oliver-kriska/claude-elixir-phoenix

Made for: Claude Code.

Or install phx, the plugin that ships this one along with the rest of its 50 skills, 26 agents, 10 hooks.

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-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/oliver-kriska/claude-elixir-phoenix/elixir-reviewer.svg)](https://agentmods.dev/agents/oliver-kriska/claude-elixir-phoenix/elixir-reviewer)
Your own site
<a href="https://agentmods.dev/agents/oliver-kriska/claude-elixir-phoenix/elixir-reviewer"><img src="https://agentmods.dev/badge/agents/oliver-kriska/claude-elixir-phoenix/elixir-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 31 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,590 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.00031 $0.02590
Opus 5 $0.00015 $0.01295
Sonnet 5 $0.00006 $0.00518
Haiku 4.5 $0.00003 $0.00259

Measured 7d ago against content hash 3892bd332be8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

elixir-reviewer 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 7d 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.

plugins/elixir-phoenix/agents/elixir-reviewer.md · 338 lines

How it starts

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

Elixir Code Reviewer

You are a strict Elixir/Phoenix code reviewer focused on idiomatic code, simplicity, and Phoenix conventions.

CRITICAL: Save Findings File First

Your orchestrator reads findings from the exact file path given in the prompt (e.g., .claude/plans/{slug}/reviews/elixir.md). The file IS the real output — your chat response body should be ≤300 words.

Turn budget rules:

  1. First ~10 turns: Read/Grep analysis. Scope reads to the diff — when a changed-files list or diff is provided, read only those files; for large files read targeted ranges around the changed lines (Read with offset), never whole 1000+ line files.
  2. By turn ~12: call Write with whatever findings you have — do NOT wait until the end. A partial file is better than no file when turns run out.
  3. Remaining turns: continue analysis and Write again to overwrite with the complete version.
  4. If the prompt does NOT include an output path, default to .claude/reviews/elixir.md.

You have Write for your own report ONLY. Edit and NotebookEdit are disallowed — you cannot modify source code, which upholds Review Iron Law #1.

Critical Rule: Verify Before Claiming

NEVER claim how a library/framework feature works without checking source or docs first. Read deps/{lib}/lib/ or use Tidewave get_docs before flagging behavior. Incorrect claims inject wrong code and waste user time correcting. If unsure about internal behavior, prefix with "UNVERIFIED:" so orchestrator can validate.

Known False-Positive Traps

  • nil[:key] / nil["key"] is nil-safe (Access protocol returns nil) — a style note at most, never a crash finding. Map.get(nil, _) DOES raise.

Failure-Path Review (bugs lint misses)

For every changed function, also trace:

  • Ecto.Multi / with failure paths — does the error branch leave data consistent? What about side effects already executed before the failure?
  • Short-circuit paths — does the unhappy path skip a required side effect (audit log, notification, counter)?
  • Multi-step transforms — re-verify type/shape assumptions at each hop, not just at the changed line
  • Soft-delete filters — queries consistently include/exclude deleted_at-style rows

Read the full file on GitHub · 338 lines

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. 7d ago First seen · 338 lines · 31 tokens per session scan A 3892bd332be8

Subscribe to this mod's changes

elixir-reviewer is an agent published in the GitHub repository oliver-kriska/claude-elixir-phoenix (538 stars, last pushed yesterday), licensed MIT. It adds 31 tokens to every session and 2,590 once invoked, about $0.0002 per session on Opus 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

Other agents, from other repositories

craft-code-reviewer-deep

Deep code review on Opus 4.8 for high-stakes PRs — release branches, security-sensitive code, large architectural changes, migrations, multi-service flows. Use when extra scrutiny is worth the token cost; use craft-code-reviewer for daily review.

michtio/craftcms-claude-skills · 62 tokens

code-reviewer

Specialized sub-agent for thorough code review with an isolated context window.

KhaiTrang1995/claude-code-structure · 0 tokens

tech-lead

Ensures technical consistency, reviews architecture decisions, mentors engineers, and owns ADR process. Leads code reviews for readability/LGTM culture. Balances feature velocity with technical health. Use when reviewing major architecture decisions, creating RFCs, writing ADRs, mentoring engineers, or aligning teams…

saitarrun/Sdlc-ai-workflow · 64 tokens

appsec-engineer

Performs application security audits using SAST, dependency scanning, OWASP Top 10 analysis, and code review security lens. Produces vulnerability findings with severity rankings and remediation guidance. Use when the user asks to audit code for security, scan dependencies for CVEs, or identify OWASP vulnerabilities.

saitarrun/Sdlc-ai-workflow · 64 tokens

data-engineer

Adversarial data and database engineer who assumes the design is mis-normalized and indexed for a workload that does not exist. Audits schemas, migrations, queries, ORM code, document shapes, stream contracts, and pipelines against normalization, dimensional modeling, key-value access patterns, columnar and…

testdouble/han · 216 tokens

plan-synthesizer

Synthesizes cross-specialist input into a plan the team can commit to, recording decisions, rejected alternatives with reasons, the evidence behind each call, and the items still open. Reads the inputs from every specialist who contributed, reconciles their recommendations, and applies an evidence standard to each …

testdouble/han · 159 tokens