Claude Code Tools.El
Description
A robust Emacs integration for Claude Code that supports multiple concurrent sessions, Magit integration, and git worktree workflows.
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-tools.el
Tools for working with [Claude Code](https://docs.anthropic.com/en/docs/agents-and-tools/claude-code/overview) within Emacs.
Overview
This package provides a set of convenient functions for interacting with the Claude Code CLI from within Emacs. It allows you to:
- Open Claude Code sessions in a vterm buffer
- Support multiple, concurrent Claude Code sessions for different projects
- Send messages to Claude Code
- Send buffer contents, regions, or contextual information to Claude Code (including from Magit diff views)
- Execute one-shot commands using Claude Code
- Easily manage multiple Claude Code sessions
Requirements
- Emacs 28.1 or later
- magit
- vterm
- The Claude Code CLI tool (
claude) installed and available in your PATH
Installation
Manual Installation
Clone this repository:
git clone https://github.com/brewski82/claude-code-tools.el.git
Add the following to your Emacs configuration:
(add-to-list 'load-path "/path/to/claude-code-tools.el")
(require 'claude-code-tools)
Using package.el with vc-install (Emacs 30+)
;; Install directly from GitHub
(package-vc-install '(claude-code-tools :url "https://github.com/brewski82/claude-code-tools.el"))
;; Then in your init.el:
(require 'claude-code-tools)
(global-set-key (kbd "C-c c") 'claude-code-tools-run-claude-code-menu) ;; or your preferred key
Using straight.el
(use-package claude-code-tools
:straight (:type git :host github :repo "brewski82/claude-code-tools.el" :branch "main"
:files ("*.el" (:exclude ".gitignore")))
:bind ("C-c c" . claude-code-tools-run-claude-code-menu)
:config
;; Optional configuration here
)
Usage
Interactive Commands
claude-code-tools-claude-code-vterm: Open a Claude Code session in a vterm bufferclaude-code-tools-send-to-claude: Send a message to Claude Codeclaude-code-tools-send-to-claude-with-buffer: Send the current buff
Related Skills
Epic Sync
Sync epic issue bodies, labels, and local coordination snapshots from GitHub.
Git 使用 Git Worktrees
创建孤立的 Git worktrees,带有智能目录选择与安全验证。
Git Claude skills github
[Building agent skills blog](https://www.anthropic.com/engineering/equipping-agents-for-the-real-world-with-ag
Git #148
, [#161](https://github.com/affaan-m/everything-claude-code/pull/161))
Git GitHub MCP
| Token | Repos, issues, PRs, workflows |
Git GitHub MCP Server
Official first-party server to read repos, manage issues/PRs, and automate workflows.
Git