Skip to content
paperclipai avatar

Create Agent Adapter

Scaffolds a new Paperclip agent adapter across server, UI, and CLI packages, with registry wiring and config docs.

CCM score
69 of 100
skills.sh installs
376
GitHub stars
118K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the package layout under packages/adapters/<name>/, the shared @paperclipai/adapter-utils types, and the three registries that consume each module
  • Includes the required testEnvironment contract, with info, warn, and error severity guidance for board UI diagnostics
  • Enforces four-export package.json conventions and keeps the root index.ts metadata free of Node or React dependencies
  • Designed for developers wiring a new CLI agent, API agent, or custom process into Paperclip's orchestration layer

Install

$ npx -y skills add paperclipai/paperclip --skill create-agent-adapter -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Creating a Paperclip Agent Adapter

An adapter bridges Paperclip's orchestration layer to a specific AI agent runtime (Claude Code, Codex CLI, a custom process, an HTTP endpoint, etc.). Each adapter is a self-contained package that provides implementations for three consumers: the server, the UI, and the CLI.


1. Architecture Overview

packages/adapters/<name>/
  src/
    index.ts            # Shared metadata (type, label, models, agentConfigurationDoc)
    server/
      index.ts          # Server exports: execute, sessionCodec, parse helpers
      execute.ts        # Core execution logic (AdapterExecutionContext -> AdapterExecutionResult)
      parse.ts          # Stdout/result parsing for the agent's output format
    ui/
      index.ts          # UI exports: parseStdoutLine, buildConfig
      parse-stdout.ts   # Line-by-line stdout -> TranscriptEntry[] for the run viewer
      build-config.ts   # CreateConfigValues -> adapterConfig JSON for agent creation form
    cli/
      index.ts          # CLI exports: formatStdoutEvent
      format-event.ts   # Colored terminal output for `paperclipai run --watch`
  package.json
  tsconfig.json

Details

Repository
github.com/paperclipai/paperclip
Categories
AI Agents & LLM Apps, Skill & Plugin Building
First seen
Jun 3, 2026

Questions

What does the create-agent-adapter skill do?

It guides an agent through creating or modifying Paperclip agent adapters across the server, UI, and CLI surfaces. It is used when adding support for a new CLI agent, API agent, custom process, or adapter package.

How do I install the create-agent-adapter skill?

Run npx -y skills add paperclipai/paperclip --skill create-agent-adapter -y in a project. Once installed, the agent can scaffold a self-contained adapter package with server, UI, and CLI modules.

Which category does create-agent-adapter belong to, and what sets it apart?

It sits in the AI Agents & LLM Apps category on Claude Marketplaces. It covers the adapter contract that connects Paperclip's orchestration layer to a specific agent runtime such as Claude Code, Codex CLI, or an HTTP endpoint.

Who is create-agent-adapter for?

It is for developers extending Paperclip so that a new agent runtime can receive tasks and report results. The skill walks through the package layout, shared types, and the environment test contract each adapter must implement.

More from paperclipai/paperclip

All 10

Similar to Create Agent Adapter

More AI Agents & LLM Apps