convez.ai
SkillProdutividadeIntermediário
afermg

Emacs Pair

afermg/emacs-pair

Pair programming com Emacs integrado ao Claude Code

Ver no GitHub
InicialPluginScore · de 0 a 100

Claude Code skill que integra acesso total a uma sessão Emacs em execução via emacsclient. Permite ler e escrever buffers, avaliar Elisp, executar comandos M-x e inspecionar o estado do editor diretamente na conversa com Claude.

Instalação

$npx convez-ai afermg/emacs-pair

1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.

Métricas

Estrelas
1
Forks
0
Acompanhando
0
Saúde
42%
Último commit
há 3 meses
Versão
—
Issues abertas
0
Contribuidores
1

Casos de uso

  • Programação em Elisp com assistência de IA
  • Edição e refatoração de código diretamente no Emacs
  • Automação de tarefas Org mode com Claude
  • Debugging interativo com inspeção de buffers e variáveis

Veredito

Skill bem arquitetado que integra Claude ao Emacs de forma profunda. Essencial para quem usa Emacs como ambiente principal de desenvolvimento e quer assistência de IA nativa no editor.

README

A tradução para o português deste README ainda está na fila.

emacs-pair

A Claude Code skill that gives Claude full access to a running Emacs session via emacsclient. Read and write buffers, evaluate arbitrary Elisp, run M-x commands, and inspect editor state — all from your conversation with Claude.

Prerequisites

An Emacs server must be running:

M-x server-start

Or add (server-start) to your init file.

Installation

As a plugin (recommended)

# Add the marketplace and install
/plugin marketplace add afermg/emacs-pair
/plugin install emacs-pair@afermg-emacs-pair

Manual

Clone the repo and symlink the skill directory:

git clone https://github.com/afermg/emacs-pair.git
ln -s "$(pwd)/emacs-pair/skills/emacs-pair" ~/.claude/skills/emacs-pair

Then invoke it in Claude Code with /emacs-pair.

What's included

  • SKILL.md — The skill protocol that teaches Claude how to interact with Emacs: philosophy, common operations, Org mode recipes, error handling, and guard rails.
  • scripts/discover-servers.sh — Discovers running Emacs server sockets and returns them as JSON.
  • scripts/eval-elisp.sh — Evaluates Elisp expressions in a running Emacs server. Supports inline expressions (-e), files, and stdin/heredocs. Auto-discovers the server socket.

Usage examples

Once the skill is active, Claude can:

  • Read buffers — inspect file contents as Emacs sees them
  • Edit buffers — insert, replace, or delete text through Elisp (preserving undo history)
  • Run commands — execute any M-x command or Elisp function
  • Work with Org mode — manage headings, agenda, clocking, and more
  • Debug — read *Messages*, evaluate test expressions, inspect variables

License

MIT

Acknowledgements

This project was inspired by marimo-pair.

See also: efrit by Steve Yegge, an earlier Emacs-native AI coding assistant that runs Claude inside Emacs itself rather than driving it from an external process.

Ver o original no GitHub

Bom para

Relacionados