Elixir Patterns

Elixir Patterns is a skill for Claude Code, Codex from AmariahAK/atlarix-skills. It costs 3 tokens per session (327 once invoked), scanned A, original, Apache-2.0.

A set of Elixir and Phoenix project guidelines covering OTP structure, process supervision, error handling, configuration, and tests. OTP is Elixir’s system for building fault-tolerant applications from supervised processes.

In plain words
What is it for?
Use it when building, testing, debugging, or reviewing Elixir and Phoenix applications.
Why use it?
It helps prevent hidden failures, unclear module boundaries, excessive shared state, and hard-to-repeat tests.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when building, testing, debugging, or reviewing Elixir and Phoenix applications.

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

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 Patterns

README.md
[![agentmods](https://agentmods.dev/badge/skills/amariahak/atlarix-skills/elixir.svg)](https://agentmods.dev/skills/amariahak/atlarix-skills/elixir)
Your own site
<a href="https://agentmods.dev/skills/amariahak/atlarix-skills/elixir"><img src="https://agentmods.dev/badge/skills/amariahak/atlarix-skills/elixir.svg" alt="Measured on agentmods" height="20"></a>
Per session 3 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 327 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.00003 $0.00327
Opus 5 $0.00002 $0.00163
Sonnet 5 $0.00001 $0.00065
Haiku 4.5 $0.00000 $0.00033

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

Security

Grade A, and why

Elixir Patterns 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/SKILL.md · 53 lines

What it actually says

Elixir Patterns

When to use this skill

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

Core patterns

Mix project hygiene

  • mix.exs is the source of truth
  • keep deps minimal and explicit
  • avoid runtime config surprises (document env vars)

OTP mindset

Prefer:

  • supervision trees
  • isolated processes for state
  • message passing over shared mutable state

Function clarity

  • small functions
  • pattern matching for branching
  • use guard clauses for fast validation

Testing

  • ExUnit for unit tests
  • keep tests deterministic

Atlarix tool notes

  • Explore: inspect mix.exs and lib/ modules; locate supervision tree.
  • Build: run mix test.
  • Debug: inspect crash logs; confirm supervision restarts aren’t hiding repeated failures.
  • Review: check boundaries and that errors include enough context.

Common mistakes to avoid

  • Putting too much state in a single process
  • Silent failures under supervisors
  • Overusing macros instead of plain functions

Mini-checklist

  • Supervision is intentional
  • Boundaries are clear
  • Tests cover critical behavior
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 · 53 lines · 3 tokens per session scan A bf184deaca58

Subscribe to this mod's changes

Elixir Patterns is a skill published in the GitHub repository AmariahAK/atlarix-skills (2 stars, last pushed yesterday), licensed Apache-2.0. It adds 3 tokens to every session and 327 once invoked, about $0.0000 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-09-03.