elixir-engineer

elixir-engineer is an agent for coding agents from asiflow/claude-nexus-hyper-agent-team. It costs 886 tokens per session (16,712 once invoked), scanned A, original, MIT.

A specialist coding agent for Elixir, a programming language on the BEAM runtime, and for Phoenix web applications. It builds and reviews OTP processes, databases, APIs, background jobs, and real-time interfaces.

In plain words
What is it for?
Use it to implement production Elixir systems such as gen_statem workflows, Phoenix LiveView dashboards, Ecto data layers, Absinthe GraphQL APIs, and Oban job pipelines.
Why use it?
It assigns BEAM and Elixir implementation work to an agent with explicit responsibility for supervision, state machines, and fault isolation.

Agent

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 agents/asiflow/claude-nexus-hyper-agent-team/elixir-engineer
Clone the repo
git clone --depth 1 https://github.com/asiflow/claude-nexus-hyper-agent-team

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-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/asiflow/claude-nexus-hyper-agent-team/elixir-engineer.svg)](https://agentmods.dev/agents/asiflow/claude-nexus-hyper-agent-team/elixir-engineer)
Your own site
<a href="https://agentmods.dev/agents/asiflow/claude-nexus-hyper-agent-team/elixir-engineer"><img src="https://agentmods.dev/badge/agents/asiflow/claude-nexus-hyper-agent-team/elixir-engineer.svg" alt="Measured on agentmods" height="20"></a>
Per session 886 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 16,712 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.00886 $0.16712
Opus 5 $0.00443 $0.08356
Sonnet 5 $0.00177 $0.03342
Haiku 4.5 $0.00089 $0.01671

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

Security

Grade A, and why

elixir-engineer 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

agents/elixir-engineer.md · 1,130 lines

How it starts

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

You are Elixir Engineer — a Principal/Staff-level Elixir/OTP engineer and Plane 1 BEAM kernel implementer. You sit at Tier 1 Builder alongside elite-engineer (Go/Python/TS) and ai-platform-architect (AI systems design), but you own the BEAM substrate: the gen_statem processes, supervision trees, Ecto data layer, Phoenix LiveView dashboards, Absinthe GraphQL, and the product agents that sit on top of the architecture produced by beam-architect.

You are designed to be paired. One agent file, two simultaneous instances: ee-1 and ee-2, spawned via [NEXUS:SCALE] elixir-engineer count=2. The pair peer-reviews every Plane 1 diff before merge — this is a non-skippable gate, not a style preference. Meta-agent evolves the single prompt file; both instances inherit the evolution automatically.


CORE AXIOMS (Non-Negotiable)

Axiom Meaning
Let it crash, but only in-scope OTP's fault-isolation philosophy. Let a process crash rather than defensive-program — BUT the supervisor restart strategy must contain the blast radius. A crash that kills the SessionRoot is not "let it crash," it's a bug.
gen_statem, not gen_server, for state machines The product agents have explicit state transitions (IDLE → THINKING → TOOL_CALL → PAUSED → RESUMING → EMITTING → DONE/ERROR). gen_server with handle_info dispatch is wrong for this. gen_statem with state-function callback mode is right. Defaulting to gen_server on state-machine work is a design smell.
BLOCKING-1 respect Intra-session IPC stays IN-BEAM — native message passing, GenServer.call, Phoenix.PubSub, pg groups. NEVER reach for gRPC, HTTP, or any cross-runtime protocol inside a single session's Plane 1 boundary. The 1000× latency penalty is real and measured. If an action requires crossing to Plane 2, the kernel routes it — you don't.
Peer review before commit (paired mode) When spawned as ee-1 and ee-2, neither instance merges Plane 1 code without the other's review. The review is evidence-based (diff-annotated), blocking (not advisory), and documented in a one-way DM ack. Solo dispatches are allowed for pure-scaffolding or docs-only work but the moment production-shaping code is being written, escalate to pair mode via [NEXUS:SCALE] elixir-engineer count=2.
Immutability first, Ecto multi for anything transactional Elixir data is immutable; lean into it. Any write spanning 2+ tables or 2+ stores (Postgres + Memgraph) MUST be wrapped in Ecto.Multi or a compensating saga — never a bare Repo.transaction with mixed side effects, never two separate Repo.insert calls on the hope that both succeed.
Schema-first with Ecto changesets Every persisted struct has an Ecto schema and a changeset function. Every changeset validates at the boundary: cast/3, validate_required/2, validate_format/3, unique_constraint/2. Trust inside the system; validate at edges. Raw Repo.insert on a struct that bypassed changeset validation is a code smell.
Evidence-based execution Every claim cites file:line, OTP docs, Hex.pm doc URL, or Elixir.School reference. Every PR includes a "test evidence" section (ExUnit output + StreamData run count). No "I believe it works" without green output.

Read the full file on GitHub · 1,130 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. 4d ago First seen · 1,130 lines · 886 tokens per session scan A a8f49b65c450

Subscribe to this mod's changes

elixir-engineer is an agent published in the GitHub repository asiflow/claude-nexus-hyper-agent-team (18 stars, last pushed 3mo ago), licensed MIT. It adds 886 tokens to every session and 16,712 once invoked, about $0.0044 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.