elixir-phoenix-audit

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

A project-wide health check for Phoenix applications covering architecture, security, performance, tests, and dependencies.

In plain words
What is it for?
Use it for a full or quick audit, a focused security or performance review, or an incremental check of changes since a specified Git commit.
Why use it?
It helps find problems before releases, after large refactors, or when a new developer needs an overview of the codebase's condition.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/ccarvalho-eng/codex-elixir-phoenix/elixir-phoenix-audit
Any agent
npx skills add ccarvalho-eng/codex-elixir-phoenix --skill elixir-phoenix-audit
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-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/ccarvalho-eng/codex-elixir-phoenix/elixir-phoenix-audit.svg)](https://agentmods.dev/skills/ccarvalho-eng/codex-elixir-phoenix/elixir-phoenix-audit)
Your own site
<a href="https://agentmods.dev/skills/ccarvalho-eng/codex-elixir-phoenix/elixir-phoenix-audit"><img src="https://agentmods.dev/badge/skills/ccarvalho-eng/codex-elixir-phoenix/elixir-phoenix-audit.svg" alt="Measured on agentmods" 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,283 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00023 $0.01283
Opus 5 $0.00012 $0.00642
Sonnet 5 $0.00005 $0.00257
Haiku 4.5 $0.00002 $0.00128

Measured 4d ago against content hash 7ce2cf59fa2e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

elixir-phoenix-audit 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 4d 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-audit/SKILL.md · 139 lines

How it starts

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

Project Health Audit

Comprehensive project-wide health assessment using 5 parallel specialist subagents.

Usage

`elixir-phoenix-audit`              # Full audit (default)
`elixir-phoenix-audit` --quick      # 2-3 minute pulse check
`elixir-phoenix-audit` --focus=security   # Deep dive single area
`elixir-phoenix-audit` --focus=performance
`elixir-phoenix-audit` --since abc123   # Incremental audit since commit
`elixir-phoenix-audit` --since HEAD~10  # Audit last 10 commits

When to Use

  • Quarterly health checks
  • Before major releases
  • After large refactors
  • New team member onboarding (understand codebase health)

Iron Laws

  1. Wait for ALL agents before synthesizing — Partial results create misleading health scores because cross-category correlations get missed
  2. Scope agent prompts to specific directories — Vague prompts like "analyze the codebase" produce generic findings that waste tokens and miss real issues
  3. Never compare scores across projects — Scoring methodology depends on project size and maturity; only track trends within the same project
  4. Quick mode before full mode — Run --quick first to catch compile/test failures before spending tokens on 5 parallel agents

Subagent Architecture

Spawn 5 specialists in parallel using agent tools when explicitly requested by the user:

Subagent Focus Output File
Architecture Reviewer Structure quality, coupling, cohesion arch-review.md
Performance Auditor N+1, indexes, bottlenecks, scalability perf-audit.md
Security Auditor OWASP scan, auth patterns, secrets security-audit.md
Test Health Auditor Coverage, quality, flaky tests test-audit.md
Dependency Auditor Vulnerabilities, outdated, unused deps-audit.md

Workflow

Step 1: Create Task List and Run 5 Auditors

Create progress tasks for each audit area and mark them in progress as each auditor starts.

Read the full file on GitHub · 139 lines

Files

What ships with it

3 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. 4d ago First seen · 139 lines · 23 tokens per session scan A 7ce2cf59fa2e

Subscribe to this mod's changes

elixir-phoenix-audit is a skill published in the GitHub repository ccarvalho-eng/codex-elixir-phoenix (11 stars, last pushed 4mo ago), licensed MIT. It adds 23 tokens to every session and 1,283 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-30.

Related

Other skills, from other repositories

ash-framework

Use this skill working with Ash Framework or any of its extensions. Always consult this when making any domain changes, features or fixes.

agentjido/jido_managed_agents · 29 tokens

phoenix-framework

Use this skill working with Phoenix Framework. Consult this when working with the web layer, controllers, views, liveviews etc.

agentjido/jido_managed_agents · 29 tokens

phoenix

Use when building an Elixir web app with Phoenix — contexts, Ecto schemas, changesets and migrations, LiveView, channels and PubSub, the generators, and the boundary between domain logic and the web layer. Covers the classic LiveView over-rendering and Ecto N+1 traps. NOT pure OTP work with no web or Ecto layer …

ericrisco/rsc-harness · 89 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

code-review

Review code changes for regressions, correctness, and missing tests.

agentjido/jido_managed_agents · 16 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