Strace Ltrace
Syscall and library call tracing with strace and ltrace for diagnosing binaries that misbehave without crashing.
- CCM score
- 60 of 100
- skills.sh installs
- 822
- GitHub stars
- 303
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers basic strace invocation, filtering by syscall category, interpreting common errno values, and ltrace library-call tracing
- Includes a table of 10 errno meanings (ENOENT, EACCES, EPERM, ECONNREFUSED, and others) with typical causes
- Provides flags for timestamps (
-t,-T,-r), summaries (-c), string length (-s), and forked children (-f) - Designed for diagnosing missing files, permission failures, network issues, and seccomp kills without a debugger
Install
$ npx -y skills add mohitmishra786/low-level-dev-skills --skill strace-ltrace -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
strace / ltrace
Purpose
Guide agents through tracing system calls with strace and library calls with ltrace — the most effective tools for diagnosing incorrect binary behaviour without a crash or debugger.
Triggers
- "My program behaves incorrectly — how do I trace what it's doing?"
- "How do I find what files a binary is opening?"
- "strace shows ENOENT — how do I interpret it?"
- "How do I trace network calls with strace?"
- "What is ltrace and how does it differ from strace?"
- "How do I trace a running process?"
Workflow
1. Basic strace usage
# Trace all syscalls of a command
strace ./myapp arg1 arg2
# Attach to running process
strace -p 12345
# Trace child processes too (-f = follow fork)
strace -f ./myapp
# Save to file (raw output — not stdout)
strace ./myapp 2> trace.txt
# Most useful: timestamps + summary
strace -t -f ./myapp 2>&1 | head -100
2. Filter by syscall category
# Trace file operations only
strace -e trace=file ./myapp
# Trace network syscalls
strace -e trace=network ./myapp
# Trace specific syscalls
strace -e trace=open,openat,read,write ./myapp
Details
- Repository
- github.com/mohitmishra786/low-level-dev-skills
- Categories
- Debugging, CLI & Terminal
- First seen
- Jun 3, 2026
Questions
What does the strace-ltrace skill help me do?
The strace-ltrace skill guides an agent through tracing system calls with strace and library calls with ltrace. It is aimed at diagnosing a binary that behaves incorrectly without crashing, such as file-not-found errors, permission failures, network issues, or unexpected library calls.
How do I install the strace-ltrace skill?
Run npx -y skills add mohitmishra786/low-level-dev-skills --skill strace-ltrace -y in your project. Once installed, the agent can trace syscalls and library calls to find out what a binary is actually doing.
How does strace differ from ltrace in this skill?
strace traces kernel system calls such as open, read and write, while ltrace traces user-space library calls such as fopen, malloc and printf. The skill recommends strace when the binary interacts with files, network or the OS, and ltrace when it calls library functions you cannot see.
Where does strace-ltrace stand in the Debugging category?
strace-ltrace is in the Debugging category on Claude Marketplaces, alongside diagnosing-bugs, safe-debug, systematic-debugging and sentry-cli. It focuses on tracing what a binary does at the syscall and library level rather than stepping through code.
More from mohitmishra786/low-level-dev-skills
All 54- Cpu Cache Opt820
- Rust Profiling810
- Elf Inspection806
- Simd Intrinsics802
- Assembly Arm800
- Lldb800
- Memory Model800
- Make789
- Heaptrack779
- Ninja778
- Freertos774
- Linux Kernel Modules772
- Msvc Cl772
- Ebpf765
- Fuzzing761
- Binutils759
- Linkers Lto753
- Conan Vcpkg747
- Rust Security744
- Dynamic Linking737
- Rust Ffi713
- Rust Sanitizers Miri713
- Rust Unsafe705
- Pgo695
Similar to Strace Ltrace
More Debuggingcore-dumpsmohitmishra786/low-level-dev-skills948 installsPractical crash triage for production core dumps: enabling collection, loading in GDB or LLDB, and resolving symbols.
elf-inspectionmohitmishra786/low-level-dev-skills806 installsGuide to inspecting Linux ELF binaries with readelf, objdump, nm, and ldd for linking and symbol diagnosis.
anti-debugging-techniquesyaklang/hack-skills4.2K installsAnti-debugging playbook covering ptrace, PEB flags, timing checks, and signal or exception tricks on Linux and Windows, with bypass methods.
linux-troubleshootingsickn33/agentic-awesome-skills125 installsA seven-phase workflow for diagnosing Linux performance, service, network, and disk problems, with read-only checks first.
debuggerzhaono1/agent-playbook759 installsSystematic debugging workflow that reproduces, isolates, and verifies fixes across JavaScript, Python, and Go.
golang-troubleshootingsamber/cc-skills-golang42.8K installsSystematic Go debugging methodology with pprof, Delve, race detection, and GODEBUG tracing for root-cause fixes.