nm
Files
SKILL.mdagentsreferencesscripts
Install
Install the containing plugin
/plugin install shared-skills@llm-skills
Invoke this skill after installation
/shared-skills:nm
This skill is bundled inside shared-skills. Install the plugin once, then Claude Code can use any of its included skills. Browse the full plugin repository at github.com/alisonaquinas/llm-shared-skills.
SKILL.md
name: nm description: List symbols from object files and libraries. Use when the agent needs to inspect, analyze, or extract information from binary files or data structures.
Nm
List symbols from object files and libraries
Quick Start
- Verify
nmis available:nm --versionorman nm - Establish the command surface:
man nmornm --help - Start with a read-only probe:
nm file
Intent Router
Load only the reference file needed for the active request.
references/install-and-setup.md— Installing nm on macOS, Linux, Windowsreferences/cheatsheet.md— Common options, output formats, usage patternsreferences/advanced-usage.md— Advanced patterns, performance optimizationreferences/troubleshooting.md— Common errors, exit codes, platform differences
Core Workflow
- Verify nm is available:
nm --version - Start with safe, read-only operation:
nm [options] file - Validate output on test data before processing at scale
- Document exact command and flags for reproducibility
Quick Command Reference
nm --version # Check version
nm --help # Show help
nm file # Basic usage
nm file | head # Limit output
man nm # Full manual
Safety Notes
| Area | Guardrail |
|---|---|
| Untrusted input | Validate files from untrusted sources before processing. |
| Large files | May consume memory on large files. Test with smaller samples first. |
| Output handling | Pipe output safely. Binary output may corrupt terminal. |
| Symlinks | Tool may follow or skip symlinks. Check man page for behavior. |
Source Policy
- Treat the installed
nmbehavior andman nmas runtime truth. - Use upstream documentation for semantics.
Resource Index
scripts/install.sh— Install nm on macOS or Linux.scripts/install.ps1— Install nm on Windows or any platform via PowerShell.