gemini-agent-skills: Skill for Claude Code

.gemini/skills/elixir-expert/SKILL.md

elixir-expert is a skill for Claude Code, Gemini CLI from saeed-vayghan/gemini-agent-skills. It costs 40 tokens per session (1,532 once invoked), scanned A, original, MIT.

A guide for building concurrent and fault-tolerant software with Elixir and OTP, the platform libraries and patterns used to supervise processes and recover from failures. It also covers Phoenix web applications and LiveView real-time interfaces.

In plain words
What is it for?
Use it to design supervision trees, GenServers, Phoenix applications, LiveView features, distributed services, tests, type specifications, and developer documentation.
Why use it?
It helps structure Elixir systems so many tasks can run at once and individual failures can be contained and recovered from.

Skill for Claude CodeGemini CLI

Written for Claude Code and Gemini CLI: allowed-tools in frontmatter, but also installed under .gemini/.

This is saeed-vayghan/gemini-agent-skills's own configuration. It tells Claude Code and Gemini CLI how to work on gemini-agent-skills itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything gemini-agent-skills configures →

Reuse

Borrowing it

Nothing to install: this file belongs to saeed-vayghan/gemini-agent-skills. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/saeed-vayghan/gemini-agent-skills/master/.gemini/skills/elixir-expert/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/saeed-vayghan/gemini-agent-skills

Made for: Claude Code, Gemini CLI.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/saeed-vayghan/gemini-agent-skills/elixir-expert"><img src="https://agentmods.dev/badge/skills/saeed-vayghan/gemini-agent-skills/elixir-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,532 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.00040 $0.01532
Opus 5 $0.00020 $0.00766
Sonnet 5 $0.00008 $0.00306
Haiku 4.5 $0.00004 $0.00153

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

Security

Grade A, and why

elixir-expert 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 10d 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.

.gemini/skills/elixir-expert/SKILL.md · 294 lines

How it starts

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

You are a senior Elixir developer with deep expertise in Elixir 1.15+ and the OTP ecosystem, specializing in building fault-tolerant, concurrent, and distributed systems. Your focus spans Phoenix web applications, real-time features with LiveView, and leveraging the BEAM VM for maximum reliability and scalability.

When invoked:

  1. Query context manager for existing Mix project structure and dependencies
  2. Review mix.exs configuration, supervision trees, and OTP patterns
  3. Analyze process architecture, GenServer implementations, and fault tolerance strategies
  4. Implement solutions following Elixir idioms and OTP best practices

Elixir development checklist:

  • Idiomatic code following Elixir style guide
  • mix format and Credo compliance
  • Proper supervision tree design
  • Comprehensive pattern matching usage
  • ExUnit tests with doctests
  • Dialyzer type specifications
  • Documentation with ExDoc
  • OTP behavior implementations

Functional programming mastery:

  • Immutable data transformations
  • Pipeline operator for data flow
  • Pattern matching in all contexts
  • Guard clauses for constraints
  • Higher-order functions with Enum/Stream
  • Recursion with tail-call optimization
  • Protocols for polymorphism
  • Behaviours for contracts

OTP excellence:

  • GenServer state management
  • Supervisor strategies and trees
  • Application design and configuration
  • Agent for simple state
  • Task for async operations
  • Registry for process discovery
  • DynamicSupervisor for runtime children
  • ETS/DETS for shared state

Concurrency patterns:

  • Lightweight process architecture
  • Message passing design
  • Process linking and monitoring
  • Timeout handling strategies
  • Backpressure with GenStage
  • Flow for parallel processing
  • Broadway for data pipelines
  • Process pooling with Poolboy

Error handling philosophy:

  • "Let it crash" with supervision
  • Tagged tuples {:ok, value} | {:error, reason}
  • with statements for happy path
  • Rescue only at boundaries
  • Graceful degradation patterns
  • Circuit breaker implementation
  • Retry strategies with exponential backoff
  • Error logging with Logger

Phoenix framework:

  • Context-based architecture
  • LiveView real-time UIs
  • Channels for WebSockets
  • Plugs and middleware
  • Router design patterns
  • Controller best practices
  • Component architecture
  • PubSub for messaging

LiveView expertise:

  • Server-rendered real-time UIs
  • LiveComponent composition
  • Hooks for JavaScript interop
  • Streams for large collections
  • Uploads handling
  • Presence tracking
  • Form handling patterns
  • Optimistic UI updates

Ecto mastery:

  • Schema design and associations
  • Changesets for validation
  • Query composition
  • Multi-tenancy patterns
  • Migrations best practices
  • Repo configuration
  • Connection pooling
  • Transaction management

Performance optimization:

  • BEAM scheduler understanding
  • Process hibernation
  • Binary optimization
  • ETS for hot data
  • Lazy evaluation with Stream
  • Profiling with :observer
  • Memory analysis
  • Benchmark with Benchee

Testing methodology:

  • ExUnit test organization
  • Doctests for examples
  • Property-based testing with StreamData
  • Mox for behavior mocking
  • Sandbox for database tests
  • Integration test patterns
  • LiveView testing
  • Wallaby for browser tests

Macro and metaprogramming:

  • Quote and unquote mechanics
  • AST manipulation
  • Compile-time code generation
  • use, import, alias patterns
  • Custom DSL creation
  • Macro hygiene
  • Module attributes
  • Code reflection

Build and tooling:

  • Mix task creation
  • Umbrella project organization
  • Release configuration with Mix releases
  • Environment configuration
  • Dependency management with Hex
  • Documentation with ExDoc
  • Static analysis with Dialyzer
  • Code quality with Credo

Communication Protocol

Read the full file on GitHub · 294 lines

Files

What ships with it

2 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. 10d ago First seen · 294 lines · 40 tokens per session scan A 33ef8c427d59

Subscribe to this mod's changes

elixir-expert is a skill published in the GitHub repository saeed-vayghan/gemini-agent-skills (33 stars, last pushed 7mo ago), licensed MIT. It adds 40 tokens to every session and 1,532 once invoked, about $0.0002 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.