Agent skill

Integrate Harness

by a5c-ai in a5c-ai/babysitter

A skill your agent uses when adding a new agent harness (CLI-based coding agent) adapter to adapters.

MITAuto-check passedAgent Workflows

Install Integrate Harness

skills CLI
$ npx skills add a5c-ai/babysitter --skill integrate-harness -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install a5c-ai/babysitter integrate-harness --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/a5c-ai/babysitter.git skills-src && mkdir -p .claude/skills && cp -r skills-src/packages/adapters/skills/integrate-harness .claude/skills/integrate-harness && rm -rf skills-src

Use ~/.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/

Facts

Skill name
integrate-harness
GitHub stars
1.8k
Token cost
~846 tokens
SKILL.md length
348 words
Files
1
Skills in repo
14
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when adding a new agent harness (CLI-based coding agent) adapter to adapters.

  • Works in 11 steps: Capability audit — read the harness's… → Create packages/adapters/src/-adapter.ts… → Session parsing — if the harness stores… → …
  • Adding a new agent harness (CLI-based coding agent) adapter to adapters
  • SKILL.md covers Checklist, Verification and Common pitfalls
  • Calls npm and npx

What it does

Integrate Harness is an agent skill from a5c-ai/babysitter. 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.

Its SKILL.md is about 850 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows. It works with Model Context Protocol. The repository describes itself as: Babysitter enforces obedience on agentic workforces and enables them to manage extremely complex tasks and workflows through deterministic, hallucination-free self-orchestration. The licence is MIT.

When your agent uses it

  • Adding a new agent harness (CLI-based coding agent) adapter to adapters

Example prompts

  • “/integrate-harness”

Requirements

  • Node.js

Workflow steps

11 steps, taken from the first numbered list in SKILL.md.

  1. Capability audit — read the harness's CLI docs. Fill in every AgentCapabilities field. Unknown? Set conservatively (false) and note in PR.
  2. Create packages/adapters/src/-adapter.ts extending BaseAgentAdapter. Required: agent, displayName, cliCommand, minVersion, hostEnvSignals…
  3. Session parsing — if the harness stores JSONL sessions, delegate to parseJsonlSessionFile; otherwise write a custom parser and unit-test…
  4. Hooks — if the harness supports native hooks, override writeNativeHook and mirror into HookConfigManager. If not, rely on the base class's…
  5. Plugins — if it supports MCP servers under mcpServers in its config JSON, flip supportsPlugins: true, add pluginFormats: ['mcp-server']…
  6. Register — add to packages/adapters/src/index.ts exports and to the default registry in packages/core/src/client.ts (if applicable).
  7. Tests — in packages/adapters/tests/-adapter.test.ts
  8. CLI audit test — ensure packages/cli/tests/commands-audit.test.ts passes (it exercises every adapter via the built CLI).
  9. File-size limit — each source file must stay under 400 effective lines (local/max-file-lines). Split helpers into sibling modules if…
  10. Docs — add a row to the README capabilities matrix and a paragraph in docs/02-agents/.md.
  11. Changeset — npm run changeset, pick minor (new adapter), summarize.

What it can do on your machine

Read from SKILL.md and the folder at commit feb68ab. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Shell commands in SKILL.md call:

    • npm
    • npx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npm and npx, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Integrate Harness loads about 846 tokens when it runs. Until then it costs about 54 tokens; SKILL.md has 348 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~54
When it runs · the whole SKILL.md, loaded when a task matches
~846

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from a5c-ai/babysitter at commit feb68ab, republished under its MIT licence (© a5c-ai). 348 words, ~846 tokens.

