china-qijizhifeng/agentic-harness-engineering/agent-debugger-cli
Claude Code and agent skill by china-qijizhifeng/agentic-harness-engineering
- community
Checking that the SKILL.md file is still in the repository.
Install and use the bundled agent debugger CLI source to configure adb LLM settings, download Langfuse traces, ask QA questions about traces, and run adb check quality analysis. Use when the task is about agent-debugger CLI workflows, trace debugging, or explaining how adb is configured.
Install
npx vskill@latest install china-qijizhifeng/agentic-harness-engineering/agent-debugger-cliSKILL.md
Agent Debugger CLI
Use this skill when you need the standalone adb CLI that ships inside the bundled _source/ package in this directory.
Files in this skill
_source/: bundled open-source package that exposes theadbcommand.
Install
The package is declared as a path source in the project root pyproject.toml, so a top-level uv sync already installs it. To install standalone from this skill directory:
If you are upgrading an existing install, use:
LLM configuration
Configure the LLM once with adb config:
If you need reasoning-capable OpenAI responses models such as gpt-5.4 or codex, keep the reasoning hint nested under llm.reasoning.effort:
This writes local config to ~/.adb/adb_cli_config.json.
Resolution order for LLM settings is:
adb configsaved values inconfig.llmQA_MODEL_NAME/QA_BASE_URL/QA_API_KEYLLM_MODEL/LLM_BASE_URL/LLM_API_KEY
If llm.model or llm.base_url is missing after resolution, adb ask/check will fail fast.
ADB also supports local-runner config:
Or override at runtime:
adb config '{"adb":{"runner":"api"}}' exists, but current ask/check support is implemented for local runner.
You can also persist QA agent overrides in config.qa. Reserved keys are:
agent_configmulti_trace_agent_configartifact_rootagent_overridemulti_trace_agent_override
Example:
Model routing notes for local adb ask:
- models containing
claudeare routed toanthropic_chat_completion gpt-5.4is routed toopenai_responses- models containing
codexare routed toopenai_responses codexdefaults toreasoning.effort=mediumunless you override it
Trace workflow
adb ask and adb check accept standard cleaned traces, and they also accept local JSON files that only contain an OpenAI-style messages field, for example:
messages must be a non-empty array.
When the input is not already a cleaned/messages-style trace, pass --trace-type explicitly on adb ask or adb check.
- Default:
--trace-type openai_messages - Use
--trace-type langfusefor raw Langfuse trace JSON - Use
--trace-type in_memory_tracerfor NexAUInMemoryTracerdumps
Examples:
If the file is already a cleaned trace or a JSON object with a usable messages field, keep the default openai_messages. --trace-type is only for --trace-path; adb ask --records-file does not support it, so records should already contain normalized messages traces.
1. Download a Langfuse trace
The command writes cleaned traces under ~/.adb/traces/<projectId>/ and prints the cleaned trace path by default.
2. Ask a question about a trace
One trace can also take multiple questions in one call:
Multiple trace files can be passed after -t to run multi-trace QA:
For batch execution, use a JSONL records file where each line contains {queries, traces}:
Example record:
If -q/--question is omitted, the current built-in default question text is Why is this trace so slow?.
Constraints:
- multiple queries plus multiple traces are not supported in a single
adb ask -t ... -q ...call; useadb ask -f /abs/path/to/records.jsonl adb ask --records-filedoes not support--trace-type; records should already contain normalizedmessagestraces
Default stdout is only the answer text. Use --format json when you need stable fields:
3. Run quality check
This runs the QC pipeline and returns issue summaries. Use --format json when you want machine-readable output:
Default stdout is a Markdown report that includes trace metadata, issues_count, and one section per issue with fields such as issue_type, summary, evidence, and message_index. A typical text output looks like:
JSON mode includes the full issue list:
The stable wrapper fields are status/command/trace_path/trace_id/request_id/issues_count/issues/response. Each item in issues is a QC pipeline issue object. The stable core fields are issue_type, summary, evidence, and message_index; extra fields such as issue_category, issue_name, start_idx, end_idx, or chunk_summary may also appear.
If a command fails and --format json is set, stdout is:
Runtime notes
adb ask/checkdefault to local runner mode.- The local runner auto-creates a dedicated venv under
~/.adb/venvs/adb_local_venv. - Downloaded traces are stored under
~/.adb/traces/. - Local runner temp files are stored under
~/.adb/runtime/. adb config '{"adb":{"runner":"api"}}'exists, but currentask/checksupport is implemented forlocalrunner.
Minimal end-to-end example
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingagents/evolve_agent/skills/agent-debugger-cli/SKILL.md
Popularity
- Repository stars
- 210
- Repository forks
- 23
- 7-day trend score
- 27
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 17 May 2026, 5 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/china-qijizhifeng/agentic-harness-engineering/agent-debugger-cli)