Claude Code Zed
Description
Zed extension for Claude Code CLI integration
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
Claude Code Zed Integration
A two-part system that integrates Claude Code CLI with Zed editor for AI-assisted coding.

Current Integration Status
Working Features
- Text Selection Sharing: Zed can send selected text context to Claude Code CLI
- Selection State Persistence: Selection state is maintained across interactions
- File Reference Handling: Selected code snippets and file paths are transmitted
- Workspace Info: Claude Code can query workspace folders via
getWorkspaceFolders - Multi-Project Support: Each project gets its own isolated LSP instance
- Stale Connection Handling: Watchdog automatically exits LSP if connection becomes stale
- WebSocket Communication: Stable connection between Zed and Claude Code CLI
MCP Tools Available
The following tools are exposed to Claude Code CLI:
getCurrentSelection- Get the current text selection in the active editorgetLatestSelection- Get the most recent text selectiongetWorkspaceFolders- Get the workspace folders open in the IDEgetDiagnostics- Get diagnostics (errors, warnings) for files in the workspace
Limitations
- LSP Diagnostics: Currently returns empty - Zed extension doesn't expose IDE diagnostic information to Claude Code CLI
- One-way Communication: Primary flow is Zed to Claude Code; limited Claude Code to Zed capabilities
- IDE-specific tools not supported: Tools like
openFile,openDiff,saveDocumentare not available in Zed integration
Installation
Prerequisites
- Zed editor
- Claude Code CLI
Setup
**Clone the repository**:
git clone https://github.com/celve/claude-code-zed.git**Install the Zed extension** (Development Mode):
- Open Zed editor
- Press
Cmd+Shift+P(macOS) orCtrl+Shift+P(Linux/Windows) to open the command palette - Type "zed: install dev extension" and select it
- Navigate to and select the `claude-
Related Skills
Awesome Go
A curated list of awesome Go frameworks, libraries and software
Development next.js
| The React Framework | 138360 | 1503 | 1 |
Development sharing-skills
skill for guidance.
Development root-cause-tracing
Use when errors occur deep in execution and you need to trace back to find the original trigger.
Development Template Skill
Minimal skeleton for a new skill project structure.
Development Third-party Notices
THE FOLLOWING SETS FORTH ATTRIBUTION NOTICES FOR THIRD PARTY SOFTWARE THAT MAY BE CONTAINED IN PORTIONS OF THI
Development