Skip to content

Reference guide for GNU binutils covering static libraries, stripping, address-to-source mapping, and C++ demangling.

CCM score
64 of 100
skills.sh installs
759
GitHub stars
303
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the binary post-processing workflow: archives with ar, debug stripping, section editing, crash address lookup, and symbol demangling
  • Includes command recipes for ar, strip, objcopy, addr2line, c++filt, and strings, plus cross-toolchain prefixed variants
  • Recommends gcc-ar or llvm-ar for LTO archives instead of plain ar
  • Designed for developers handling debug symbols, crash backtraces, or static library packaging, with links to related ELF inspection skills

Install

$ npx -y skills add mohitmishra786/low-level-dev-skills --skill binutils -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

GNU Binutils

Purpose

Guide agents through the binutils toolset for binary manipulation: static libraries, stripping, address-to-source mapping, and symbol demangling.

Triggers

  • "How do I create a static library?"
  • "How do I strip a binary but keep a debug file?"
  • "I have an address from a crash — how do I find the source line?"
  • "How do I demangle a C++ symbol name?"
  • "How do I extract/replace sections in a binary?"

Workflow

1. ar — static library management

# Create static library
ar rcs libfoo.a foo.o bar.o baz.o

# List contents
ar t libfoo.a

# Extract an object
ar x libfoo.a foo.o

# Add/replace an object
ar r libfoo.a newbar.o

# Delete an object
ar d libfoo.a oldbar.o

# Show symbol index
nm libfoo.a

# Rebuild symbol index (after modifying archive externally)
ranlib libfoo.a

For LTO archives: use gcc-ar/gcc-ranlib or llvm-ar instead of plain ar.

2. strip — remove debug info

# Strip all debug info (reduce binary size)
strip --strip-all prog

# Strip only debug sections (keep symbol table)
strip --strip-debug prog

# Strip unneeded symbols (keep needed for linking)
strip --strip-unneeded prog

Details

Repository
github.com/mohitmishra786/low-level-dev-skills
Categories
CLI & Terminal, Debugging
First seen
Jun 3, 2026

Questions

What does the binutils skill help an agent do?

The binutils skill guides an agent through GNU binutils for binary manipulation: creating and managing static libraries with ar, stripping and processing binaries with strip and objcopy, mapping crash addresses to source lines with addr2line, extracting text with strings, and demangling C++ names with c++filt. It activates on queries about those tools and ranlib.

How do I install the binutils skill?

Run npx -y skills add mohitmishra786/low-level-dev-skills --skill binutils -y in a project. After installing, the binutils skill lets the agent handle static library creation, debug info separation and crash address lookups using the GNU binutils tools.

Which tools and runtimes does the binutils skill need?

The binutils skill relies on the GNU binutils command line tools such as ar, strip, objcopy, addr2line, strings and c++filt being available on the system. For cross targets it uses target-prefixed versions like aarch64-linux-gnu-strip, and addr2line needs the binary compiled with debug info.

Where does the binutils skill sit in the CLI & Terminal category?

The binutils skill is listed in the CLI & Terminal category on Claude Marketplaces, next to herdr, gws-shared, opentui, cf-cli and pnpm. It covers binary post-processing tasks that the other listed skills in that category do not address.

More from mohitmishra786/low-level-dev-skills

All 54

Similar to Binutils

More CLI & Terminal