emacs-claude-code: Intelligent Claude Integration for Emacs

Yusuke Watanabe (he/him) - Pronunciation: you-SKAY wah-tah-NAH-bay, GitHub: https://github.com/ywatanabe1989/emacs-claude-code, ywatanabe@alumni.u-tokyo.ac.jp

The following image shows where the talk is in the schedule for Sat 2025-12-06. Solid lines show talks with Q&A via BigBlueButton. Dashed lines show talks with Q&A via IRC or Etherpad.

Schedule for SaturdaySaturday 9:00- 9:10 Saturday opening remarkssat-open 9:10- 9:20 Making Org-Babel reactiveorg-babel 9:30- 9:50 Emacs as a fully-fledged reference managerreference10:10-10:30 org-gmail: A deep integration of Gmail into your Org Modegmail10:40-10:50 Studying foreign languages with Emacs, Org Mode and gptellanguages11:10-11:30 LaTeX export in org-mode: the overhaullatex 1:00- 1:20 An enhanced bibliography in org-mode for scientific research and self-directed learningbibliography 1:40- 1:50 Basic Calc functionality for engineering or electronicscalc 2:00- 2:10 How Emacs became my authoring playground—no Lisp requiredauthoring 2:30- 2:50 Blee-LCNT: An Emacs-centered content production and self-publication frameworkblee-lcnt 3:10- 3:20 GNU Emacs Greader (Gnamù Reader) mode is the best Emacs mode in existencegreader 3:30- 3:40 Org-mode GTD vs N-angulator GTDn-angulator 4:00- 4:10 Saturday closing remarkssat-close 9:30- 9:45 One year progress update Schemacs (formerly Gypsum)schemacs10:05-10:25 Juicemacs: Exploring Speculative JIT Compilation for ELisp in Javajuicemacs10:35-10:55 Swanky Python: Interactive development for Pythonswanky11:05-11:25 Interactive Python development in Emacspython 1:00- 1:20 Emacs, editors, and LLM driven workflowsllm 1:40- 2:00 emacs-claude-code: Intelligent Claude Integration for Emacsclaude-code 2:10- 2:30 Emacs and private AI: a great matchprivate-ai 2:50- 3:10 Common Lisp images communicating like-a-human through shared Emacs slime and eevcommonlisp9 AM10 AM11 AM12 PM1 PM2 PM3 PM4 PM5 PM

Format: 20-min talk ; Q&A: ask questions via Etherpad/IRC; we'll e-mail the speaker and post answers on this wiki page after the conference
Discuss on IRC: #emacsconf
Status: Waiting for video from speaker

Times in different time zones:
Saturday, Dec 6 2025, ~1:40 PM - 2:00 PM EST (US/Eastern)
which is the same as:
Saturday, Dec 6 2025, ~12:40 PM - 1:00 PM CST (US/Central)
Saturday, Dec 6 2025, ~11:40 AM - 12:00 PM MST (US/Mountain)
Saturday, Dec 6 2025, ~10:40 AM - 11:00 AM PST (US/Pacific)
Saturday, Dec 6 2025, ~6:40 PM - 7:00 PM UTC
Saturday, Dec 6 2025, ~7:40 PM - 8:00 PM CET (Europe/Paris)
Saturday, Dec 6 2025, ~8:40 PM - 9:00 PM EET (Europe/Athens)
Sunday, Dec 7 2025, ~12:10 AM - 12:30 AM IST (Asia/Kolkata)
Sunday, Dec 7 2025, ~2:40 AM - 3:00 AM +08 (Asia/Singapore)
Sunday, Dec 7 2025, ~3:40 AM - 4:00 AM JST (Asia/Tokyo)
Find out how to watch and participate

Description

As AI coding assistants become essential development tools, integrating them seamlessly into our Emacs workflows becomes crucial. This talk introduces emacs-claude-code, a package that transforms how Emacs users interact with Claude Code through intelligent automation and enhanced vterm integration.

The main challenge with terminal-based AI assistants is the repetitive manual interaction required. Claude Code presents various prompts (Y/N choices, waiting states, continuation prompts) that interrupt the development flow. emacs-claude-code solves this by introducing smart auto-response patterns that recognize Claude's state and respond appropriately, allowing developers to maintain focus on their code rather than managing the AI interface.

Key features I'll demonstrate include:

  1. Intelligent Auto-Response System: Automatically handles Claude's various prompt states (INITIAL WAITING, Y/N, Y/Y/N, WAITING) with customizable responses. This allows uninterrupted AI-assisted coding sessions.

  2. Centralized Buffer Management: A dashboard view of all Claude sessions showing their current state, auto-response status, and last interaction time. Users can quickly navigate between multiple AI conversations and toggle automation settings.

  3. Yank-as-File Functionality: Elegantly handles large code snippets by saving them as files instead of cluttering the terminal, with full TRAMP support for remote development.

  4. Periodic Command Automation: Executes custom commands at specified interaction intervals, perfect for maintaining context or triggering regular actions like compacting conversation history.

The package leverages Emacs' powerful vterm-mode to create a robust integration layer. I'll share implementation details about state detection using regular expressions, buffer management techniques, and the advice system used for seamless clipboard integration.

Beyond the technical implementation, I'll discuss practical workflows that emerge from this integration, including custom Claude commands (stored as Markdown files) that can be triggered automatically based on context. The talk will include a live demonstration showing how these features work together to create a fluid AI-assisted development experience.

This project embodies the Emacs philosophy of extensibility and automation, making cutting-edge AI tools work the way Emacs users expect - efficiently, automatically, and under their complete control.

About the speaker:

I'm Yusuke Watanabe, a researcher who uses Emacs for both academic work and software development. After experiencing friction with manual Claude Code interactions, I developed emacs-claude-code to automate repetitive tasks and integrate AI assistance smoothly into Emacs workflows. This project represents my approach to making modern AI tools work within the Emacs ecosystem while maintaining the editor's core principles of efficiency and user control.

Questions or comments? Please e-mail ywata1989@gmail.com