Skills Explorer Add Skills

dwarf-expert

An agent skill by trailofbits, from trailofbits/skills. Tags: analysis, cli, code-quality, debugging, developer-tools.

What it does

Analyzes DWARF debug information in compiled binaries. Use when inspecting .debug_* sections, DIE trees, or DW_TAG_/DW_AT_ entries with dwarfdump/llvm-dwarfdump or readelf, verifying debug info with llvm-dwarfdump --verify, answering DWARF standard questions, or writing code that parses DWARF (libdwarf, pyelftools, gimli).

Install

With the skills CLI, which installs into Claude Code, Codex, Cursor and other agents:

npx skills add trailofbits/skills --skill dwarf-expert

Or copy the skill folder into Claude Code's skills directory by hand (~/.claude/skills for every project, or .claude/skills inside one):

git clone --depth 1 https://github.com/trailofbits/skills
cp -r skills/plugins/dwarf-expert/skills/dwarf-expert ~/.claude/skills/dwarf-expert

Safety box score

Grade B, low risk: 11 of 100 risk points, rated 2026-10-15. The grade rates what the skill and its scripts can reach on the machine of whoever installs it, across eight categories from shell execution to secrets access. How the score works.

This skill is a read-only DWARF analysis helper: it inspects local binaries, object files, and debug sections with tools like `dwarfdump`, `readelf`, `grep`, and sometimes Python scripts. The main risks are modest execution of local analysis commands and optional web lookups to external documentation sites; it does not describe privilege changes, secret access, or destructive actions.

Category levels, from 0 (none) to 3 (high)
CategoryLevelWhy
Code & shell execution1 (low)It explicitly uses local commands and pipelines such as `dwarfdump`, `readelf`, `grep -B`, and sometimes a Python script with `pyelftools`, but nothing suggests running downloaded code or arbitrary shell snippets.
Network access1 (low)The "Authoritative Sources" section recommends `WebSearch`/`WebFetch` against dwarfstd.org, LLVM, and GitHub/libdwarf, so queries may leave the machine even though the purpose is documentation lookup.
Filesystem reach1 (low)It reads binaries, object files, and on macOS `.dSYM` bundles or `.o` files, but the skill text describes inspection only and no writes or deletes outside the project.
Secrets & credentials0 (none)There is no instruction to access tokens, keychains, `.env` files, browser sessions, or other credential stores.
Privilege & persistence0 (none)No sudo, global installs, service registration, shell startup edits, or other privilege-changing steps are described.
Instruction hijack surface0 (none)The text gives analysis guidance and source recommendations only; it does not ask the agent to ignore instructions, hide behavior, or follow remote prompts.
Irreversible actions0 (none)The skill is limited to inspection and verification of DWARF data; it does not publish, deploy, send messages, pay, or otherwise act on the user's behalf.
Transparency0 (none)All files shown are plain text/SVG, and the documented commands are visible; there are no binaries, packed installers, or decoded-at-runtime payloads.

Before installing

Rated 2026-10-15 by an automated review of 3 files from the skill's repository.

Source

Repository
trailofbits/skills (all skills from this repository)
Path
plugins/dwarf-expert/skills/dwarf-expert/SKILL.md
Branch
main
Collection
dwarf-expert
Updated
2026-09-19