cli: Skill for Claude Code

.claude/skills/agent-integration/SKILL.md

agent-integration is a skill for Claude Code from entireio/cli. It costs 89 tokens per session (1,370 once invoked), scanned A, original, MIT.

A workflow for adding support for a new coding agent to a software project. It researches the project, writes end-to-end tests first, then implements the integration, with smaller unit tests added afterward.

In plain words
What is it for?
Use it to integrate a new command-line agent, identify its commands and events, add registry and end-to-end test support, and implement the required code.
Why use it?
It provides a repeatable way to connect an agent while checking its complete behavior instead of relying only on isolated code tests.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths.

This is entireio/cli's own configuration. It tells Claude Code how to work on cli itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything cli configures →

About the project

Entire CLI connects AI coding-agent sessions to Git so prompts, responses, files, tool calls, and checkpoints become a searchable record alongside commits. Developers and teams use it to understand why code changed, resume earlier sessions, keep agent context out of Git history, and support traceability. The catalogue includes commands, hooks, skills, agents, and plugins for the Entire workflow.

entireio/cli · 5,253 stars · on GitHub · entire.io

Reuse

Borrowing it

Nothing to install: this file belongs to entireio/cli. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/entireio/cli/main/.claude/skills/agent-integration/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/entireio/cli

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agent-integration

README.md
[![agentmods](https://agentmods.dev/badge/skills/entireio/cli/agent-integration/github.svg)](https://agentmods.dev/skills/entireio/cli/agent-integration)
Your own site
<a href="https://agentmods.dev/skills/entireio/cli/agent-integration"><img src="https://agentmods.dev/badge/skills/entireio/cli/agent-integration/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agent-integration

Your own site · 80×15
<a href="https://agentmods.dev/skills/entireio/cli/agent-integration"><img src="https://agentmods.dev/badge/skills/entireio/cli/agent-integration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,370 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00089 $0.01370
Opus 5.5 $0.00036 $0.00548
Sonnet 5.5 $0.00018 $0.00274
Haiku 4.5 $0.00009 $0.00137

Measured 1mo ago against content hash b38897be6153, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agent-integration scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/agent-integration/SKILL.md · 108 lines

How it starts

The opening of the file, as written. The whole thing — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Agent Integration — Full Pipeline

Run all three phases of agent integration in a single session. Parameters are collected once and reused across all phases.

Parameters

Collect these before starting (ask the user if not provided):

Parameter Description How to derive
AGENT_NAME Human-readable name (e.g., "Copilot CLI") User provides
AGENT_PACKAGE Go package dir name — no hyphens Lowercase, remove hyphens/spaces
AGENT_KEY Registry key for agent.Register() and entire enable Check existing patterns in cmd/entire/cli/agent/registry.go
AGENT_SLUG Filesystem/URL-safe slug (kebab-case) used in E2E runner filenames and script names Kebab-case of agent name; align with existing entries in e2e/agents/
AGENT_BIN CLI binary name command -v <binary>
LIVE_COMMAND Full command to launch agent User provides
EVENTS_OR_UNKNOWN Known hook event names, or "unknown" From agent docs or "unknown"

Note: These identifiers can differ. Run grep -r 'AgentName\|func.*Name()' cmd/entire/cli/agent/*/ and e2e/agents/ to see how existing agents handle the split.

Architecture References

These documents define the agent integration contract:

  • Implementation guide: docs/architecture/agent-guide.md — Step-by-step code templates, event mapping, testing patterns
  • Integration checklist: docs/architecture/agent-integration-checklist.md — Design principles and validation criteria

Scope

This skill targets hook-capable agents — those that support lifecycle hooks (implementing HookSupport from agent.go). Agents that use file-based detection (implementing FileWatcher) require a different integration approach not covered here. Check agent.go for the current interface definitions.

Core Rule: E2E-First TDD

This skill enforces strict E2E-first test-driven development. The rules:

  1. E2E tests are the spec. The existing ForEachAgent test scenarios define what "working" means. The agent runner makes those tests runnable for the new agent.
  2. Run E2E tests at every step. Each implementation tier starts by running the E2E test and watching it fail. You implement until it passes. No exceptions.
  3. Unit tests are written last. After all E2E tiers pass (Step 14), you write unit tests using real data collected from E2E runs as golden fixtures.
  4. If you didn't watch it fail, you don't know if it tests the right thing. Never write a test you haven't seen fail first.
  5. Minimum viable fix. At each E2E failure, implement only the code needed to fix that failure. Don't anticipate future tiers.
  6. /e2e:debug is your debugger. When an E2E test fails, use the artifact directory with /e2e:debug before guessing at fixes.

Read the full file on GitHub · 108 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed b38897be6153
  2. 1mo ago First seen · 108 lines · 89 tokens per session scan A 02520fdc47e5

Subscribe to this mod's changes

agent-integration is a skill published in the GitHub repository entireio/cli (5,253 stars, last pushed today), licensed MIT. It adds 89 tokens to every session and 1,370 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

adk-go-self-review

Review an ADK Go change the way a maintainer will — a fresh-context pass over the whole diff, five lenses (correctness and tests, scope, simplicity, style, adk-python parity), and the mutation check that proves your tests pin the change. Use before opening a PR, before any later push that changes code, and when asked…

google/adk-go · 87 tokens

testing

TDD/BDD testing principles. Use when writing tests, reviewing test coverage, setting up testing, or discussing test strategy and test architecture.

TheBeardedBearSAS/claude-craft · 0 tokens

testing-expert

Expert-level software testing with unit tests, integration tests, E2E tests, TDD/BDD, and testing best practices. Use when the user mentions TDD, BDD, unit tests, integration tests, or end-to-end tests, or when the task involves Testing Fundamentals, Unit Testing, Integration Testing, or End-to-End Testing.

personamanagmentlayer/pcl · 73 tokens

cast-verify

Prove the work before calling it done, and leave the evidence where reviewers read it. Runs the repository's checks, exercises the change in the human's own browser or on the command line, captures screenshots or output, attaches them to the task and the thread, and only then marks the work done. Use before declaring…

codecast-sh/codecast · 79 tokens

Pair Programming

AI-assisted pair programming with multiple modes (driver/navigator/switch), real-time verification, quality monitoring, and comprehensive testing. Supports TDD, debugging, refactoring, and learning sessions. Features automatic role switching, continuous code review, security scanning, and performance optimization with…

ruvnet/agentic-flow · 61 tokens

verify-omnigent

Drive Omnigent the way a user does and prove a behavior with recorded evidence, using an isolated server, runner, and mock model plus a feature map of every user entry point. Load before reproducing a user-facing bug, before claiming a fix works, or when reviewing whether a change covered every surface (session vs.…

omnigent-ai/omnigent · 100 tokens