Inspect LiveView socket assigns for memory bloat — missing temporaryassigns, unused assigns, unbounded lists needing streams, memory estimates.

MITAuto-check passed

Install Lv Assigns

skills CLI
$ npx skills add oliver-kriska/claude-elixir-phoenix --skill lv-assigns -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install oliver-kriska/claude-elixir-phoenix lv-assigns --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/oliver-kriska/claude-elixir-phoenix.git skills-src && mkdir -p .claude/skills && cp -r skills-src/targets/pi/skills/lv-assigns .claude/skills/lv-assigns && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
lv-assigns
GitHub stars
565
Token cost
~734 tokens
SKILL.md length
296 words
Files
1
Skills in repo
109
Repo updated
First seen
Licence
MIT

At a glance

Inspect LiveView socket assigns for memory bloat — missing temporaryassigns, unused assigns, unbounded lists needing streams, memory estimates.

  • Works in 4 steps: Memory Issues → Missing temporary_assigns → Unused Assigns → …
  • LiveView memory grows
  • SKILL.md covers Iron Laws - Never Violate These, Quick Audit Commands, Audit Checklist and Memory Estimation, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Lv Assigns is an agent skill from oliver-kriska/claude-elixir-phoenix. Inspect LiveView socket assigns for memory bloat — missing temporaryassigns, unused assigns, unbounded lists needing streams, memory estimates. Use when LiveView memory grows or you need to add temporaryassigns.

Its SKILL.md is about 730 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: Claude Code plugin for Elixir/Phoenix/LiveView — 26 specialist agents, Iron Laws enforcement, and Tidewave MCP integration. Plan features with parallel research agents, execute… The licence is MIT.

When your agent uses it

  • LiveView memory grows
  • You need to add temporaryassigns

Example prompts

  • “/lv-assigns”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Memory Issues
  2. Missing temporary_assigns
  3. Unused Assigns
  4. Missing Initialization

What it can do on your machine

Read from SKILL.md and the folder at commit 9767a82. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are elixir).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Lv Assigns loads about 734 tokens when it runs. Until then it costs about 56 tokens; SKILL.md has 296 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~56
When it runs · the whole SKILL.md, loaded when a task matches
~734

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from oliver-kriska/claude-elixir-phoenix at commit 9767a82, republished under its MIT licence (© oliver-kriska). 296 words, ~734 tokens.

