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.
npx skills add cosmix/loom --skill loom-elixirgit clone --depth 1 https://github.com/cosmix/loomWrote 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.
[](https://agentmods.dev/skills/cosmix/loom/loom-elixir)<a href="https://agentmods.dev/skills/cosmix/loom/loom-elixir"><img src="https://agentmods.dev/badge/skills/cosmix/loom/loom-elixir/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.
<a href="https://agentmods.dev/skills/cosmix/loom/loom-elixir"><img src="https://agentmods.dev/badge/skills/cosmix/loom/loom-elixir.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00016 | $0.05757 |
| Opus 5.5 | $0.00006 | $0.02303 |
| Sonnet 5.5 | $0.00003 | $0.01151 |
| Haiku 4.5 | $0.00002 | $0.00576 |
Grade A, and why
loom-elixir scanned grade A with 1 finding 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 11d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
with {:ok, order} <- Shop.Orders.fetch(order_id) do How it starts
The opening of the file, as written. The whole thing — 378 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Elixir Language Expertise
Overview
Idiomatic, production-grade Elixir on the BEAM: mix, pattern matching, processes and OTP (GenServer, supervisors), Phoenix and Ecto, and ExUnit. Assumes competence; the value is in what is easy to get wrong (atom exhaustion, a single GenServer serializing the hot path, unbounded mailboxes, compile-time config baked into releases, LiveView's double mount, Ecto's absent lazy loading) and in writing tests that loom's mix-test adapter can select one at a time.
Tooling
mix builds, tests and manages dependencies; Hex is the package registry.
| Task | Command |
|---|---|
| New project | mix new app --sup (with a supervision tree), mix phx.new app (Phoenix) |
| Add a dependency | add it to deps/0 in mix.exs (mix has no add command), then mix deps.get to resolve and write mix.lock |
| Update one dependency | mix deps.update jason |
| Remove unused lock entries | mix deps.unlock --unused; CI check: mix deps.unlock --check-unused |
| Outdated / retired packages | mix hex.outdated, mix hex.audit; mix deps.audit with mix_audit for CVEs |
| Compile strictly | mix compile --warnings-as-errors |
| Find recompilation chains | mix xref graph --label compile-connected |
| Format | mix format (config in .formatter.exs); CI: mix format --check-formatted |
| Lint | mix credo --strict |
| Types | mix dialyzer (dialyxir); recent compilers also emit gradual type-check warnings |
| Security (Phoenix) | mix sobelow |
Commit mix.lock. Dependencies with the only: [:dev, :test] and runtime: false options stay out of releases.
The gate (the stage gate runs the mix test line; while working, run mix test path/to/file_test.exs --warnings-as-errors):
mix format --check-formatted
mix compile --warnings-as-errors
mix credo --strict
mix test --warnings-as-errors
mix dialyzer # when the project uses dialyxir
Pattern Matching and Control Flow
=matches; it binds on success and raisesMatchErroron failure. Pin an existing value with^:^expected = actual.- Prefer multiple function clauses with guards over
if/condchains inside one body; clause order is match order. - Return tagged tuples (
{:ok, value},{:error, reason}) from functions that can fail; the bang variant (File.read!) raises instead. Offer both when callers need both. withchains the happy path. Withoutelse, the first non-matching value is returned as is. Withelse, every non-matching shape must have a clause, orwithraisesWithClauseError.- Map patterns match a subset of keys:
%{} = valuematches any map, so test emptiness withmap_size(m) == 0. A struct pattern%User{}also asserts the struct type. - Binary patterns parse protocols and file headers without manual slicing.
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.
- 11d ago Changed 498b1eb84403
- 2mo ago First seen · 378 lines · 16 tokens per session scan A c564d5af1cd7
loom-elixir is a skill published in the GitHub repository cosmix/loom (66 stars, last pushed yesterday), licensed MIT. It adds 16 tokens to every session and 5,757 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-26.
loom-elixir compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| loom-elixircosmix/loom | Skill | 66 | yesterday | MIT | A | 16 | Claude Code, Codex |
| idiomatic-goTypeFox/agent-skills | Skill | 5 | 1mo ago | MIT | A | 137 | Claude Code |
| go-documentationTypeFox/agent-skills | Skill | 5 | 1mo ago | MIT | A | 98 | Claude Code |
| authoring-java-sdk-tasksastronomer/agents | Skill | 464 | 6d ago | Apache-2.0 | A | 152 | Claude Code |
| configuring-airflow-language-sdksastronomer/agents | Skill | 464 | 6d ago | Apache-2.0 | A | 155 | Claude Code |
| authoring-dagsastronomer/agents | Skill | 464 | 6d ago | Apache-2.0 | A | 93 | Claude Code |
| authoring-go-sdk-tasksastronomer/agents | Skill | 464 | 6d ago | Apache-2.0 | A | 165 | Claude Code |