Provide Phoenix, LiveView, Ecto, OTP, or Oban examples. An agent skill from oliver-kriska/claude-elixir-phoenix.

MITAuto-check passedAI & LLM Engineering

Install Phx Examples

skills CLI
$ npx skills add oliver-kriska/claude-elixir-phoenix --skill phx-examples -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install oliver-kriska/claude-elixir-phoenix phx-examples --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/oliver-kriska/claude-elixir-phoenix.git skills-src && mkdir -p .claude/skills && cp -r skills-src/targets/pi/skills/phx-examples .claude/skills/phx-examples && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
phx-examples
GitHub stars
565
Token cost
~1k tokens
SKILL.md length
187 words
Files
1
Skills in repo
111
Repo updated
First seen
Licence
MIT

At a glance

Provide Phoenix, LiveView, Ecto, OTP, or Oban examples. An agent skill from oliver-kriska/claude-elixir-phoenix.

  • Asked for sample code
  • SKILL.md covers Official Phoenix Guides…, Plugin-Specific Patterns, Example Workflows and When to Use Official Docs vs…
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • A proper implementation

What it does

Phx Examples is an agent skill from oliver-kriska/claude-elixir-phoenix. Provide Phoenix, LiveView, Ecto, OTP, or Oban examples. Use when asked for sample code, a walkthrough, a proper implementation, or expected workflow output. Pair with domain skills. NOT for debugging, direct changes, best-practice advice, or audits.

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in AI & LLM Engineering, covering LLM observability. The repository describes itself as: Claude Code plugin for Elixir/Phoenix/LiveView — 26 specialist agents, Iron Laws enforcement, and Tidewave MCP integration. Plan features with parallel research agents, execute… The licence is MIT.

When your agent uses it

  • Asked for sample code
  • A proper implementation
  • Expected workflow output

Example prompts

  • “/phx-examples”

What it can do on your machine

Read from SKILL.md and the folder at commit 9767a82. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • hexdocs.pm

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Phx Examples loads about 1k tokens when it runs. Until then it costs about 66 tokens; SKILL.md has 187 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~66
When it runs · the whole SKILL.md, loaded when a task matches
~1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from oliver-kriska/claude-elixir-phoenix at commit 9767a82, republished under its MIT licence (© oliver-kriska). 187 words, ~1,011 tokens.