Download SKILL.mdSave it as .claude/skills/lv-assigns/SKILL.md (or your agent's skills folder).
name
lv-assigns
description
Inspect LiveView socket assigns for memory bloat — missing temporary_assigns, unused assigns, unbounded lists needing streams, memory estimates. Use when LiveView memory grows or you need to add temporary_assigns.

LiveView Assigns Audit

Analyze LiveView socket assigns for memory efficiency, clarity, and best practices.

Iron Laws - Never Violate These

  1. Use streams for lists > 100 items - Never store large lists directly in assigns
  2. Use temporary_assigns for transient data - Flash messages, temp errors, notifications
  3. Preload only needed fields - Don't store full Ecto schemas when only needing subset
  4. Initialize all assigns in mount - Never access assigns that might not exist
  5. NEVER modify assigns or code during audit — this is a read-only diagnostic; report findings only

Quick Audit Commands

Extract All Assigns

Use Grep to find all assign( and assign_new( calls in the target LiveView file.

Find Large Data Patterns

Use Grep to find large data patterns: lists stored in assigns (assign.*\[\], assign.*Repo\.all) and full schema storage (assign.*Repo\.get) in the target file.

Audit Checklist

1. Memory Issues
PatternProblemSolution
assign(:items, Repo.all(...))Unbounded listUse stream/3
assign(:user, Repo.get!(...))Full schemaSelect only needed fields
assign(:file_data, binary)Large binaryStore reference, not data
Nested preloadsExcessive dataPreload only what's rendered
2. Missing temporary_assigns

Should use temporary_assigns:

  • Flash messages
  • Form errors after submission
  • One-time notifications
  • Upload progress
elixir
def mount(_params, _session, socket) do
  {:ok, socket, temporary_assigns: [flash_message: nil]}
end
3. Unused Assigns

Search for assigns defined but never used in templates:

Use Grep to extract all assign names (assign\(:(\w+)) from the LiveView file, then use Grep to find all @\w+ references in the corresponding .heex template. Compare to find unused assigns.

4. Missing Initialization
elixir
# BAD: @items might not exist
def render(assigns) do
  ~H"<%= for item <- @items do %>"
end

# GOOD: Initialize in mount
def mount(_params, _session, socket) do
  {:ok, assign(socket, items: [])}
end

Memory Estimation

For each assign, estimate memory footprint:

Data TypeApprox SizeConcern Level
Integer8 bytesLow
String (100 chars)~200 bytesLow
List of 100 maps~10-50 KBMedium
List of 1000 items~100-500 KBHigh
Binary (image)VariesCritical
Full Ecto schema~1-5 KB eachMedium

Usage

Run /skill:lv-assigns path/to/live_view.ex to generate an assigns inventory with memory estimates and optimization recommendations.

© oliver-kriska, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in targets/pi/skills/lv-assigns of oliver-kriska/claude-elixir-phoenix.

Open the folder on GitHubat commit 9767a82

Compare with similar skills

Lv Assigns next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Lv Assigns compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Lv Assigns this skilloliver-kriska/claude-elixir-phoenix565—~734Automated safety check: PassMIT
Node Inspect Debuggeropenclaw/openclaw392k1 repos~894Automated safety check: PassMIT
Blender Motion State Inspectionaffaan-m/ECC277k1 repos~2kAutomated safety check: PassMIT
Inspect Diskfelixrieseberg/windows9524k—~1.3kAutomated safety check: PassCustom licence
Inspect AIa2ui-project/a2ui17k1 repos~226Automated safety check: PassApache-2.0
Performing Ssl Tls Inspection Configurationmukul975/Anthropic-Cybersecurity-Skills34k—~2.9kAutomated safety check: NotesApache-2.0

Similar skills

  • Node Inspect Debugger

    openclaw/openclaw

    Debug Node.js with node inspect, --inspect, breakpoints, CDP, heap, and CPU profiles.

    392k GitHub starsUsed in 1 repo~894 tokens
    Frontend & DesignAuto-check passed
  • A skill your agent uses when inspecting Blender characters, rigs, poses, animation retargeting, ground contact, facing direction, or model-vs-motion alignment where screenshots alone are not enough.

    277k GitHub starsUsed in 1 repo~2k tokens
    Game DevelopmentAuto-check passed
  • Inspect Disk

    felixrieseberg/windows95

    Inspect or modify the Windows 95 disk image offline with mtools — no QEMU, no Electron, no boot.

    24k GitHub stars~1.3k tokensUpdated 1 mo ago
    Auto-check passed
  • Inspect AI

    a2ui-project/a2ui

    Useful when working with the Inspect AI evaluation framework (e.g., in the eval/ directory).

    17k GitHub starsUsed in 1 repo~226 tokens
    DevelopmentAuto-check passed
  • Performing Ssl Tls Inspection Configuration

    mukul975/Anthropic-Cybersecurity-Skills

    Configure SSL/TLS break-and-inspect on next-generation firewalls and forward proxies to decrypt, inspect, and re-encrypt HTTPS traffic for malware and exfiltration detection, including deploying…

    34k GitHub stars~2.9k tokensUpdated 1 mo ago
    SecurityAuto-check: notes
  • GitHub Issue Bulk Assigner

    codewhale-hq/Codewhale

    Moves a list of GitHub issues into a milestone or assigns them to owners with the gh CLI, checking each one before and after the change.

    41k GitHub stars~953 tokensUpdated today
    DevelopmentAuto-check passed

More from oliver-kriska/claude-elixir-phoenix

All 109 skills in this repo
  • Codex Ab

    oliver-kriska/claude-elixir-phoenix

    Run an A/B codex review experiment — holistic codex review vs 3 focused dimension passes (security, ecto, liveview) on the branch diff, classify findings, report a panel-value verdict.

    565 GitHub stars~977 tokensUpdated 5 days ago
    Auto-check passed
  • Audit

    oliver-kriska/claude-elixir-phoenix

    Project health audit and health check — architecture, performance, tests, dependencies, code quality.

    565 GitHub stars~2k tokensUpdated 5 days ago
    Auto-check passed
  • Compound Docs

    oliver-kriska/claude-elixir-phoenix

    Searchable Elixir/Phoenix/Ecto solution documentation system with; Use when consulting past solutions…

    565 GitHub stars~528 tokensUpdated 5 days ago
    Auto-check passed
  • Compound Docs

    oliver-kriska/claude-elixir-phoenix

    Searchable Elixir/Phoenix/Ecto solution documentation system with YAML frontmatter.

    565 GitHub stars~547 tokensUpdated 5 days ago
    Auto-check passed
  • Deploy

    oliver-kriska/claude-elixir-phoenix

    Elixir/Phoenix deployment patterns — Dockerfile, fly.toml, runtime.exs, mix release, rel/ overlays.

    565 GitHub stars~1.1k tokensUpdated 5 days ago
    Auto-check passed
  • Deps Update

    oliver-kriska/claude-elixir-phoenix

    Bump outdated Hex deps — inventory, snapshot changelogs, update, fix breaks, split reviewable PRs (patches bundled, majors solo).

    565 GitHub stars~1.4k tokensUpdated 5 days ago
    Auto-check passed

Questions about Lv Assigns

What does Lv Assigns do?

Inspect LiveView socket assigns for memory bloat — missing temporaryassigns, unused assigns, unbounded lists needing streams, memory estimates. Lv Assigns is an agent skill from oliver-kriska/claude-elixir-phoenix. Inspect LiveView socket assigns for memory bloat — missing temporaryassigns, unused assigns, unbounded lists needing streams, memory estimates.

When should I use Lv Assigns?

Lv Assigns fits situations like: liveView memory grows; you need to add temporaryassigns.

How do I install Lv Assigns in Claude Code?

Run `npx skills add oliver-kriska/claude-elixir-phoenix --skill lv-assigns -a claude-code`. Or copy the skill folder (targets/pi/skills/lv-assigns in oliver-kriska/claude-elixir-phoenix) into .claude/skills/lv-assigns in your project. Claude Code loads it when a task matches its description.

How do I install Lv Assigns in Codex?

Run `npx skills add oliver-kriska/claude-elixir-phoenix --skill lv-assigns -a codex`. Or copy the skill folder (targets/pi/skills/lv-assigns in oliver-kriska/claude-elixir-phoenix) into .agents/skills/lv-assigns in your project. Codex loads it when a task matches its description.

Can I use Lv Assigns in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add oliver-kriska/claude-elixir-phoenix --skill lv-assigns -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/lv-assigns, .gemini/skills/lv-assigns, .github/skills/lv-assigns and .opencode/skills/lv-assigns in your project.

What does Lv Assigns need to run?

SKILL.md names no scripts, command-line tools or credentials: Lv Assigns is instructions for the agent only.

Does Lv Assigns access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Lv Assigns safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Lv Assigns use?

Lv Assigns is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Lv Assigns use?

About 734 tokens (SKILL.md is roughly 2.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Lv Assigns?

Skills that share tags, products or a category with Lv Assigns: Node Inspect Debugger (openclaw/openclaw, 392k stars), Blender Motion State Inspection (affaan-m/ECC, 277k stars), Inspect Disk (felixrieseberg/windows95, 24k stars) and Inspect AI (a2ui-project/a2ui, 17k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Lv Assigns?

oliver-kriska (a GitHub user) maintains it in oliver-kriska/claude-elixir-phoenix, which has 565 GitHub stars. The repository holds 109 skills in this directory. The repository was last updated on October 5, 2026.

Source: oliver-kriska/claude-elixir-phoenix on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.