create-agent-adapter

Scaffold a new CoHalo adapter with server, UI, and CLI modules.

Updated Mar 15, 2026
One-click install
npx skills add https://github.com/a7garden/CoHalo --skill create-agent-adapter-a7garden
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-agent-adapter
Source: https://github.com/a7garden/CoHalo/tree/main/skills/create-agent-adapter
Command: npx skills add https://github.com/a7garden/CoHalo --skill create-agent-adapter-a7garden

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This guide provides a complete blueprint for building a new CoHalo agent adapter, including server, UI, and CLI components, along with conventions for session management, environment handling, testing, and registration.

Core Features & Use Cases

  • Standardized 3-consumer adapter structure (server, UI, CLI)
  • Clear guidance on environment injection, session persistence, and safety checks
  • Step-by-step registration and testing workflows for production readiness

Quick Start

Create a new adapter package under packages/adapters/<name>, implement server/ui/cli modules as specified, and register it in the three registries.

Frequently Asked Questions about create-agent-adapter

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a CoHalo agent adapter with CLI, server, and UI integration?

Building an agent adapter requires implementing a standardized 3-consumer structure with server, UI, and CLI modules, while following the four-export convention for exports and registry hooks.

What is the four-export convention for CoHalo agent adapters?

The four-export convention defines the required exports and registry hooks for CoHalo agent adapters, ensuring proper integration of prompts, tests, session codecs, and configuration fields.

How do I handle session persistence and environment injection in a runtime adapter?

You handle session persistence and environment injection by applying safety checks and defining a session codec within the adapter modules to ensure secure and documented runtime configuration.

What's the best way to register and test a new CoHalo adapter for production readiness?

The best way is to follow the step-by-step registration workflow across the three registries and implement the defined tests to ensure production readiness for the new adapter.

Does a CoHalo adapter require CLI, server, and UI components to function?

Yes, a CoHalo adapter requires a standardized 3-consumer structure including CLI, server, and UI components to ensure complete integration with the runtime environment.

When do I need to define a session codec for my agent adapter?

You define a session codec when building your agent adapter to ensure proper session handling and persistence across the server, UI, and CLI integration components.