Skip to content
Development
Skill

/build-acp-agent

Design, implement, test, and package an ACP agent/server. Use for protocol negotiation, sessions, streaming updates, tool rendering, permissions, authentication, SDK choice, and registry submission.

From plugin
socket
9200 skills5 MCP

Claude Code

$ npx -y skills add gaelic-ghost/socket --skill build-acp-agent --agent claude-code

SKILL.md

build-acp-agent.SKILL.md
name: build-acp-agent
description: Design, implement, test, and package an ACP agent/server. Use for protocol negotiation, sessions, streaming updates, tool rendering, permissions, authentication, SDK choice, and registry submission.
metadata:
  hermes:
    category: agent-portability
    tags: [acp, json-rpc, sdk, registry, agent-development]

Build ACP Agent

Build the agent process that an ACP client launches. Do not build an editor plug-in or MCP server when the requirement is an editor-native coding agent. Read `references/acp-implementation-map.md` before selecting an SDK or registry distribution.

Implementation Workflow

1. Define concrete client targets and the user-visible behavior they require. 2. Use ACP v1, the current latest protocol, and an official SDK when its language and runtime fit. Treat v2 and non-completed RFDs as experimental; do not ship them as the portable baseline. Use raw JSON-RPC only when an SDK cannot support a required platform or feature. 3. Implement initialization first:

  • negotiate `protocolVersion`
  • advertise only implemented agent capabilities
  • inspect client filesystem and terminal capabilities before using them
  • advertise real authentication methods and implementation information

4. Implement the required session baseline: new, prompt, cancel, and update. 5. Add optional load, resume, fork, list, close, modes, configuration, plans, slash commands, rich prompt content, or MCP transports only with matching capability declarations and tests. Keep draft `session/delete`, logout, elicitation, additional directories, and remote transports behind explicit experimental flags and interoperability tests. 6. Render tool calls, diffs, terminals, plans, and streamed content in the ACP structures the target clients understand. 7. Route dangerous operations through permission requests and fail closed when approval transport fails or times out. 8. Keep stdout exclusively for ACP JSON-RPC. Send logs and diagnostics to stderr without leaking credentials or prompt content unnecessarily. 9. Bind every session to its client-provided cwd and any negotiated additional roots. Isolate cancellation, model choice, history, and mutable state by session. 10. Test initialization, authentication, session lifecycle, streaming, cancellation, permissions, invalid messages, process shutdown, and each advertised optional capability against representative clients.

Distribution And Registry

  • Treat source support, package publication, and canonical registry publication

as three separate states.

  • Publish a fetchable binary, `npx`, or `uvx` distribution that launches the

ACP process directly and reproducibly.

  • Keep the source-owned registry manifest version aligned with the published

package.

  • Submit the manifest to the canonical ACP Registry and do not claim registry

availability until the live registry feed contains the entry.

  • Require a genuine agent-owned or terminal authentication method when the

registry requires authentication discovery.

  • Do not replace an official package with an unrelated third-party launcher

merely to satisfy a distribution shape.

Host Validation

  • Validate Zed with a custom agent during development, inspect ACP logs, then

verify the canonical registry path after publication.

  • Validate Xcode through its documented Add an Agent flow and Xcode-owned

permissions. Keep Xcode tool behavior separate from protocol conformance.

  • Validate Hermes-specific changes against `hermes acp --check` plus the

Hermes adapter's session, approval, cwd, and provider behavior.

Guards

  • Do not infer wire compatibility from SDK, schema-artifact, or package version

numbers; use negotiated ACP protocol version and capabilities.

  • Do not present a v2 or draft RFD implementation as ACP v1 conformance.
  • Do not advertise methods that are stubs or only work in one client.
  • Do not make ACP a general agent-to-agent orchestration layer.
  • Do not embed provider secrets in registry manifests, launch arguments, logs,

or test fixtures.

Report

Report client targets, SDK and protocol version, required and optional methods, capability matrix, auth flow, session/state model, permission behavior, distribution source, registry state, tests, and client-specific limitations.

Read more
@gaelic-ghost
Ships withsocket

Stuff for Agents on macOS Promo audio: Socket Codex Marketplace Promo

9200 skills5 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
9
Star history of gaelic-ghost/socket on GitHub, a chart by star-history.com

Other skills on socket.

orchestrate-agent-work

orchestrate-agent-work

Coordinate bounded worker tasks with a launch envelope, report-back, escalation, and synthesis contract. Use before spawning,…

@gaelic-ghost@gaelic-ghostInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills11d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about build-acp-agent.

Which coding agents can use build-acp-agent?
build-acp-agent installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.