通过实际操作产品验证交付内容,记录用户可查看的证据,并发布验收报告。可检查已有验证计划或创建检查项,选择合适的操作界面,并使用 `lh` CLI 发布结果。
- 实际检查更改后的产品行为
- 收集截图或其他验证证据
- 编写验证计划和报告
追踪应用启动 Claude Code、Codex 等外部 CLI 智能体后的处理流程,检查事件转换、工具结果保存和界面显示,帮助定位会话边界、执行身份及子智能体路由问题。
Use for external-agent launchers and execution identity, Claude Code/Codex adapters, IPC, event mapping, sessions, persistence and tool-call chains.
实测评分 未实测
查看安装方法此技能用于调查和修改应用启动 Claude Code、Codex 等外部 CLI 智能体的处理流程。它会沿着流程检查 CLI 原始输出、适配器转换的事件、保存的助手与工具消息,以及最终的界面显示。内容也包括轮次边界、工具结果与调用的对应关系、子智能体线程隔离、恢复会话时的状态,以及传给启动进程的执行身份信息。指南建议查看实际追踪记录,并将缩小范围后的复现整理成针对性测试。
当外部智能体的回复重复出现、工具执行结果没有显示,或多个工具调用被合并时,可以用它定位问题。评论作者记录错误,或子智能体内容混入主对话时,也可沿启动到保存的路径逐步排查。
此技能针对外部 CLI 智能体处理流程,不适用于常规的服务器端智能体运行环境。只有用户明确调用指定技能时,才会检查与实际模型的兼容性。
本介绍由 AI(OpenAI Codex)根据公开的 SKILL.md 撰写。准确的规格请查看下方原文。
AI 根据 SKILL.md 的内容检查了需要注意的操作和使用前提。评分只依据实际运行的结果(实测对比)。
不计入评分。 由 AI(OpenAI Codex)于 2026年10月26日 评估。仅供参考,安装前请同时查看原文。
安装前可以查看交给 AI 代理的指令内容。
Use this skill when the bug or feature lives in the external CLI agent pipeline, not the normal server-side agent runtime.
apps/desktop/src/main/modules/heterogeneousAgent/drivers/packages/heterogeneous-agents/src/adapters/heteroAgentRawLine transport, window.__HETERO_AGENT_TRACE, or executeHeterogeneousAgentmessage.id boundaries, missing tool_result, TodoWrite state drift, or subagent thread routingheteroAgentRawLineHeterogeneousAgentEventexecuteHeterogeneousAgent persists assistant/tool messages and forwards stream eventscreateGatewayEventHandler hydrates the UIagent-tracing or context-engine debuggingapps/desktop/src/main/controllers/HeterogeneousAgentCtr.tsapps/desktop/src/main/modules/heterogeneousAgent/drivers/claudeCode.tsapps/desktop/src/main/modules/heterogeneousAgent/drivers/codex.tspackages/heterogeneous-agents/src/adapters/claudeCode.tspackages/heterogeneous-agents/src/adapters/codex.tssrc/store/chat/slices/agentRun/actions/transports/hetero/heterogeneousAgentExecutor.tssrc/store/chat/slices/agentRun/actions/__tests__/heterogeneousAgentExecutor.test.tscat .heerogeneous-tracing/.last-live-trace rather than hand-rolling a claude -p repro (see references/debug-workflow.md §2).executeHeterogeneousAgent exposes window.__HETERO_AGENT_TRACE.persistToolBatch, persistToolResult, step transitions, and subagent routing.ToolCallPayload.id.message.id are one turn, not multiple turns.tool_result lives in type: 'user' events, not assistant events.message_delta.usage is authoritative; do not trust echoed usage on every assistant block.persistToolBatch must pre-register assistant tools[] before creating tool messages.parentId equal to the owning assistant and tool_call_id equal to the tool id.tool_result must resolve an existing toolMsgIdByCallId.toolMsgIdByCallId map at main step boundaries.A connector or desktop process can itself run inside another Agent's conversation. Its inherited environment identifies the launcher, not the dispatched Agent.
LOBEHUB_AGENT_ID, LOBEHUB_ASSISTANT_MESSAGE_ID, LOBEHUB_TASK_ID, and LOBEHUB_WORKSPACE_ID; replace LOBEHUB_TOPIC_ID and LOBEHUB_OPERATION_ID with the dispatched values. Inject optional context only when supplied by the current dispatch; absent values must not retain ancestor identity.LOBEHUB_JWT or falling back to user credentials must not change the executing Agent. Never infer the author from the topic owner or task assignee.apps/cli/src/commands/task/lifecycle.ts, lh task comment must refuse to post when topic or operation context exists but the Agent ID is missing or blank. Ordinary terminal comments without execution identity remain user-authored. Misattributed Agent progress can otherwise become human <user_feedback> in later task runs.Check all four launch surfaces when changing this contract or adding a launcher:
| Surface | Entry point |
|---|---|
| CLI Agent dispatch | apps/cli/src/device/agentRun.ts — spawnHeteroAgentRun (Agent ID forwarded by apps/cli/src/commands/connect.ts) |
| CLI OpenClaw/Hermes | apps/cli/src/tools/heteroTask.ts — runHeteroTask |
| Desktop Agent dispatch | apps/desktop/src/main/controllers/HeterogeneousAgentImpl.ts — spawnLhHeteroExec |
| Desktop OpenClaw/Hermes | apps/desktop/src/main/controllers/GatewayConnectionCtr.ts — runHeteroTask |
Regression coverage must include a clean environment, conflicting ancestor identity, and missing current Agent/optional context. Check both OpenClaw and Hermes on CLI and Desktop, plus task comments after JWT fallback. Mocked spawn assertions verify environment construction, not end-to-end propagation through an external runtime.
message.id changes.type: 'user' tool_result blocks are being ignored because the code only inspects assistant events.pluginState.todos is being attached at tool-result time.parent_tool_use_id handling and whether subagent chunks are being forwarded to the main gateway handler.newStep or an equivalent turn-change signal.persistToolBatch Phase 1 ran before tool message creation.tool_result for unknown toolCallId and missing result_msg_id backfill.rate_limit_info rides on status: "allowed" too)./testing-heterogeneous-agents in Claude Code or
$testing-heterogeneous-agents in Codex. Do not automatically load or run that
skill during diagnosis. Its failed-cell evidence can be used here for diagnosis
or a code fix.还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
通过实际操作产品验证交付内容,记录用户可查看的证据,并发布验收报告。可检查已有验证计划或创建检查项,选择合适的操作界面,并使用 `lh` CLI 发布结果。
本技能指导在 LobeHub 中接入 AI 模型提供商,涵盖运行时、模型信息、设置、品牌展示、文档和验收,并帮助判断新增模型是否需要新的提供商集成。
本技能指导如何用服务器端环境变量设置用户偏好默认值,涵盖变量校验、服务器配置、写入用户状态,以及更新 `.env.example` 和自托管文档。
说明如何在智能体执行步骤、工具调用、人工审批、上下文压缩和子智能体调用时注册钩子。钩子可观察事件、模拟本地工具结果,也可通过 Webhook 按配置策略允许或拒绝工具调用。
此技能用于为智能体设计事件驱动的后台工作流,划分来源、信号、动作和策略的职责,并处理异步交接、去重、执行范围、完成记录与运行观测。
本技能在 macOS 桌面聊天应用中测试机器人频道:打开应用、进入频道或联系人、发送消息、等待回复并截图。支持 Discord、Slack、Telegram、微信、飞书和 QQ;iMessage 使用 BlueBubbles 桥接。