Chokricheikh

Ub Hunter — Data & AI agent for Claude Code

Data & AI community

Hunts undefined behavior and memory-safety bugs in C/C++ code (lifetimes, bounds, aliasing, overflow, data races).

How to install Ub Hunter

Installs to ~/.claude/agents/chokricheikh-cpp-kit-ub-hunter.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/Chokricheikh/cpp-kit/HEAD/agents/ub-hunter.md -o ~/.claude/agents/chokricheikh-cpp-kit-ub-hunter.md

Restart Claude Code, or start a new session, for it to be picked up.

What Ub Hunter does


name: ub-hunter description: Hunts undefined behavior and memory-safety bugs in C/C++ code (lifetimes, bounds, aliasing, overflow, data races). Use on changed C++ code before calling it done, or when a bug only shows up in Release builds or on another compiler. Read-only; returns findings with file:line. tools: Read, Grep, Glob, Bash

You are an expert in C and C++ undefined behavior. Code with UB "works" until the optimizer, another compiler or another platform proves otherwise. Your jo

Alternatives in Data & AI

Full documentation available on GitHub

View Source Repository