omh-native-debugging
Was er macht
Dieser Skill plant eine hypothesengesteuerte Debugging-Sitzung für ein natives Programm, das abstürzt, etwa durch einen Segmentation Fault oder einen Core Dump, und verweist auf einen Debugger statt nur auf Ausgabe-Anweisungen. Er ist für Entwickler gedacht, die an kompilierten Programmen arbeiten.
Wann du ihn nutzt
- ✓Wenn ein natives Programm mit einem Segmentation Fault oder Core Dump abstürzt.
- ✓Wenn du eine Speicherbeschädigung in einem kompilierten Programm vermutest.
- ✓Wenn du eine Debugger-Sitzung statt Raten anhand von Ausgabe-Anweisungen planen willst.
Link zum Skill
https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-native-debugging/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Dieses Programm stürzt bei der dritten Anfrage mit einem Segmentation Fault ab. Hilf mir, die Ursache zu finden.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Agent hält die Fakten des Absturzes fest, stellt konkurrierende Hypothesen auf und plant eine Debugger-Sitzung mit Haltepunkten und zu prüfenden Werten. Eine Ursache nennt er erst, wenn der Debugger sie zeigt.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
Native Debugging
This is an OMH native-debugging workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).
Why This Exists
native-debugging closes OMH's zero-coverage low-level domain by preparing a hypothesis-driven, DAP-first debugging plan for native binaries, while OMH itself continues to execute nothing.
Do Not Use When
- The failure is a build or CI failure rather than a runtime fault in a binary; use
omh-build-failure-triage. - The subject is an agent or workflow misbehaving rather than a native binary; use
omh-agent-debug. - The wrong result, flaky test, or lost update is in application code such as a Python or TypeScript service and needs its root cause reproduced; use
omh-app-debugging. - The change is Rust source work whose risk is
unsafeor UB discipline; useomh-rust. - The request is to judge whether a fix is verified rather than to find the fault; use
omh-verification-gate.
Examples
Good example:
- Prompt: This binary segfaults on the third request; help me debug it.
- Expected behavior: Prepare native_fault_statement/v1, three competing hypotheses with distinguishing observations, and a debugger_session_plan/v1 naming the DAP adapter, breakpoints, and values to read.
- Why: The request is a runtime fault in a native binary where the plan, not the guess, is what OMH can prepare.
Bad example:
- Prompt: Add some printfs and tell me it is fixed once the crash stops.
- Expected behavior: Name the DAP-driven observation plan, and keep reproduction, root cause, and fix as separate not_observed states.
- Why: A disappearing symptom is not a root cause, and printf-via-rebuild is the fallback rather than the method.
Completion Checklist
- The fault is stated as an observed symptom with a reproduction command, separate from any assumed cause.
- At least three hypotheses span distinct axes and each carries its refuting observation.
- The debugger session plan names the DAP adapter, breakpoints, watchpoints, threads, frames, and values to read.
- The handoff says the executor drives the debugger and OMH executes nothing.
- Reproduction, debugger output, root cause, and fix are reported as separate observed or not_observed states.
- Any print-and-rebuild probe carried the session's probe tag, and an observed search for that tag returns nothing.
Recovery Notes
- If the fault does not reproduce, make reproduction the first hypothesis and plan the observation that would establish it, rather than debugging a fault no one can trigger.
- If no debug adapter or symbols are available, say so, plan the coarser evidence path, and keep root cause unclaimed instead of upgrading a guess.
When to Use
Use when Hermes should prepare low-level debugging of a native binary, crash, or memory fault: competing hypotheses, the distinguishing observation for each, and a DAP-driven evidence plan for the executor.
Strong routing signals: `native-debugging`, `native debugging`, `native binary`, `segfault`, `segmentation fault`, `core dump`, `stack corruption`, `memory corruption`, `heap corruption`, `use after free`, `null pointer dereference`, `stripped binary`, `disassembly`, `lldb`, `gdb`, `dap debugger`, `breakpoint`, `watchpoint`, `backtrace`, `セグメンテーション違反`, `コアダンプ`, `メモリ破壊`, `ヒープ破壊`, `解放後使用`, `逆アセンブル`, `네이티브 디버깅`, `세그폴트`, `코어 덤프`, `메모리 손상`, `역어셈블`, `중단점`, `段错误`, `核心转储`, `内存破坏`, `释放后使用`, `反汇编`, `bantu debug segfault ini`, `analisis core dump`, `telusuri penyebab use after free`, `debug crash pada binary native`, `giúp debug lỗi segfault này`, `phân tích core dump`, `truy nguyên nhân use after free`, `debug crash trên binary native`
Catalog Metadata
Category: verification
Phase: native-debugging
Quality tier: native-debug-evidence-gated
Reasoning demand: standard
Quality bar:
- State the fault as an observed symptom with its reproduction command before naming any cause.
- Load
references/native-debug-loop.mdand follow its hypothesis, observation, and escalation order rather than improvising a search. - Write at least three hypotheses on distinct axes, each with the single observation that would refute it and the exact place to read that observation.
- Plan the debugger session concretely: adapter, breakpoints, watchpoints, threads, frames, and the values read at each stop — the executor should not have to invent the session.
- Prefer debugger-observed state over added print statements; a rebuild-and-print loop is the
Häufige Fragen
Führt er den Debugger selbst aus?
Er plant die Sitzung und fragt nach den Debugger-Schritten; ohne beobachtete Ergebnisse nennt er keine Ursache.
Ist das für einen Fehler in einer Web-App?
Nein. Fehler im Anwendungscode deckt ein Skill zur Fehlersuche in Apps ab.
Ist das für einen fehlgeschlagenen Build?
Nein. Fehlgeschlagene Builds deckt ein Skill zur Build-Fehleranalyse ab.
Details
Originalbeschreibung des Autors
[omh] Native program crashes or corrupts memory: prepare hypothesis-driven debugging of native binaries and instruct the executor to drive a DAP debugger instead of printf. Use when the user says: native-debugging, native debugging, native binary, segfault, segmentation fault, core dump, stack corruption, memory corruption.
repo: rlaope/oh-my-hermes
Beliebtheit
- GitHub-Sterne
- 5.1k
- Platz im Ranking
- #15137
- Lizenz
- MIT
- Aktualisiert
- 2.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
omh-accessibility-audit
5.1kHilft deinem Agenten, einen Bildschirm oder Ablauf auf Lücken bei der Barrierefreiheit zu prüfen, etwa Tastaturbedienung, Labels für Screenreader, Kontrast und Größe der Touch-Ziele.
omh-adversarial-consensus
5.1kHilft deinem Agenten, einen technischen Vorschlag aus mehreren unabhängigen Blickwinkeln anzugreifen, bevor du dich festlegst, und fasst zusammen, was übrig bleibt.
omh-agent-debug
5.1kHilft deinem Agenten herauszufinden, warum ein anderer KI-Agent feststeckt, in Schleifen läuft oder abdriftet, und schlägt den kleinsten sicheren Weg zur Erholung vor.
omh-agent-instructions
5.1kHilft deinem Agenten, die Anweisungsdatei zu schreiben oder zu aktualisieren, etwa AGENTS.md oder CLAUDE.md, die KI-Werkzeugen sagt, wie sie in einem Projekt arbeiten.
Ähnliche Skills
diffs
394kLässt deinen Agenten einen echten, teilbaren Diff seiner Änderungen als Viewer-Link oder Bilddatei erstellen, statt einer handgeschriebenen Zusammenfassung.
coding-agent
394kHilft deinem Agenten, eine größere Programmieraufgabe als Hintergrund-Worker an Codex, Claude Code oder OpenCode zu übergeben und danach den Fortschritt zu prüfen.
gh-issues
394kHilft deinem Agenten, GitHub-Issues zu finden, die zu bearbeitenden auszuwählen und Pull Requests mit Korrekturen zu öffnen, einschließlich der Nacharbeit an Review-Kommentaren.