Capture solved problems as searchable solution docs. An agent skill from oliver-kriska/claude-elixir-phoenix.

MITAuto-check passed

Install Phx Compound

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

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

GitHub CLI
$ gh skill install oliver-kriska/claude-elixir-phoenix phx-compound --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/codex/skills/phx-compound .claude/skills/phx-compound && 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-compound
GitHub stars
565
Token cost
~969 tokens
SKILL.md length
392 words
Files
2 (incl. references)
Skills in repo
109
Repo updated
First seen
Licence
MIT

At a glance

Capture solved problems as searchable solution docs. An agent skill from oliver-kriska/claude-elixir-phoenix.

  • Works in 4 steps: Detect Context → Search Existing Solutions → Gather Details and Create Solution → …
  • SKILL.md covers Usage, Philosophy, Workflow and Auto-Trigger Phrases, plus 3 more sections
  • Calls git

What it does

Phx Compound is an agent skill from oliver-kriska/claude-elixir-phoenix. Capture solved problems as searchable solution docs. Use after fixing bugs, when "that worked", or after successful…

Its SKILL.md is about 970 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/compound-workflow.md`).

It works with Elixir. 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.

Example prompts

  • “that worked”
  • “/phx-compound”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Detect Context
  2. Search Existing Solutions
  3. Gather Details and Create Solution
  4. Decision Menu

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

    Shell commands in SKILL.md call:

    • git

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

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    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 Compound loads about 969 tokens when it runs, and up to ~1.8k if it reads all its reference files. Until then it costs about 32 tokens; SKILL.md has 392 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~32
When it runs · the whole SKILL.md, loaded when a task matches
~969
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.8k

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). 392 words, ~969 tokens.

Download SKILL.mdSave it as .claude/skills/phx-compound/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
phx-compound
description
Capture solved problems as searchable solution docs. Use after fixing bugs, when "that worked", or after successful…

Compound — Capture Solutions as Knowledge

After fixing a problem, capture the solution as searchable institutional documentation.

Usage

$elixir-phoenix:phx-compound Fixed N+1 query in user listing
$elixir-phoenix:phx-compound Resolved LiveView timeout in dashboard
$elixir-phoenix:phx-compound   # Auto-detects from recent session context

Philosophy

Each unit of engineering work should make subsequent units easier — not harder.

Workflow

Step 1: Detect Context
  1. If $ARGUMENTS provided, use as description
  2. If no args, check scratchpad DEAD-END/DECISION entries, git diff, .claude/plans/{slug}/progress.md for recent completions
  3. If unclear, ask: "What problem did you just solve?"

Only document non-trivial problems that required investigation.

Step 2: Search Existing Solutions

Create .claude/solutions/ directory if it doesn't exist (run mkdir -p .claude/solutions). Then search .claude/solutions/ for relevant keywords using Grep.

If found: Create new (different root cause), Update existing (same root cause, new symptom), or Skip.

Step 3: Gather Details and Create Solution

Extract from session context: module, symptoms, investigation steps, root cause, solution code, and prevention advice.

Validate frontmatter against ../compound-docs/references/schema.md, then create file using ../compound-docs/references/resolution-template.md.

Write-blocked fallback: if writing to .claude/solutions/ is denied by permissions, do NOT silently drop the solution. Output the full solution doc inline (fenced markdown the user can paste), then suggest $elixir-phoenix:phx-permissions to allow .claude/solutions/ writes for next time.

Step 4: Decision Menu
  1. Continue (default)
  2. Promote to Iron Law check — Add to iron-law-judge
  3. Update skill reference — Add to relevant skill
  4. Update CLAUDE.md — Add prevention rule

Auto-Trigger Phrases

When user says "that worked", "it's fixed", "problem solved", "the fix was" — suggest $elixir-phoenix:phx-compound.

Show full SKILL.md (164 more words)Show less
Supply-chain finding auto-feed (Phase 3)

When $elixir-phoenix:phx-deps-audit produces a BLOCK-severity finding that the user investigates and confirms is a real malicious pattern (not a false positive), suggest:

Caught a high-severity finding in <pkg>@<version>. Run $elixir-phoenix:phx-compound to capture this for future audits?

If accepted, the resulting solution doc goes to .claude/solutions/supply-chain/<pkg>-<cve_or_pattern>.md and includes the exact rule-id + snippet + diff window that triggered the finding. This compounds the audit corpus: future runs of $elixir-phoenix:phx-deps-audit grep solutions/supply-chain/ for snippet matches and pre-elevate severity on known-bad patterns.

Always prompt; never auto-write. Solution docs are durable and shape future trust calls — the user reviews before committing.

Iron Laws

  1. YAML frontmatter validates or STOP
  2. Symptoms must be specific — not "it broke"
  3. Root cause is WHY, not WHAT
  4. One problem per file
  5. NEVER document a fix before verifying it works — run mix compile && mix test first; unverified solutions poison the knowledge base

Integration with Workflow

text
$elixir-phoenix:phx-review → Complete → $elixir-phoenix:phx-compound  ← YOU ARE HERE
                              │
                 .claude/solutions/{category}/{fix}.md
                              │
              $elixir-phoenix:phx-investigate and $elixir-phoenix:phx-plan search here

References

  • references/compound-workflow.md — Detailed step-by-step
  • See also: compound-docs skill for schema and templates

© 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

SKILL.md and 1 other file (references) in targets/codex/skills/phx-compound of oliver-kriska/claude-elixir-phoenix.

  • SKILL.md
  • references/compound-workflow.md

Open the folder on GitHubat commit 9767a82

Compare with similar skills

Phx Compound 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 Compound compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Phx Compound this skilloliver-kriska/claude-elixir-phoenix565—~969Automated safety check: PassMIT
Membrane Frameworkmembraneframework/membrane_core1.5k—~4.2kAutomated safety check: PassApache-2.0
Web Ng Docker Loopcarverauto/serviceradar921—~737Automated safety check: PassApache-2.0
Components Architectureoperately/operately578—~2.5kAutomated safety check: PassCustom licence
Ash Frameworkpodlove/radiator136—~2.1kAutomated safety check: PassMIT
Elixir Architectmaxim-ist/elixir-architect145—~7.6kAutomated safety check: PassMIT

Similar skills

  • Membrane Framework

    membraneframework/membrane_core

    Work with the Membrane multimedia streaming framework in Elixir.

    1.5k GitHub stars~4.2k tokensUpdated 9 days ago
    DevelopmentAuto-check passed
  • Web Ng Docker Loop

    carverauto/serviceradar

    Run ServiceRadar elixir/web-ng locally against the Docker Compose CNPG database with copied mTLS certs and Docker secrets, then verify dashboard UI changes with Playwright.

    921 GitHub stars~737 tokensUpdated today
    DevOps & CloudAuto-check passed
  • Components Architecture

    operately/operately

    Defines where UI components belong in Operately (TurboUI-first).

    578 GitHub stars~2.5k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Ash Framework

    podlove/radiator

    Use this skill working with Ash Framework or any of its extensions.

    136 GitHub stars~2.1k tokensUpdated 16 days ago
    AI & LLM EngineeringAuto-check passed
  • Elixir Architect

    maxim-ist/elixir-architect

    A skill your agent uses when designing or architecting Elixir/Phoenix applications, creating comprehensive project documentation, planning OTP supervision trees, defining domain models with Ash…

    145 GitHub stars~7.6k tokensUpdated 10 mo ago
    AI & LLM EngineeringAuto-check passed
  • Phoenix Framework

    podlove/radiator

    Use this skill working with Phoenix Framework. An agent skill from podlove/radiator.

    136 GitHub stars~562 tokensUpdated 16 days ago
    AI & LLM EngineeringAuto-check passed

More from oliver-kriska/claude-elixir-phoenix

All 109 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 5 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 5 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 5 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 5 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 5 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 5 days ago
    Auto-check passed

Works with

Questions about Phx Compound

What does Phx Compound do?

Capture solved problems as searchable solution docs. An agent skill from oliver-kriska/claude-elixir-phoenix. Phx Compound is an agent skill from oliver-kriska/claude-elixir-phoenix. Capture solved problems as searchable solution docs.

How do I install Phx Compound in Claude Code?

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

How do I install Phx Compound in Codex?

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

Can I use Phx Compound 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-compound -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-compound, .gemini/skills/phx-compound, .github/skills/phx-compound and .opencode/skills/phx-compound in your project.

What does Phx Compound need to run?

Going by SKILL.md and its folder, Phx Compound needs the command-line tools its instructions call (git).

Does Phx Compound access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Phx Compound 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 Compound use?

Phx Compound 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 Compound use?

About 969 tokens (SKILL.md is roughly 3.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 873 tokens, read only when the agent opens those files.

What are the alternatives to Phx Compound?

Skills that share tags, products or a category with Phx Compound: Membrane Framework (membraneframework/membrane_core, 1.5k stars), Web Ng Docker Loop (carverauto/serviceradar, 921 stars), Components Architecture (operately/operately, 578 stars) and Ash Framework (podlove/radiator, 136 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Phx Compound?

oliver-kriska (a GitHub user) maintains it in oliver-kriska/claude-elixir-phoenix, which has 565 GitHub stars. The repository holds 109 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.