create-agent-adapter

Create Paperclip adapter packages with standardized scaffolds and registry wiring.

3|Updated Apr 11, 2026
One-click install
npx skills add https://github.com/googlarz/stapler --skill create-agent-adapter-googlarz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-agent-adapter
Source: https://github.com/googlarz/stapler/tree/main/.agents/skills/create-agent-adapter
Command: npx skills add https://github.com/googlarz/stapler --skill create-agent-adapter-googlarz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a canonical blueprint for building Paperclip adapters, ensuring a consistent project structure, export surface, and registry wiring across server, UI, and CLI components.

Core Features & Use Cases

  • Canonical package structure for adapters with server/ui/cli components
  • Clear guidance on registration points and module conventions
  • Supports models, agentConfigurationDoc, and an extensible adapter lifecycle for integration with existing local adapters

Quick Start

Create a new adapter under packages/adapters/<name>, implement the standard four-exports in index.ts, and register it with the server, UI, and CLI 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 new Paperclip adapter for a custom runtime?

Building a Paperclip adapter requires implementing four standard exports in index.ts: type, label, models, and agentConfigurationDoc. You scaffold the package under packages/adapters/<name> and wire it into the server, UI, and CLI registries to complete the integration.

What is the standard package structure for a Paperclip adapter?

A standard Paperclip adapter package contains server, UI, and CLI components following a documented module structure. It enforces a four-export convention in index.ts covering type, label, models, and agentConfigurationDoc for consistent integration.

How do I register a Paperclip adapter with the server, UI, and CLI?

You register a Paperclip adapter by wiring your package into the server, UI, and CLI registries. This follows implementing the four standard exports in index.ts and ensures the adapter is recognized across all system components.

What exports do I need to implement in a Paperclip adapter's index.ts?

You need to implement four exports in a Paperclip adapter's index.ts: type, label, models, and agentConfigurationDoc. These form the standard package convention required for integrating with the adapter lifecycle and existing local adapters.

When should I use a standardized scaffold for building adapter packages?

Use a standardized scaffold when building a new adapter for a custom runtime or modifying the adapter system. It ensures a consistent project structure, uniform export surface, and correct registry wiring across server, UI, and CLI components.