nanoclaw-telegram: Skill for Claude Code

.claude/skills/add-emacs/SKILL.md

add-emacs is a skill for Claude Code from nanocoai/nanoclaw-telegram. It costs 57 tokens per session (2,318 once invoked), scanned A, original, MIT.

An Emacs connection for NanoClaw, allowing the agent to be used inside the Emacs editor and Org mode, Emacs’s system for structured notes and tasks. It works with Doom Emacs, Spacemacs, and standard Emacs.

In plain words
What is it for?
Use it to ask questions in an Emacs chat buffer, send selected code for review, revise Org notes, summarize agenda items, capture research, and create scheduled NanoClaw tasks.
Why use it?
It removes the need to switch between Emacs and another chat tool while coding, reviewing code, writing notes, or managing tasks.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: names the AskUserQuestion tool.

This is nanocoai/nanoclaw-telegram's own configuration. It tells Claude Code how to work on nanoclaw-telegram itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything nanoclaw-telegram configures →

Reuse

Borrowing it

Nothing to install: this file belongs to nanocoai/nanoclaw-telegram. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/nanocoai/nanoclaw-telegram/main/.claude/skills/add-emacs/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/nanocoai/nanoclaw-telegram

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for add-emacs

README.md
[![agentmods](https://agentmods.dev/badge/skills/nanocoai/nanoclaw-telegram/add-emacs/github.svg)](https://agentmods.dev/skills/nanocoai/nanoclaw-telegram/add-emacs)
Your own site
<a href="https://agentmods.dev/skills/nanocoai/nanoclaw-telegram/add-emacs"><img src="https://agentmods.dev/badge/skills/nanocoai/nanoclaw-telegram/add-emacs/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for add-emacs

Your own site · 80×15
<a href="https://agentmods.dev/skills/nanocoai/nanoclaw-telegram/add-emacs"><img src="https://agentmods.dev/badge/skills/nanocoai/nanoclaw-telegram/add-emacs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,318 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00057 $0.02318
Opus 5 $0.00028 $0.01159
Sonnet 5 $0.00011 $0.00464
Haiku 4.5 $0.00006 $0.00232

Measured 11d ago against content hash 8f122b6595a7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

add-emacs scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s "http://localhost:8766/api/messages?since=0"
Origin

Copies of this mod

5 near-identical copies found in the catalogue:

.claude/skills/add-emacs/SKILL.md · 289 lines

How it starts

The opening of the file, as written. The whole thing — 289 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Add Emacs Channel

This skill adds Emacs support to NanoClaw, then walks through interactive setup. 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
  • Schedule tasks — ask Andy to set a reminder or create a scheduled NanoClaw task (e.g. "remind me tomorrow to review the PR")

Phase 1: Pre-flight

Check if already applied

Check if src/channels/emacs.ts exists:

test -f src/channels/emacs.ts && echo "already applied" || echo "not applied"

If it exists, skip to Phase 3 (Setup). The code changes are already in place.

Phase 2: Apply Code Changes

Ensure the upstream remote

git remote -v

If an upstream remote pointing to https://github.com/qwibitai/nanoclaw.git is missing, add it:

git remote add upstream https://github.com/qwibitai/nanoclaw.git

Merge the skill branch

git fetch upstream skill/emacs
git merge upstream/skill/emacs

If there are merge conflicts on package-lock.json, resolve them by accepting the incoming version and continuing:

git checkout --theirs package-lock.json
git add package-lock.json
git merge --continue

For any other conflict, read the conflicted file and reconcile both sides manually.

This adds:

  • src/channels/emacs.tsEmacsBridgeChannel HTTP server (port 8766)
  • src/channels/emacs.test.ts — unit tests
  • emacs/nanoclaw.el — Emacs Lisp package (nanoclaw-chat, nanoclaw-org-send)
  • import './emacs.js' appended to src/channels/index.ts

Read the full file on GitHub · 289 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 289 lines · 57 tokens per session scan A 8f122b6595a7

Subscribe to this mod's changes

add-emacs is a skill published in the GitHub repository nanocoai/nanoclaw-telegram (10 stars, last pushed 5mo ago), licensed MIT. It adds 57 tokens to every session and 2,318 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.