phoenix-project-analyzer

phoenix-project-analyzer is an agent for Claude Code from oliver-kriska/claude-elixir-phoenix. It costs 66 tokens per session (1,251 once invoked), scanned A, original, MIT.

A contributor-only analysis tool for examining Phoenix projects, which are web applications built with the Elixir Phoenix framework.

In plain words
What is it for?
Use it to inspect project structure, context modules, database schemas, authorization, and relationships between parts of a Phoenix codebase.
Why use it?
It helps plugin contributors find recurring code patterns, pain points, and missing improvements by studying real projects.

Agent for Claude Code

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

Good fit Use it to inspect project structure, context modules, database schemas, authorization, and relationships between parts of a Phoenix codebase.

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

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 phoenix-project-analyzer

README.md
[![agentmods](https://agentmods.dev/badge/agents/oliver-kriska/claude-elixir-phoenix/phoenix-project-analyzer/github.svg)](https://agentmods.dev/agents/oliver-kriska/claude-elixir-phoenix/phoenix-project-analyzer)
Your own site
<a href="https://agentmods.dev/agents/oliver-kriska/claude-elixir-phoenix/phoenix-project-analyzer"><img src="https://agentmods.dev/badge/agents/oliver-kriska/claude-elixir-phoenix/phoenix-project-analyzer/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 phoenix-project-analyzer

Your own site · 80×15
<a href="https://agentmods.dev/agents/oliver-kriska/claude-elixir-phoenix/phoenix-project-analyzer"><img src="https://agentmods.dev/badge/agents/oliver-kriska/claude-elixir-phoenix/phoenix-project-analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,251 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.00066 $0.01251
Opus 5.5 $0.00026 $0.00500
Sonnet 5.5 $0.00013 $0.00250
Haiku 4.5 $0.00007 $0.00125

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

Security

Grade A, and why

phoenix-project-analyzer 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.

.claude/agents/phoenix-project-analyzer.md · 199 lines

How it starts

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

Phoenix Project Analyzer (Contributor Tool)

Analyze external Phoenix projects to discover patterns, conventions, and opportunities for plugin improvements.

Purpose: Help plugin contributors identify gaps by analyzing real-world codebases.

Usage

# From the plugin project directory
claude agent phoenix-project-analyzer "Analyze the project at /path/to/phoenix/project"

Analysis Areas

1. Project Structure

# Get overview
find lib -type d | head -30
ls -la lib/*/
cat mix.exs | grep -A 50 "defp deps"

2. Context Patterns

# Find all contexts
find lib -name "*.ex" -path "*/lib/*" | xargs grep -l "defmodule.*do" | xargs grep -l "def create_\|def get_\|def list_\|def update_\|def delete_"

# Analyze context structure
grep -rn "def list_\|def get_\|def create_\|def update_\|def delete_" lib/*/

Look for:

  • How are contexts organized?
  • Are there sub-contexts?
  • How is authorization/scoping handled?
  • Cross-context patterns?

3. Schema Patterns

# Find all schemas
grep -rln "use Ecto.Schema" lib/

# Check schema patterns
grep -rn "schema \"\|embedded_schema\|field :\|belongs_to\|has_many\|has_one" lib/*/

Look for:

  • Field naming conventions
  • Association patterns
  • Embedded schemas usage
  • Custom types

4. LiveView Patterns

# Find LiveViews
grep -rln "use.*LiveView" lib/

# Check patterns
grep -rn "def mount\|def handle_params\|def handle_event\|def handle_info\|def handle_async\|assign_async\|stream(" lib/*_web/live/

Look for:

  • Mount/handle_params organization
  • Async loading patterns
  • Stream vs assign usage
  • Component patterns

5. Component Patterns

# Find components
grep -rln "use.*Component\|def .*assigns" lib/*_web/components/

# Check patterns
grep -rn "attr :\|slot :\|def \w*(assigns)" lib/*_web/components/

6. Testing Patterns

# Test structure
find test -name "*_test.exs" | head -20

# Factory/fixture patterns
grep -rn "def \w*_factory\|build(:\|insert(:" test/

# Mock patterns
grep -rn "Mox\|mock\|stub\|expect(" test/

Read the full file on GitHub · 199 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. 3mo ago First seen · 199 lines · 66 tokens per session scan A 51f96532d0cf

Subscribe to this mod's changes

phoenix-project-analyzer is an agent published in the GitHub repository oliver-kriska/claude-elixir-phoenix (578 stars, last pushed 3d ago), licensed MIT. It adds 66 tokens to every session and 1,251 once invoked, about $0.0003 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

phoenix-project-analyzer compared with agents from other repositories

phoenix-project-analyzer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
phoenix-project-analyzeroliver-kriska/claude-elixir-phoenixAgent5783d agoMITA66Claude Code
craft-plannermichtio/craftcms-claude-skillsAgent904d agoMITA71Claude Code
craft-gate-writermichtio/craftcms-claude-skillsAgent904d agoMITA65Claude Code
craft-review-checkermichtio/craftcms-claude-skillsAgent904d agoMITA82Claude Code
craft-code-reviewer-deepmichtio/craftcms-claude-skillsAgent904d agoMITA76Claude Code
pipeline-auto-brainkardebadas/claude-pluginAgent314d agoApache-2.0A73Claude Code
pipeline-auto-intent-readerkardebadas/claude-pluginAgent314d agoApache-2.0A55Claude Code