integrate-harness
Use when adding a new agent harness (CLI-based coding agent) adapter to adapters. Covers capability audit, adapter scaffold, session parsing, auth detection, hooks/plugins wiring, tests, and docs.
Install / Use
npx skills add a5c-ai/babysitter --skill integrate-harnessInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Content & MediaSupported Platforms
Our assessment of integrate-harness
integrate-harness scores 81/100 on our quality scale, 998th of 1,155 Content & Media skills we index.
Its SKILL.md is 3.3 KB long, split into 4 sections with 1 code example: a solid amount of guidance for an agent.
With 1,809 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated about 2 months ago, so integrate-harness is actively maintained.
- Our last check on 2026-11-08 found the source still online.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-09-30. Automated pattern scan on 2026-09-30. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
integrate-harness compared with similar skills
All 4 of these similar skills score higher than integrate-harness; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| integrate-harness (this skill)by a5c-ai | 81 | 1.8k | 2mo ago | SKILL.md |
| siyuanby siyuan-note | 100 | 47.3k | today | MCP Server |
| x402by browser-use | 100 | 121.0k | 3d ago | SKILL.md |
| algorithmic-artby anthropics | 100 | 177.9k | 55d ago | SKILL.md |
| pptxby anthropics | 100 | 177.9k | 55d ago | SKILL.md |
Frequently asked questions
- How do I install integrate-harness?
- Run
npx skills add a5c-ai/babysitter --skill integrate-harness. The install tabs above show the steps for each supported agent. - Which AI agents does integrate-harness work with?
- It is written for Claude Code, Gemini CLI, Cursor, GitHub Copilot and OpenAI Codex, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is integrate-harness safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is integrate-harness still maintained?
- The repository was last updated about 2 months ago, so integrate-harness is actively maintained.
Skill content
View source on GitHubname: integrate-harness description: Use when adding a new agent harness (CLI-based coding agent) adapter to adapters. Covers capability audit, adapter scaffold, session parsing, auth detection, hooks/plugins wiring, tests, and docs.
integrate-harness
Goal: produce a production-quality XAdapter extends BaseAgentAdapter with full test coverage and documentation, matching the level of the existing 11 adapters (claude, codex, cursor, gemini, opencode, openclaw, copilot, hermes, pi, omp, adapters-remote).
Checklist
- Capability audit — read the harness's CLI docs. Fill in every
AgentCapabilitiesfield. Unknown? Set conservatively (false) and note in PR. - Create
packages/adapters/src/<name>-adapter.tsextendingBaseAgentAdapter. Required:agent,displayName,cliCommand,minVersion,hostEnvSignals,capabilities,models[],defaultModelId,configSchema,buildSpawnArgs,parseEvent,detectAuth,getAuthGuidance,sessionDir,parseSessionFile,listSessionFiles,readConfig,writeConfig. - Session parsing — if the harness stores JSONL sessions, delegate to
parseJsonlSessionFile; otherwise write a custom parser and unit-test each event shape. - Hooks — if the harness supports native hooks, override
writeNativeHookand mirror intoHookConfigManager. If not, rely on the base class's virtual hooks. - Plugins — if it supports MCP servers under
mcpServersin its config JSON, flipsupportsPlugins: true, addpluginFormats: ['mcp-server'], and delegate tomcp-plugins.ts(see cursor/gemini/opencode/openclaw for the pattern). - Register — add to
packages/adapters/src/index.tsexports and to the default registry inpackages/core/src/client.ts(if applicable). - Tests — in
packages/adapters/tests/<name>-adapter.test.ts:- capability shape
buildSpawnArgsfor a few representativeRunOptionsparseEventfor each JSONL type the harness emitsdetectAuthfor authenticated + unauthenticated states- session file parsing from a real fixture (redacted)
- If plugins: add the adapter to
mcp-plugins-parity.test.ts.
- CLI audit test — ensure
packages/cli/tests/commands-audit.test.tspasses (it exercises every adapter via the built CLI). - File-size limit — each source file must stay under 400 effective lines (
local/max-file-lines). Split helpers into sibling modules if you're close. - Docs — add a row to the README capabilities matrix and a paragraph in
docs/02-agents/<name>.md. - Changeset —
npm run changeset, pickminor(new adapter), summarize.
Verification
npm run typecheck
npm run lint
npm test
npx vitest run packages/adapters/tests/<name>-adapter.test.ts
All existing tests must continue to pass — no regressions in commands-audit.
Common pitfalls
- Forgetting to add the adapter to the default registry →
commands-audit.test.tswon't exercise it. - JSONL parsers that assume a single event per line — some harnesses emit arrays.
- Auth detection that reads env vars synchronously at construction time instead of
detectAuth()— breaks testability. buildSpawnArgsreturning the string"undefined"for missing options — always gate withif (options.X != null).- Hook writers that overwrite rather than merge — use
appendJsonHookorappendYamlHook.
Related Skills
siyuan
47.3kAn open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
x402
121.0kSet up Browser Use Cloud payments with x402 — pay per request from a crypto wallet (USDC on Base mainnet), no signup or API key.
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
pptx
177.9kUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an em…
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