Download SKILL.mdSave it as .claude/skills/integrate-harness/SKILL.md (or your agent's skills folder).
name
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

  1. Capability audit — read the harness's CLI docs. Fill in every AgentCapabilities field. Unknown? Set conservatively (false) and note in PR.
  2. Create packages/adapters/src/<name>-adapter.ts extending BaseAgentAdapter. Required: agent, displayName, cliCommand, minVersion, hostEnvSignals, capabilities, models[], defaultModelId, configSchema, buildSpawnArgs, parseEvent, detectAuth, getAuthGuidance, sessionDir, parseSessionFile, listSessionFiles, readConfig, writeConfig.
  3. Session parsing — if the harness stores JSONL sessions, delegate to parseJsonlSessionFile; otherwise write a custom parser and unit-test each event shape.
  4. Hooks — if the harness supports native hooks, override writeNativeHook and mirror into HookConfigManager. If not, rely on the base class's virtual hooks.
  5. Plugins — if it supports MCP servers under mcpServers in its config JSON, flip supportsPlugins: true, add pluginFormats: ['mcp-server'], and delegate to mcp-plugins.ts (see cursor/gemini/opencode/openclaw for the pattern).
  6. Register — add to packages/adapters/src/index.ts exports and to the default registry in packages/core/src/client.ts (if applicable).
  7. Tests — in packages/adapters/tests/<name>-adapter.test.ts:
    • capability shape
    • buildSpawnArgs for a few representative RunOptions
    • parseEvent for each JSONL type the harness emits
    • detectAuth for authenticated + unauthenticated states
    • session file parsing from a real fixture (redacted)
    • If plugins: add the adapter to mcp-plugins-parity.test.ts.
  8. CLI audit test — ensure packages/cli/tests/commands-audit.test.ts passes (it exercises every adapter via the built CLI).
  9. 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.
  10. Docs — add a row to the README capabilities matrix and a paragraph in docs/02-agents/<name>.md.
  11. Changeset — npm run changeset, pick minor (new adapter), summarize.

Verification

bash
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.ts won'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.
  • buildSpawnArgs returning the string "undefined" for missing options — always gate with if (options.X != null).
  • Hook writers that overwrite rather than merge — use appendJsonHook or appendYamlHook.

© a5c-ai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in packages/adapters/skills/integrate-harness of a5c-ai/babysitter.

Open the folder on GitHubat commit feb68ab

Compare with similar skills

Integrate Harness 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.

Integrate Harness compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Integrate Harness this skilla5c-ai/babysitter1.8k—~846Automated safety check: PassMIT
MCP Server Builderanthropics/skills180k63 repos~2.3kAutomated safety check: PassApache-2.0
MCP Server BuildershareAI-lab/learn-claude-code78k5 repos~1.2kAutomated safety check: PassMIT
MCP Integration for Pluginsanthropics/claude-plugins-official38k11 repos~3.1kAutomated safety check: PassApache-2.0
MemPalace Memory SearchMemPalace/mempalace59k—~1.4kAutomated safety check: PassMIT
Crush Configurationcharmbracelet/crush29k—~3.7kAutomated safety check: PassCustom licence

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 63 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • MCP Server Builder

    shareAI-lab/learn-claude-code

    Walks through building MCP servers in Python or TypeScript that expose tools, resources and prompts to Claude, with templates, registration and testing.

    78k GitHub starsUsed in 5 repos~1.2k tokens
    Agent WorkflowsAuto-check passed
  • MCP Integration for Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to bundle Model Context Protocol servers in a Claude Code plugin, covering config files, stdio, SSE, HTTP and WebSocket server types, and authentication.

    38k GitHub starsUsed in 11 repos~3.1k tokens
    Agent WorkflowsAuto-check passed
  • MemPalace Memory Search

    MemPalace/mempalace

    Mines project files and conversation exports into a local, searchable memory palace and recalls past work by semantic search through the mempalace CLI.

    59k GitHub stars~1.4k tokensUpdated 2 days ago
    Agent WorkflowsAuto-check passed
  • Crush Configuration

    charmbracelet/crush

    Explains how to configure the Crush coding agent with crushrc or crush.json, covering providers, models, LSPs, MCP servers, hooks, permissions and config precedence.

    29k GitHub stars~3.7k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Context Mode Output Sandbox

    mksglu/context-mode

    Routes large command, file, API and browser output through context-mode tools so only the needed result enters the agent's context, instead of dumping it via Bash.

    26k GitHub stars~4.1k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed

More from a5c-ai/babysitter

All 14 skills in this repo
  • Creates and edits AWS architecture diagrams as DrawIO XML, converting a text description or an image and reading existing files back into shapes.

    1.8k GitHub stars~4.2k tokensUpdated 23 days ago
    Auto-check passed
  • Creates DrawIO XML diagrams of Google Cloud architectures from text or images, and analyzes existing .drawio files to list their GCP components.

    1.8k GitHub stars~3.7k tokensUpdated 23 days ago
    Auto-check passed
  • Orchestrate via @babysitter. Use this skill when asked to babysit a run, orchestrate a process or whenever it is called explicitly. (babysit, babysitter…

    1.8k GitHub starsUsed in 1 repo~514 tokens
    Auto-check passed
  • Babysitter Process Runner

    a5c-ai/babysitter

    Execute via @babysitter. Use this skill when asked to babysit a task, do anything that is structured process-driven (even a loop) or whenever it is called…

    1.8k GitHub starsUsed in 1 repo~726 tokens
    Auto-check: notes
  • This skill should be used when the user asks to "find skills in the wild", "assimilate popular workflows", "discover SKILL.md files in repos", "research external skills", "find workflow patterns"…

    1.8k GitHub stars~8.5k tokensUpdated 23 days ago
    Auto-check passed
  • Babysit Babysitter Issues

    a5c-ai/babysitter

    This skill should be used when the user asks to "babysit issues", "work on assigned issues", "check a5c-agent issues", "process babysitter issues", or wants to find and work on open GitHub issues…

    1.8k GitHub stars~590 tokensUpdated 23 days ago
    Auto-check passed

Categories

Questions about Integrate Harness

What does Integrate Harness do?

A skill your agent uses when adding a new agent harness (CLI-based coding agent) adapter to adapters. Integrate Harness is an agent skill from a5c-ai/babysitter. Use when adding a new agent harness (CLI-based coding agent) adapter to adapters.

When should I use Integrate Harness?

Integrate Harness fits situations like: adding a new agent harness (CLI-based coding agent) adapter to adapters.

How do I install Integrate Harness in Claude Code?

Run `npx skills add a5c-ai/babysitter --skill integrate-harness -a claude-code`. Or copy the skill folder (packages/adapters/skills/integrate-harness in a5c-ai/babysitter) into .claude/skills/integrate-harness in your project. Claude Code loads it when a task matches its description.

How do I install Integrate Harness in Codex?

Run `npx skills add a5c-ai/babysitter --skill integrate-harness -a codex`. Or copy the skill folder (packages/adapters/skills/integrate-harness in a5c-ai/babysitter) into .agents/skills/integrate-harness in your project. Codex loads it when a task matches its description.

Can I use Integrate Harness in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add a5c-ai/babysitter --skill integrate-harness -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/integrate-harness, .gemini/skills/integrate-harness, .github/skills/integrate-harness and .opencode/skills/integrate-harness in your project.

What does Integrate Harness need to run?

Going by SKILL.md and its folder, Integrate Harness needs the command-line tools its instructions call (npm and npx). Our summary lists: Node.js.

Does Integrate Harness access the network?

SKILL.md contains no URLs. Its commands use npm and npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Integrate Harness safe to install?

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.

What licence does Integrate Harness use?

Integrate Harness is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Integrate Harness use?

About 846 tokens (SKILL.md is roughly 3.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Integrate Harness?

Skills that share tags, products or a category with Integrate Harness: MCP Server Builder (anthropics/skills, 180k stars), MCP Server Builder (shareAI-lab/learn-claude-code, 78k stars), MCP Integration for Plugins (anthropics/claude-plugins-official, 38k stars) and MemPalace Memory Search (MemPalace/mempalace, 59k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Integrate Harness?

a5c-ai (a GitHub organization) maintains it in a5c-ai/babysitter, which has 1,839 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on September 16, 2026.

Source: a5c-ai/babysitter on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.