elixir-otp

elixir-otp is a skill for Claude Code, Codex from Miosa-osa/OSA. It costs 62 tokens per session (819 once invoked), scanned A, original, Apache-2.0.

A coding guide for Elixir and Erlang, languages used to build software on the BEAM runtime. It covers syntax, exact function arguments, OTP process lifecycles, and checks that code can run.

In plain words
What is it for?
It helps write and repair files such as .ex and mix.exs, and work with GenServer, supervision, Ecto, and Phoenix code.
Why use it?
It helps find incorrect function calls, lifecycle mistakes, and runtime bugs in BEAM applications. OTP is the standard set of tools for managing concurrent processes and fault recovery in these languages.

Skill for Claude CodeCodex

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

Good fit It helps write and repair files such as .ex and mix.exs, and work with GenServer, supervision, Ecto, and Phoenix code.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/miosa-osa/osa/elixir-otp/github.svg)](https://agentmods.dev/skills/miosa-osa/osa/elixir-otp)
Your own site
<a href="https://agentmods.dev/skills/miosa-osa/osa/elixir-otp"><img src="https://agentmods.dev/badge/skills/miosa-osa/osa/elixir-otp/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 elixir-otp

Your own site · 80×15
<a href="https://agentmods.dev/skills/miosa-osa/osa/elixir-otp"><img src="https://agentmods.dev/badge/skills/miosa-osa/osa/elixir-otp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 819 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.00062 $0.00819
Opus 5.5 $0.00025 $0.00328
Sonnet 5.5 $0.00012 $0.00164
Haiku 4.5 $0.00006 $0.00082

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

Security

Grade A, and why

elixir-otp 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 1mo 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.

priv/skills/elixir-otp/SKILL.md · 76 lines

How it starts

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

Elixir and OTP: verify the code path

Workflow

  1. Read the repository instructions, .tool-versions, mix.exs, and relevant existing modules/tests. Use its matched Elixir/OTP pair; run elixir --version and mix --version. Do not hardcode another developer's installation path.
  2. Read syntax and API examples for matching, guards, strings, maps, pipes, and error handling. Read OTP and integration pitfalls for servers, tasks, configuration, and Ecto.
  3. Verify external calls against the installed dependency source or its pinned HexDocs version. Code.ensure_loaded!/1 followed by function_exported?/3 checks functions; use macro_exported?/3 for macros. A missing module is not evidence that its documented API does not exist.
  4. Write the smallest implementation following the project's conventions. Use explicit success/error return contracts at boundaries, validate external data, and keep arbitrary input as strings rather than creating atoms.
  5. Run mix format --check-formatted, mix compile --warnings-as-errors, and the narrowest relevant mix test test/path_test.exs. Existing unrelated warnings must be reported accurately; a plain compile is not a warning-free check.
  6. Exercise both success and failure paths. For OTP changes test the actual process, message ordering, timeout, and shutdown behavior. For persistence, assert a reread observes the change. A mock or compilation alone is not that evidence. Finish by reporting exact commands, outcomes, and uncovered cases.

Snippet verification

From this skill directory, run:

elixir references/verify_snippets.exs SKILL.md references/syntax.md references/gotchas.md

The verifier accepts trusted author-written snippets only; it executes code and is not a sandbox for user-supplied programs. It requires Elixir 1.17 or newer. elixir fences compile with no undefined-call warnings; elixir-run also calls run/0 on defined modules (or executes a wrapped expression); elixir-bad must fail compilation or emit an undefined-call warning. Runtime examples contain assertions, so printing a plausible result is not considered success. Fences must be self-contained; do not depend on definitions in a previous fence.

Read the full file on GitHub · 76 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 76 lines · 62 tokens per session scan A 77cc1869208c

Subscribe to this mod's changes

elixir-otp is a skill published in the GitHub repository Miosa-osa/OSA (78 stars, last pushed 11d ago), licensed Apache-2.0. It adds 62 tokens to every session and 819 once invoked, about $0.0002 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-09-15.