Skills

Add Emacs

Add Emacs as a channel.

Install

npx skills add nanocoai/nanoclaw --skill add-emacs -g -a claude-code -y
Repository
nanocoai/nanoclaw31.1k
Category
Engineering
Updated
5d ago
License
MIT
Context cost
Mediumabout 2,620 tokens
Runs scripts
No, instructions only

What it does

Add Emacs as a channel. Opens an interactive chat buffer and org-mode integration so you can talk to NanoClaw from within Emacs (Doom, Spacemacs, or vanilla). Local HTTP bridge, no bot token or external service needed.

Add Emacs Channel

Adds Emacs support via a local HTTP bridge. Works with Doom Emacs, Spacemacs, and vanilla Emacs 27.1+.

What you can do with this

  • Ask while coding, open the chat buffer (C-c n c / SPC N c), ask about a function or error without leaving Emacs
  • Code review, select a region and send it with nanoclaw-org-send; the response appears as a child heading inline in your org file
  • Meeting notes, send an org agenda entry; get a summary or action item list back as a child node
  • Draft writing, send org prose; receive revisions or continuations in place
  • Research capture, ask a question directly in your org notes; the answer lands exactly where you need it

Install

NanoClaw doesn't ship channels in trunk. This skill copies the Emacs adapter and the Lisp client in from the channels branch. Native HTTP bridge, no Chat SDK, no adapter package.

1. Copy the adapter and Lisp client

Fetch the channels branch from the configured remote that carries it, then overwrite the skill-owned files with the canonical registry copies:

src/channels/emacs.ts
src/channels/emacs.test.ts
src/channels/emacs-registration.test.ts
emacs/nanoclaw.el

2. Append the self-registration import

Append to src/channels/index.ts (skip if the line is already present):

import './emacs.js';

3. Build and validate

pnpm run build
pnpm exec vitest run src/channels/emacs-registration.test.ts
Read the whole SKILL.md on GitHub

More in Engineering