Trellis Session Insight
mindfold-ai/Trellis
Reach into past AI conversation history through the trellis mem CLI.
Helps debug and extend LobeHub's pipeline for external Claude Code and Codex agents: drivers, adapters, event mapping, sessions, persistence and tool-call chains.
$ npx skills add lobehub/lobehub --skill heterogeneous-agent -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install lobehub/lobehub heterogeneous-agent --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/lobehub/lobehub.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/heterogeneous-agent .claude/skills/heterogeneous-agent && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "heterogeneous-agent" agent skill from https://github.com/lobehub/lobehub/tree/canary/.agents/skills/heterogeneous-agent into .claude/skills/heterogeneous-agent/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "heterogeneous-agent", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/lobehub/lobehub/tree/canary/.agents/skills/heterogeneous-agentType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add lobehub/lobehub --skill heterogeneous-agent -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install lobehub/lobehub heterogeneous-agent --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/lobehub/lobehub.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/heterogeneous-agent .agents/skills/heterogeneous-agent && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "heterogeneous-agent" agent skill from https://github.com/lobehub/lobehub/tree/canary/.agents/skills/heterogeneous-agent into .agents/skills/heterogeneous-agent/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "heterogeneous-agent", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add lobehub/lobehub --skill heterogeneous-agent -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install lobehub/lobehub heterogeneous-agent --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/lobehub/lobehub.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/heterogeneous-agent .cursor/skills/heterogeneous-agent && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "heterogeneous-agent" agent skill from https://github.com/lobehub/lobehub/tree/canary/.agents/skills/heterogeneous-agent into .cursor/skills/heterogeneous-agent/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "heterogeneous-agent", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/lobehub/lobehub.git --path .agents/skills/heterogeneous-agent--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add lobehub/lobehub --skill heterogeneous-agent -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install lobehub/lobehub heterogeneous-agent --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/lobehub/lobehub.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/heterogeneous-agent .gemini/skills/heterogeneous-agent && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "heterogeneous-agent" agent skill from https://github.com/lobehub/lobehub/tree/canary/.agents/skills/heterogeneous-agent into .gemini/skills/heterogeneous-agent/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "heterogeneous-agent", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install lobehub/lobehub heterogeneous-agentInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add lobehub/lobehub --skill heterogeneous-agent -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/lobehub/lobehub.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/heterogeneous-agent .github/skills/heterogeneous-agent && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "heterogeneous-agent" agent skill from https://github.com/lobehub/lobehub/tree/canary/.agents/skills/heterogeneous-agent into .github/skills/heterogeneous-agent/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "heterogeneous-agent", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add lobehub/lobehub --skill heterogeneous-agent -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install lobehub/lobehub heterogeneous-agent --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/lobehub/lobehub.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/heterogeneous-agent .opencode/skills/heterogeneous-agent && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "heterogeneous-agent" agent skill from https://github.com/lobehub/lobehub/tree/canary/.agents/skills/heterogeneous-agent into .opencode/skills/heterogeneous-agent/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "heterogeneous-agent", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
heterogeneous-agentHelps debug and extend LobeHub's pipeline for external Claude Code and Codex agents: drivers, adapters, event mapping, sessions, persistence and tool-call chains.
This skill applies when a bug or feature sits in the external CLI agent pipeline rather than the normal server-side agent runtime. Typical work includes adding or changing a driver in the desktop main process, editing an adapter in the heterogeneous-agents package, and fixing Claude Code stream-json problems such as duplicate partial and full chunks, broken message boundaries, missing tool results, TodoWrite state drift or subagent thread routing.
It also covers Codex JSONL bugs, including mixed multi-tool messages, broken turn boundaries and missing tool-result mapping, plus step-boundary, tool persistence, subagent thread and resume problems in both flows. A pipeline map traces the path from CLI output through the Electron main process, an adapter that maps raw provider events, the executor that persists messages and forwards stream events, and the handler that hydrates the UI.
The default debug order is to prove the raw CLI output is correct before touching UI code, using the app's recorded trace of the latest real session instead of a hand-built reproduction. Next comes a comparison of raw output with adapter output through the dev trace on window.__HETERO_AGENT_TRACE, and only then an inspection of tool persistence, step transitions and subagent routing. A debug-workflow reference and a list of files to read first come with it.
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 35d442e. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
claudeFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
External CLI Agent Adapters loads about 1.5k tokens when it runs, and up to ~4.8k if it reads all its reference files. Until then it costs about 34 tokens; SKILL.md has 689 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 689 words (~1,469 tokens).
“Use this skill when the bug or feature lives in the external CLI agent pipeline, not the normal server-side agent runtime.”
SKILL.md and 1 other file (references) in .agents/skills/heterogeneous-agent of lobehub/lobehub.
Open the folder on GitHubat commit 35d442e
External CLI Agent Adapters next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| External CLI Agent Adapters this skilllobehub/lobehub | 83k | — | ~1.5k | Automated safety check: Pass | Custom licence | |
| Trellis Session Insightmindfold-ai/Trellis | 15k | 4 repos | ~1.7k | Automated safety check: Pass | AGPL-3.0 | |
| Trellis Channelmindfold-ai/Trellis | 15k | 4 repos | ~1.2k | Automated safety check: Pass | AGPL-3.0 | |
| Vibe Coding PartnershareAI-lab/Kode-CLI | 5.2k | — | ~5.6k | Automated safety check: Pass | Apache-2.0 | |
| Leon Coding Agentleon-ai/leon | 18k | — | ~1.1k | Automated safety check: Pass | MIT | |
| Octocode Code Researchbgauryy/octocode | 949 | — | ~1.5k | Automated safety check: Pass | MIT |
mindfold-ai/Trellis
Reach into past AI conversation history through the trellis mem CLI.
mindfold-ai/Trellis
Use Trellis channel for live multi-agent collaboration, spawned workers, cross-agent review, progress inspection, forum channels, and channel log debugging.
shareAI-lab/Kode-CLI
Gives an agent a set of working rules for any development task: understand first, surface decisions, verify results, and load deeper reference files per scenario.
leon-ai/leon
Has Leon's agent investigate, change and verify code in a repository with its file, search and shell tools, staying inside the scope the owner authorized.
bgauryy/octocode
Researches code with evidence: traces callers, imports and cross-repo links, diagnoses failures and reports findings with exact file and line references and a confidence label.
Ikalus1988/MisakaNet
Search and record failure-recovery lessons from real engineering sessions; submit and verify debugging lessons across the MisakaNet network.
lobehub/lobehub
Builds single-file interactive HTML prototypes rendered with the real LobeHub UI components and written as production-style React, so they can later be split into files.
lobehub/lobehub
Verifies a delivery end to end by driving the real product on a CLI, web, desktop or iOS Simulator surface, capturing evidence and publishing a round with the lh CLI.
lobehub/lobehub
Audits stale Git worktrees and branches with a bundled script, classifies each one, and deletes only after you approve the exact candidates.
lobehub/lobehub
Maintains LobeHub's model-backed alint rule set: writing rules, removing false positives against real code, deciding warn versus error and tracking token cost.
lobehub/lobehub
Guides building LobeHub builtin agent tools, from the manifest and execution runtime to executors, chat UI renders and registry wiring.
lobehub/lobehub
Explains how LobeHub client code fetches data through services, SWR store hooks and cache keys, and when to avoid useEffect fetching or duplicated state.
Categories
Helps debug and extend LobeHub's pipeline for external Claude Code and Codex agents: drivers, adapters, event mapping, sessions, persistence and tool-call chains. This skill applies when a bug or feature sits in the external CLI agent pipeline rather than the normal server-side agent runtime. Typical work includes adding or changing a driver in the desktop main process, editing an adapter in the heterogeneous-agents package, and fixing Claude Code stream-json problems such as duplicate partial and full chunks, broken message boundaries, missing tool results, TodoWrite state drift or subagent thread routing.
External CLI Agent Adapters fits situations like: fixing duplicate or missing tool results in Claude Code or Codex sessions; adding a new driver or adapter for an external CLI agent; debugging tool messages that mix together, become orphans or never finish loading.
Run `npx skills add lobehub/lobehub --skill heterogeneous-agent -a claude-code`. Or copy the skill folder (.agents/skills/heterogeneous-agent in lobehub/lobehub) into .claude/skills/heterogeneous-agent in your project. Claude Code loads it when a task matches its description.
Run `npx skills add lobehub/lobehub --skill heterogeneous-agent -a codex`. Or copy the skill folder (.agents/skills/heterogeneous-agent in lobehub/lobehub) into .agents/skills/heterogeneous-agent in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add lobehub/lobehub --skill heterogeneous-agent -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/heterogeneous-agent, .gemini/skills/heterogeneous-agent, .github/skills/heterogeneous-agent and .opencode/skills/heterogeneous-agent in your project.
Going by SKILL.md and its folder, External CLI Agent Adapters needs the command-line tools its instructions call (claude). Our summary lists: A checkout of the LobeHub repository.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
External CLI Agent Adapters has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.
About 1.5k tokens (SKILL.md is roughly 5.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.4k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with External CLI Agent Adapters: Trellis Session Insight (mindfold-ai/Trellis, 15k stars), Trellis Channel (mindfold-ai/Trellis, 15k stars), Vibe Coding Partner (shareAI-lab/Kode-CLI, 5.2k stars) and Leon Coding Agent (leon-ai/leon, 18k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
lobehub (a GitHub organization) maintains it in lobehub/lobehub, which has 83,074 GitHub stars. The repository holds 50 skills in this directory. The repository was last updated on October 9, 2026.
Source: lobehub/lobehub on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.