gaelic-ghost/socket/build-acp-agent
Claude Code and agent skill by gaelic-ghost/socket
- community
Checking that the SKILL.md file is still in the repository.
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.
Install
npx vskill@latest install gaelic-ghost/socket/build-acp-agentSKILL.md
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
- Define concrete client targets and the user-visible behavior they require.
- 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.
- 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
- Implement the required session baseline: new, prompt, cancel, and update.
- 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.
- Render tool calls, diffs, terminals, plans, and streamed content in the ACP
structures the target clients understand.
- Route dangerous operations through permission requests and fail closed when
approval transport fails or times out.
- Keep stdout exclusively for ACP JSON-RPC. Send logs and diagnostics to
stderr without leaking credentials or prompt content unnecessarily.
- Bind every session to its client-provided cwd and any negotiated additional
roots. Isolate cancellation, model choice, history, and mutable state by session.
- 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, oruvxdistribution 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 --checkplus 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.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/build-acp-agent/SKILL.md
Popularity
- Repository stars
- 7
- 7-day trend score
- 10
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/gaelic-ghost/socket/build-acp-agent)