elixir-dev

Introspect and manipulate running Elixir and Phoenix applications via the BEAM runtime.

91|6|Updated Feb 20, 2026
One-click install
npx skills add https://github.com/dannote/pi-elixir --skill elixir-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: elixir-dev
Source: https://github.com/dannote/pi-elixir/tree/main/skills/elixir-dev
Command: npx skills add https://github.com/dannote/pi-elixir --skill elixir-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill empowers developers to deeply understand and interact with running Elixir/Phoenix applications by leveraging the unique introspection capabilities of the BEAM virtual machine, eliminating the need for traditional debugging and manual code inspection.

Core Features & Use Cases

  • Live Code Evaluation: Execute Elixir code directly within the running application's context.
  • Runtime Introspection: Inspect modules, functions, processes, and supervision trees directly from the BEAM.
  • Database & Log Access: Query databases via Ecto and filter server logs with precision.
  • Source Code Location: Pinpoint the exact file and line number of any function in the running code.
  • Use Case: When encountering a bug in a live Elixir application, use elixir_eval to inspect the state of a specific process or elixir_source to find the exact location of the problematic function without relying on grep or recompilation.

Quick Start

Use the elixir-dev skill to evaluate the expression runtime_info() in the running Elixir application.

Frequently Asked Questions about elixir-dev

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I inspect a running Elixir process in a Phoenix application?

BEAM runtime introspection allows you to inspect running Elixir processes and supervision trees directly. This Skill facilitates deep process inspection and live code evaluation within your Phoenix application context.

Can I evaluate Elixir code live in a running BEAM application?

Yes, live code evaluation allows you to execute Elixir code directly within the running application's context. This eliminates the need for traditional debugging by letting you interact with the BEAM virtual machine in real-time.

How do I find the exact source file and line number of an Elixir function without grep?

You can pinpoint the exact source code location of any function by analyzing its bytecode via BEAM introspection. This precise locating mechanism bypasses the need for manual grep searches or application recompilation.

Does this tool support executing Ecto queries and filtering server logs?

Yes, runtime introspection includes database and log access capabilities. You can query databases directly via Ecto and filter server logs with precision to diagnose issues in your running application.

What is BEAM runtime introspection and when do I need it for Elixir debugging?

BEAM runtime introspection is the capability to examine and manipulate a running Elixir application's internal state. You need it when encountering live bugs, enabling you to inspect process states and locate problematic functions without stopping the application.