Use Claude Code SDK functionality from ACP-compatible clients like Zed. Provides context mentions, tool calls, terminals, slash commands, and MCP server support through the Agent Client Protocol.
This skill helps you work with the ACP (Agent Client Protocol) adapter for Claude Code, enabling Claude Code functionality in ACP-compatible clients like Zed.
The `@zed-industries/claude-code-acp` package (v0.14.0) implements an ACP agent using the official Claude Agent SDK, bringing Claude Code capabilities to external clients that support the Agent Client Protocol.
Zed includes this adapter out of the box. To use:
1. Open the Agent Panel
2. Click the `+` button in top-right
3. Select "New Claude Code Thread"
Install globally via npm:
```bash
npm install -g @zed-industries/claude-code-acp
```
Run with your Anthropic API key:
```bash
ANTHROPIC_API_KEY=sk-... claude-code-acp
```
When asked to help with ACP adapter setup or Claude Code integration:
1. **Identify the client**: Determine if the user is using Zed or another ACP client
2. **Check installation**: For non-Zed clients, verify the package is installed globally
3. **Verify credentials**: Ensure `ANTHROPIC_API_KEY` is set in environment
4. **Guide configuration**: Help configure any custom slash commands or MCP servers
5. **Test features**: Verify tool calls, context mentions, and terminal access work correctly
```bash
export ANTHROPIC_API_KEY=sk-ant-...
claude-code-acp
```
Direct users to Claude Code slash command documentation at:
https://docs.anthropic.com/en/docs/claude-code/slash-commands
When helping connect MCP servers, reference the client's MCP configuration format and ensure the ACP adapter can access the server endpoints.
1. **Connection issues**: Verify API key is valid and has proper permissions
2. **Tool permissions**: Guide users through permission request flows
3. **Terminal problems**: Check that interactive terminal feature is supported by the client
4. **Context mentions**: Ensure files referenced are accessible in the workspace
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/acp-claude-code-adapter/raw