Download SKILL.mdSave it as .claude/skills/phx-examples/SKILL.md (or your agent's skills folder).
name
phx-examples
description
Provide Phoenix, LiveView, Ecto, OTP, or Oban examples. Use when asked for sample code, a walkthrough, a proper implementation, or expected workflow output. Pair with domain skills. NOT for debugging, direct changes, best-practice advice, or audits.

Examples & Walkthroughs

Official Phoenix Guides (Reference)

For standard implementation patterns, always check official guides first:

Plugin-Specific Patterns

Patterns NOT in official guides (unique to this plugin):

Tidewave Integration Workflow
text
# Requires connected mcp__tidewave__* tools

# Get exact docs for YOUR dependency versions
mcp__tidewave__get_docs "Ecto.Query"

# Execute code in running app
mcp__tidewave__project_eval "MyApp.Accounts.list_users() |> length()"

# Query database directly
mcp__tidewave__execute_sql_query "SELECT count(*) FROM users"
Multi-Agent Review Workflow
bash
# 1. Plan feature with specialist agents
/skill:phx-plan Add user avatars with S3 upload

# 2. After implementation, review with multiple perspectives
/skill:phx-review lib/my_app/accounts.ex  # Elixir idioms
# Security analyzer runs automatically on auth code

# 3. Before deployment
# Deployment validator checks production readiness
Iron Laws Enforcement

This plugin enforces non-negotiable rules across all agents:

Elixir Idioms:

  • NO process without runtime reason
  • Messages are copied (keep small)
  • Changesets for external data

LiveView:

  • NEVER query DB in mount
  • ALWAYS use streams for lists
  • RE-AUTHORIZE in every handle_event

Oban:

  • Jobs MUST be idempotent
  • ALWAYS handle {:error, _} returns
  • Use unique keys for deduplication

Security:

  • Validate at boundaries
  • Never interpolate user input in queries
  • Authorize everywhere (not just mount)

Example Workflows

Bug Investigation
bash
# 1. Start with obvious checks
/skill:phx-investigate Login failing after password reset

# 2. Agent checks Ralph Wiggum list:
#    - File saved? Compiled? Migrated?
#    - Atom vs string keys?
#    - Data preloaded?

# 3. If complex, escalate to Ralph Wiggum Loop (if installed)
/ralph-loop:ralph-loop "Fix login tests. Output <promise>DONE</promise> when green."
Feature Planning
bash
# 1. Research phase
/skill:phx-research Oban unique jobs best practices

# 2. Plan with context analysis
/skill:phx-plan Add daily digest email job

# 3. Agents coordinate:
#    - hex-library-researcher evaluates deps
#    - oban-specialist designs worker
#    - ecto-schema-designer plans data model
Security Audit
bash
# 1. Run security analyzer on auth code
/skill:phx-review lib/my_app_web/controllers/session_controller.ex

# 2. Check for common vulnerabilities:
#    - SQL injection (parameterized queries?)
#    - XSS (proper escaping?)
#    - CSRF (tokens present?)
#    - Authorization (re-checked in events?)

When to Use Official Docs vs Plugin

SituationUse
"How do I create a context?"Official Phoenix guides
"Is my context design idiomatic?"Plugin's /skill:phx-review
"How do I add LiveView?"Official LiveView guides
"Does my LiveView have memory issues?"Plugin's Iron Laws
"How do I deploy to Fly.io?"Official deployment guide
"Is my release config production-ready?"Plugin's deployment-validator

© oliver-kriska, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in targets/pi/skills/phx-examples of oliver-kriska/claude-elixir-phoenix.

Open the folder on GitHubat commit 9767a82

Compare with similar skills

Phx Examples next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Phx Examples compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Phx Examples this skilloliver-kriska/claude-elixir-phoenix565—~1kAutomated safety check: PassMIT
BenchAlphaLab-USTC/OhMyCode131—~941Automated safety check: PassMIT
Langfuse Integration Pagelangfuse/langfuse-docs247—~3.7kAutomated safety check: PassMIT
Langfuselangfuse/skills300—~2.1kAutomated safety check: NotesMIT
Analyzing Claude Code Sessionsamd/gaia1.6k—~2.3kAutomated safety check: PassMIT
Dev BumpNetis/heron102—~983Automated safety check: PassApache-2.0

Similar skills

  • Bench

    AlphaLab-USTC/OhMyCode

    Run OhMyCode benchmarks — score any provider/model with token tracking.

    131 GitHub stars~941 tokensUpdated 6 mo ago
    AI & LLM EngineeringAuto-check passed
  • Langfuse Integration Page

    langfuse/langfuse-docs

    Create a new Langfuse integration page in the langfuse-docs repo.

    247 GitHub stars~3.7k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Langfuse

    langfuse/skills

    Interact with Langfuse and access its documentation: tracing, monitoring, creating datasets, running experiments, and evaluating AI applications.

    300 GitHub stars~2.1k tokensUpdated 8 days ago
    AI & LLM EngineeringAuto-check: notes
  • Mines local Claude Code session transcripts with a deterministic Python pipeline to show what the agent is actually used for, how often it fails and what it costs.

    1.6k GitHub stars~2.3k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Dev Bump

    Netis/heron

    Bump Heron version via the VERSION-file SSOT. An agent skill from Netis/heron.

    102 GitHub stars~983 tokensUpdated 5 days ago
    AI & LLM EngineeringAuto-check passed
  • Langsmith Observability

    Orchestra-Research/AI-Research-SKILLs

    LLM observability platform for tracing, evaluation, and monitoring.

    13k GitHub starsUsed in 2 repos~2.4k tokens
    AI & LLM EngineeringAuto-check passed

More from oliver-kriska/claude-elixir-phoenix

All 111 skills in this repo
  • Codex Ab

    oliver-kriska/claude-elixir-phoenix

    Run an A/B codex review experiment — holistic codex review vs 3 focused dimension passes (security, ecto, liveview) on the branch diff, classify findings, report a panel-value verdict.

    565 GitHub stars~977 tokensUpdated 4 days ago
    Auto-check passed
  • Audit

    oliver-kriska/claude-elixir-phoenix

    Project health audit and health check — architecture, performance, tests, dependencies, code quality.

    565 GitHub stars~2k tokensUpdated 4 days ago
    Auto-check passed
  • Compound Docs

    oliver-kriska/claude-elixir-phoenix

    Searchable Elixir/Phoenix/Ecto solution documentation system with; Use when consulting past solutions…

    565 GitHub stars~528 tokensUpdated 4 days ago
    Auto-check passed
  • Compound Docs

    oliver-kriska/claude-elixir-phoenix

    Searchable Elixir/Phoenix/Ecto solution documentation system with YAML frontmatter.

    565 GitHub stars~547 tokensUpdated 4 days ago
    Auto-check passed
  • Deploy

    oliver-kriska/claude-elixir-phoenix

    Elixir/Phoenix deployment patterns — Dockerfile, fly.toml, runtime.exs, mix release, rel/ overlays.

    565 GitHub stars~1.1k tokensUpdated 4 days ago
    Auto-check passed
  • Deps Update

    oliver-kriska/claude-elixir-phoenix

    Bump outdated Hex deps — inventory, snapshot changelogs, update, fix breaks, split reviewable PRs (patches bundled, majors solo).

    565 GitHub stars~1.4k tokensUpdated 4 days ago
    Auto-check passed

Questions about Phx Examples

What does Phx Examples do?

Provide Phoenix, LiveView, Ecto, OTP, or Oban examples. An agent skill from oliver-kriska/claude-elixir-phoenix. Phx Examples is an agent skill from oliver-kriska/claude-elixir-phoenix. Provide Phoenix, LiveView, Ecto, OTP, or Oban examples.

When should I use Phx Examples?

Phx Examples fits situations like: asked for sample code; A proper implementation; expected workflow output.

How do I install Phx Examples in Claude Code?

Run `npx skills add oliver-kriska/claude-elixir-phoenix --skill phx-examples -a claude-code`. Or copy the skill folder (targets/pi/skills/phx-examples in oliver-kriska/claude-elixir-phoenix) into .claude/skills/phx-examples in your project. Claude Code loads it when a task matches its description.

How do I install Phx Examples in Codex?

Run `npx skills add oliver-kriska/claude-elixir-phoenix --skill phx-examples -a codex`. Or copy the skill folder (targets/pi/skills/phx-examples in oliver-kriska/claude-elixir-phoenix) into .agents/skills/phx-examples in your project. Codex loads it when a task matches its description.

Can I use Phx Examples in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add oliver-kriska/claude-elixir-phoenix --skill phx-examples -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/phx-examples, .gemini/skills/phx-examples, .github/skills/phx-examples and .opencode/skills/phx-examples in your project.

What does Phx Examples need to run?

SKILL.md names no scripts, command-line tools or credentials: Phx Examples is instructions for the agent only.

Does Phx Examples access the network?

SKILL.md names 1 domain. As links in the text: hexdocs.pm. This is read from the text; nothing was executed.

Is Phx Examples safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Phx Examples use?

Phx Examples is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Phx Examples use?

About 1k tokens (SKILL.md is roughly 4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Phx Examples?

Skills that share tags, products or a category with Phx Examples: Bench (AlphaLab-USTC/OhMyCode, 131 stars), Langfuse Integration Page (langfuse/langfuse-docs, 247 stars), Langfuse (langfuse/skills, 300 stars) and Analyzing Claude Code Sessions (amd/gaia, 1.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Phx Examples?

oliver-kriska (a GitHub user) maintains it in oliver-kriska/claude-elixir-phoenix, which has 565 GitHub stars. The repository holds 111 skills in this directory. The repository was last updated on October 5, 2026.

Source: oliver-kriska/claude-elixir-phoenix on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.