create-agent-adapter

Standardize Paperclip adapter creation for AI runtimes like Claude Code and Codex CLI.

Updated Apr 14, 2026
One-click install
npx skills add https://github.com/lucasadcapital-beep/ancora-auto --skill create-agent-adapter-lucasadcapital-beep
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-agent-adapter
Source: https://github.com/lucasadcapital-beep/ancora-auto/tree/main/.agents/skills/create-agent-adapter
Command: npx skills add https://github.com/lucasadcapital-beep/ancora-auto --skill create-agent-adapter-lucasadcapital-beep

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Standardize the creation of Paperclip adapters that connect a server, UI, and CLI to a new AI runtime.

Core Features & Use Cases

  • Standard adapter layout (packages/adapters/<name> with server/ui/cli) and four-exports pattern for cross-consumer compatibility.
  • Shared type interfaces and environment/registration guidelines, enabling adapters for Claude Code, Codex CLI, or custom runtimes.
  • Guidance on session management, skill injection, and security considerations to produce production-ready adapters.

Quick Start

Create a new adapter package under packages/adapters/<name> and implement server, ui, and cli modules following the four-exports convention.

Frequently Asked Questions about create-agent-adapter

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

FAQPage Schema
How do I build an AI runtime adapter for a server, UI, and CLI?

You build a Paperclip agent adapter by creating a package under packages/adapters/<name> with server, ui, and cli modules following the mandated four-exports pattern for cross-consumer compatibility.

What is the standard file layout for a production-ready agent adapter?

The standard file layout for a production-ready agent adapter requires defining packages/adapters/<name> with server, ui, and cli modules, mandated exports, environment handling, and registry wiring.

Can I use this adapter pattern to connect Claude Code or Codex CLI to my application?

Yes, you can use this adapter pattern to connect servers, UIs, and CLIs to new AI runtimes like Claude Code, Codex CLI, or custom runtimes using shared type interfaces and registration guidelines.

What security and session handling considerations are needed for a multi-consumer AI adapter?

Production-ready multi-consumer adapters require defined session management interfaces, skill injection guidelines, and security considerations to safely connect a server, UI, and CLI to an AI runtime.

What are the limitations of using the four-exports pattern for AI runtime adapters?

The four-exports pattern enforces a strict file structure and export surface, meaning adapters must conform exactly to the mandated layout and registry wiring to maintain cross-consumer compatibility.