heterogeneous-agent

Debug and develop heterogeneous agents in the LobeHub ecosystem.

Updated Jul 5, 2026
One-click install
npx skills add https://github.com/xkl2013/lobe --skill heterogeneous-agent-xkl2013
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: heterogeneous-agent
Source: https://github.com/xkl2013/lobe/tree/main/.agents/skills/heterogeneous-agent
Command: npx skills add https://github.com/xkl2013/lobe --skill heterogeneous-agent-xkl2013

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill unit addresses the need to implement or debug heterogeneous agents within LobeHub, which are used for Claude Code/Codex adapters, external CLI agents, event mapping, IPC, persistence, tool-call chains, sessions, traces, or adapter bugs.

Core Features & Use Cases

  • Agent Implementation and Debugging: Develop and debug Claude Code/Codex adapters, external CLI agents, and other components.
  • Event Mapping and IPC: Handle event mapping and inter-process communication within the LobeHub environment.
  • Persistence and Tool-Call Chains: Manage data persistence and complex tool-call chains for robust agent operations.
  • Use Case: When you encounter a bug in a Claude Code/Codex adapter or an external CLI agent, use this Skill unit to trace the issue, identify the root cause, and resolve it.

Quick Start

Run the 'heterogeneous-agent' skill to debug a Claude Code adapter by first capturing a raw CLI trace, then comparing raw and adapted events, checking step boundaries, and finally verifying tool persistence invariants.

Frequently Asked Questions about heterogeneous-agent

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I debug a Claude Code adapter in LobeHub?

Debugging event mapping in LobeHub involves capturing a raw CLI trace, comparing raw and adapted events, checking step boundaries, and verifying tool persistence invariants to isolate adapter bugs.

How do I trace tool-call chains for external CLI agents?

Tracing tool-call chains for external CLI agents requires capturing raw CLI traces and comparing them against adapted events to verify data persistence invariants and identify execution breaks.

What is the best way to handle inter-process communication for heterogeneous agents?

Handling inter-process communication for heterogeneous agents involves mapping events between external CLI agents and the LobeHub ecosystem to maintain consistent tool-call chains and data persistence.

Why does my external CLI agent lose data persistence during tool calls?

Data persistence fails during tool calls when step boundaries are violated or event mapping is misconfigured; verify tool persistence invariants and compare raw and adapted events to resolve it.

Do I need knowledge of external CLI agents to use heterogeneous agent debugging?

Yes, debugging heterogeneous agents in LobeHub requires prerequisite knowledge of Claude Code/Codex adapters, external CLI agents, and inter-process communication to trace and resolve complex adapter bugs.

Can I debug Codex adapter bugs using event mapping?

Yes, you can debug Codex adapter bugs by capturing a raw CLI trace, comparing raw and adapted events, checking step boundaries, and verifying tool persistence invariants to resolve the issue.