elixir-review

elixir-review is a skill for Claude Code from camilooscargbaptista/cto-toolkit. It costs 25 tokens per session (677 once invoked), scanned A, original, MIT.

A code-review guide for Elixir and Phoenix, tools for building concurrent web applications. It covers OTP, GenServer processes, supervision trees, LiveView, messaging, and fault tolerance.

In plain words
What is it for?
Use it to review Elixir or Phoenix applications, GenServers, supervision trees, LiveViews, WebSocket and PubSub features, Ecto queries, and background jobs.
Why use it?
It helps identify unsafe concurrency, unclear process responsibilities, weak failure handling, and code that mixes web concerns with business logic.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the cto-toolkit plugin — 54 skills, 6 agents, 3 hooks shipped together

Good fit Use it to review Elixir or Phoenix applications, GenServers, supervision trees, LiveViews, WebSocket and PubSub features, Ecto queries, and background jobs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/camilooscargbaptista/cto-toolkit/elixir-review
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 camilooscargbaptista/cto-toolkit --skill elixir-review
Clone the repo
git clone --depth 1 https://github.com/camilooscargbaptista/cto-toolkit

Made for: Claude Code.

Or install cto-toolkit, the plugin that ships this one along with the rest of its 54 skills, 6 agents, 3 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-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/camilooscargbaptista/cto-toolkit/elixir-review.svg)](https://agentmods.dev/skills/camilooscargbaptista/cto-toolkit/elixir-review)
Your own site
<a href="https://agentmods.dev/skills/camilooscargbaptista/cto-toolkit/elixir-review"><img src="https://agentmods.dev/badge/skills/camilooscargbaptista/cto-toolkit/elixir-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 677 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.00025 $0.00677
Opus 5 $0.00013 $0.00338
Sonnet 5 $0.00005 $0.00135
Haiku 4.5 $0.00003 $0.00068

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

Security

Grade A, and why

elixir-review 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.

elixir-review/SKILL.md · 78 lines

How it starts

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

Elixir / Phoenix Code Review

When to Use

  • Reviewing Elixir code (Phoenix, OTP, GenServer, LiveView)
  • Evaluating fault tolerance patterns (supervision trees)
  • Real-time system review (WebSocket, PubSub)
  • Concurrency and scalability assessment

Review Checklist

OTP Patterns

  • Supervision trees properly structured (one_for_one, rest_for_one)
  • GenServers have clear purpose (not catch-all)
  • handle_info handles unexpected messages gracefully
  • Timeouts configured for long-running GenServers
  • Process registry used (not PID passing)
  • ETS tables for read-heavy shared state

Phoenix Best Practices

  • Contexts separate business logic from web layer
  • Schemas define changesets with validation
  • Controllers are thin (delegate to context)
  • Plugs for cross-cutting concerns (auth, logging)
  • Ecto queries composed (not raw SQL unless necessary)
  • Background jobs via Oban (not raw Task.async)

Phoenix LiveView

  • handle_event functions are small and focused
  • assign used for all state (no process dictionary)
  • phx-throttle/phx-debounce on frequent events
  • PubSub for real-time updates across users
  • Dead views implement mount/3 with proper assigns
  • live_redirect vs push_patch used correctly

Elixir Best Practices

  • Pattern matching over if/else chains
  • Pipe operator (|>) for data transformations
  • with for multi-step operations with error handling
  • @spec type specs on public functions
  • @doc documentation on public functions
  • Structs for domain entities (not naked maps)
  • Guards for function clause selection
  • Enum and Stream used appropriately (eager vs lazy)

Concurrency

  • Tasks supervised (not fire-and-forget)
  • GenServer state doesn't grow unbounded
  • Message queue monitored (Process.info for mailbox)
  • Backpressure implemented for high-throughput
  • Database connection pool sized correctly

Read the full file on GitHub · 78 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 · 78 lines · 25 tokens per session scan A ed066fc8a602

Subscribe to this mod's changes

elixir-review is a skill published in the GitHub repository camilooscargbaptista/cto-toolkit (7 stars, last pushed 5mo ago), licensed MIT. It adds 25 tokens to every session and 677 once invoked, about $0.0001 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-31.

Related

Other skills, from other repositories

elixir-expert

Expert-level Elixir, Phoenix, OTP, and concurrent systems. Use when the user mentions Phoenix, OTP, Erlang, concurrent, or functional, or when the task involves Elixir Fundamentals or Phoenix Framework.

personamanagmentlayer/pcl · 47 tokens

readonly-review

Run a no-network read-only review practice with two explorer steps and one synthesis step.

Ranvier-Technologies/pixir · 20 tokens

writing-review-packets

Create or revise Reviews packet markdown for a code diff, including section strategy, prose, hunk references, validation, and pushing packet revisions with the Reviews CLI. Use when the user asks to write a review packet, organize a diff for review, add prose around hunk refs, update a packet for a new patchset, or…

figitaki/reviews · 82 tokens

using-reviews-locally

Run and use the Reviews app locally, including server startup, port checks, local token setup, CLI config, pushing local reviews or new patchsets, and Codex workflow conventions. Use when the user asks to spin up Reviews, push a local review packet or revision, mint/access local API tokens, debug localhost review…

figitaki/reviews · 82 tokens

reviews-overview

Explain the Reviews platform to a general agent: what Reviews provides, when to use it during human-in-the-loop or agent-driven development, how review packets structure a diff for humans, and how Reviews can precede public PR creation or integrate with other review processes. Use when an agent needs to decide whether…

figitaki/reviews · 85 tokens

Elixir Patterns

Use this skill when working on Elixir/Phoenix projects and you want maintainable OTP-friendly structure, clear boundaries, and robust error handling.

AmariahAK/atlarix-skills · 3 tokens