In short.
The CLI-Anything LLDB skill is an instruction resource for AI assistants and developers debugging native programs, but it depends on a separately installed LLDB-based tool. It describes command-line automation, persistent sessions and a stdio Debug Adapter Protocol server, including handling for long-running GUI programs and application-specific debugger stops. The supplied material contains the skill document and repository license; implementation correctness, installation success, compatibility and performance are unverified because nothing was executed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage comprises lldb/agent-harness/cli_anything/lldb/skills/SKILL.md, the sole captured file in the selected skill folder, and the related repository-root LICENSE at commit 34f519533bc175d2fe287ab8316b0dd99bb9cc43. It excludes the CLI implementation, other repository resources, dependency sources and package-release records. Nothing was executed; installation, debugging behavior, session cleanup, DAP interoperability and performance remain unverified.
The overview
Identity
This resource is the cli-anything-lldb skill in HKUDS/CLI-Anything, located at lldb/agent-harness/cli_anything/lldb/skills/SKILL.md. Its metadata declares version 1.0.0 and describes stateful debugging through the LLDB Python API. That metadata does not establish the version of an installed CLI package.
The original folder is [https://github.com/HKUDS/CLI-Anything/tree/main/lldb/agent-harness/cli_anything/lldb/skills]. The skill supplies instructions for controlling the debugger tool; the captured folder does not contain that tool's implementation.
Assessment
The documented design is useful when an assistant needs structured debugger output and continuity across separate commands. Its strongest details concern session management, unresolved breakpoints, asynchronous DAP execution and rules for handling unwanted debugger stops.
Adoption depends on getting the external CLI and LLDB bindings working together. The document supports assessing the intended interface, but supplies no implementation evidence or execution results establishing reliability.
Users
The skill is aimed at developers and AI assistants inspecting native executables, running processes or core dumps. Editor and AI-client developers may also find its DAP interface relevant when integrating a debugger into a larger application.
Beginners receive concrete command examples, but still need to understand executables, breakpoints, stopped processes, stack frames and memory addresses. This is a command reference rather than a complete introduction to debugging.
Capabilities
The documented CLI can create targets, launch programs, attach by process ID or name, manage breakpoints, select threads and frames, inspect backtraces and local variables, evaluate expressions, read or search memory, and load core dumps. An interactive REPL provides a persistent command shell.
The DAP server documents launch and attach lifecycles, stepping, source and module inspection, expandable variable trees, variable updates, memory reads, exception information and disassembly. DAP is the protocol that lets an editor or other client exchange structured debugging requests and events with an adapter.
For GUI applications, the adapter documents non-blocking continuation, asynchronous pause and configurable stop rules. Rules can match a stop reason, module, function or regular expression, then stop or continue automatically.
Using it
Requirements
The declared dependencies are LLDB Python bindings, click version 8.0 or later, and prompt-toolkit version 3.0 or later. The skill names cli-anything-lldb as the command and gives pip install cli-anything-lldb as its installation command.
Supported operating systems, Python versions, LLDB versions and dependency compatibility are not specified. Launching requires an executable, attaching requires a process identifier or name, and core analysis requires a core file. Platform-specific debugger permissions and LLDB installation steps are not explained.
DAP use additionally requires a client that can communicate through stdio using Content-Length framing. Compatibility with particular editors or AI clients is unknown.
Mechanism
The skill describes a command interface backed by the LLDB Python API. Automated callers can request JSON output. Separate non-REPL invocations are documented as sharing a persistent session daemon by default, so debugging state can survive between commands.
A session can be selected explicitly with --session-file PATH or CLI_ANYTHING_LLDB_SESSION_FILE. The document says session close detaches attached processes and cleans up launched debuggees; it does not show the implementation of that cleanup.
The DAP entry point maintains a protocol lifecycle. During continuation, it responds and emits a continued event before waiting for LLDB on a background thread. Breakpoint changes during execution first interrupt the program and wait for it to stop. Stopped events distinguish manual pauses, matched internal traps and ordinary program stops through cliAnythingStop.origin metadata.
Setup
The documented installation command is pip install cli-anything-lldb. Working LLDB Python bindings are a separate prerequisite; the supplied file does not explain how to install or configure them for a particular platform. Installation has not been executed.
For CLI work, create a target before process or core commands, use --json for structured output, and select an explicit session file when a task needs its own session. Close the session when finished.
For DAP, the documented entry points are cli-anything-lldb-dap and cli-anything-lldb dap. An optional --profile argument supplies stop rules. The adapter needs exclusive stdout for protocol messages. Code or profile changes require restarting the adapter and attaching or launching again.
Example
An illustrative workflow for an executable with a resolvable main symbol starts with cli-anything-lldb --json target create --exe /path/to/exe. Set the breakpoint with cli-anything-lldb --json breakpoint set --function main, then launch with cli-anything-lldb --json process launch. The executable path is a placeholder.
Once the process is confirmed stopped, cli-anything-lldb --json thread backtrace --limit 20 requests the call stack, and cli-anything-lldb --json frame locals requests local variables. Finish with cli-anything-lldb --json session close. This sequence illustrates the documented interface; it was not run and supplies no expected output or success guarantee.
Assessment & evidence
Limitations
CLI breakpoints with unresolved locations fail by default; --allow-pending is documented for symbols expected to appear later. DAP instead reports unresolved breakpoints as verified: false until they resolve. Memory searches use chunked scanning and are capped at 1 MiB per call.
DAP variable updates require a stopped process, and LLDB may reject writes to optimized-out or read-only values. If an interruption does not stop the target in time for a breakpoint change, the document calls for an explicit pause and stopped cycle before retrying.
Automatic continuation can suppress debugger stops, so the document limits its use to internal stops considered irrelevant to the task and recommends application-specific profiles. Profile changes do not take effect in an already running adapter.
No runtime testing, performance measurements or compatibility results are supplied. Debugging reliability, resource consumption and behavior on particular applications remain unverified.
Fit rationale
The practical fit comes from combining machine-readable commands with persistent debugger state. An assistant can refer to the same target, process and selected frame across separate invocations, provided its session is managed correctly.
DAP adds explicit events and asynchronous control that may help clients manage long-running GUI programs. Stop-origin metadata and configurable rules provide useful distinctions between manual pauses, internal traps and program stops. These are benefits inferred from the documented design, not measured improvements in debugging speed or success.
Alternatives
Within the documented tool, JSON CLI commands suit shell automation, the REPL suits interactive exploration, and DAP suits clients that need a debugger protocol lifecycle. Session persistence does not require using the REPL.
The supplied material does not compare other debugger skills, adapters or direct LLDB use. Relative reliability, setup effort and compatibility with competing approaches are unknown.
Evidence
The source snapshot contains the complete selected skill folder as one SKILL.md file, plus the repository-root LICENSE. Both are tied to commit 34f519533bc175d2fe287ab8316b0dd99bb9cc43.
The skill source is [https://raw.githubusercontent.com/HKUDS/CLI-Anything/34f519533bc175d2fe287ab8316b0dd99bb9cc43/lldb/agent-harness/cli_anything/lldb/skills/SKILL.md]. The license source is [https://raw.githubusercontent.com/HKUDS/CLI-Anything/34f519533bc175d2fe287ab8316b0dd99bb9cc43/LICENSE].
These files establish documented commands, requirements and license terms. They do not include the CLI implementation, package release metadata, test results or a demonstrated debugging session.
Access & freshness
Costs
The supplied material states no package price, subscription, usage charge or operating-cost estimate. Total adoption and operating cost are unknown.
The Apache 2.0 license grants copyright permissions without license royalties, but that does not establish zero cost for the complete debugging environment. Any editor, AI-client or model-provider charges are outside the supplied material.
Rights
The captured repository-level LICENSE supplies Apache License 2.0 terms. These permit use, modification and redistribution subject to conditions, including supplying the license, retaining applicable notices, marking modified files and preserving relevant NOTICE attributions if a NOTICE file accompanies the work.
The license includes a contributor patent grant with stated limits, does not grant general trademark rights and provides the work without warranties. No separate license appears in the captured skill file. These notices do not establish the terms of separately obtained debugger dependencies or clients.
Freshness
The supplied snapshot was captured on 2026-11-16 at 12:41:45.772 UTC from commit 34f519533bc175d2fe287ab8316b0dd99bb9cc43. Its capture time is not a publication or release date.
The skill declares version 1.0.0, but the captured files supply no changelog or release history. Whether the current main branch or installable package differs from this snapshot is unknown.
Next steps
Before adopting the skill, confirm that the CLI package and LLDB Python bindings work together on the intended machine. Use a small program you control to establish target creation, breakpoint resolution, stopping, inspection and session cleanup before relying on it for a larger application.
For an editor or AI integration, assess the specific DAP client and required requests. Keep stdout dedicated to the protocol, use explicit sessions for separate CLI tasks, and configure stop rules only for understood application-specific stops. These are prospective steps; no results are established here.
