emacs
GNU Emacs as a stateful Lisp machine for agents — daemon, moo-* protocol, emacs.py router, emacs:// URLs, spoken grammar, play-learn-lift.
Skill by SimHacker
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/simhacker-emacs
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/emacs
What's inside
- Skill name
emacs- Description
- GNU Emacs as a stateful Lisp machine for agents — daemon, moo-* protocol, emacs.py router, emacs:// URLs, spoken grammar, play-learn-lift.
- License
- MIT
- Instructions
- 55 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Agent Skills spec issues
- allowed-tools: must be a space-separated string
Files (16)
- CARD.yml
- DESIGN.md
- GLANCE.yml
- SKILL.md
- .gitkeep · logs/
- README.md · reference/
- cursor-aiService-prompts.yaml · reference/
- emacs.py · scripts/
- spoken-grammar.yml
- init.el · templates/
- moo-macros.el · templates/
- moo-oneshot.el · templates/
- moo-protocol.el · templates/
- moo-structural.el · templates/
- moo-template.el · templates/
- servers.yml.example · templates/
SKILL.md (first lines)
# Emacs (MOO)
## What this skill is
GNU Emacs with `emacs --daemon` is a **long-lived evaluator**: buffers, modes, and elisp are the program. Agents and humans share **persistent context** (open files, marks, narrowing, undo). The **sister script** `scripts/emacs.py` adapts `emacsclient` for tools: **JSON-shaped results**, **named targets**, **batching**, **logging**, and **`emacs://`** routing.
This is **not** a thin “run one shell command” wrapper. The value is the **protocol**: what to return after each operation, how to name multiple daemons, how speech and intent map to elisp.
## Three interaction tiers
1. **Intent** — `(moo-rename-symbol "a" "b" :scope 'project)` style (to be implemented in elisp; names in CARD).
2. **Structural** — `(moo-in-defun "foo" ...)` , `(moo-try BODY)` with `atomic-change-group`.
3. **Raw elisp** — `(emacs.py eval "(+ 1 2)")` or direct `emacsclient --eval`.
## Sister script: `scripts/emacs.py`
Subcommands (see `--help`):
- `status` — daemon up, current target
- `eval SEXP` — evaluate, print JSON `{ok, value, error}` where possible
- `target list | current | use NAME` — `~/.emacs.d/moo/servers.yml`
- `speak TEXT` — placeholder: will use `spoken-grammar.yml` + optional local LLM
- `url EMACS_URL` — resolve and dispatch (staged implementation)
Environment:
- `EMACSCLIENT` — path to emacsclient (default: `emacsclient`)
- `MOO_EMACS_TARGET` — default target name
Logs: append JSON lines to `.moollm/skills/emacs/logs/command-log.jsonl` when run from a MOOLLM workspace.
## Elisp side (templates/)
Install copies under `~/.emacs.d/moo/` (see `templates/init.el`):
- `moo-protocol.el` — `moo-with-effects`, standard result plist
- `moo-structural.el` — structural helpers
- `moo-oneshot.el` — oneshot define / log / promote
- `moo-macros.el` — macro capture and schema export hooks
## Integration
- **play-learn-lift** — oneshot log + macro list + command-log.jsonl
- **cursor-mirror** — optional: correlate agent edits with Emacs log
- **yaml-jazz** — `spoken-grammar.yml` comments carry semantics
## Cursor prompt / aiService snapshot
Optional: [reference/cursor-aiService-prompts.yaml](reference/cursor-aiService-prompts.yaml) holds `aiService.prompts` and `aiService.generations` from the workspace DB (see [reference/README.md](reference/README.md)). Regenerate with `cursor-mirror export-prompts <workspace-id> -o …`.
## Part of MOOLLM
Repo [README](../../README.md), [skills/README.md](../README.md).From SimHacker/moollm, MIT.
More from SimHacker/moollm
- 0.667score
change-name
SimHacker
Change a name, email address, phone number, handle, or any identifying string across the artifacts where it lives — starting with surgical…
SkillAFreshness: A★ 60Claude Code +9 - 0.662score
design-sense
SimHacker
Ambient design skill socket — the working designer's head.
SkillAFreshness: A★ 60Claude Code +9 - 0.662score
copy-that
SimHacker
Transmission hygiene for content leaving the chat.
SkillAFreshness: A★ 60Claude Code +9 - 0.661score
datasette
SimHacker
Datasette — serve SQLite over HTTP with metadata YAML, JSON API, plugins; MOOLLM path from cursor-mirror export.
SkillAFreshness: A★ 60Claude Code +9 - 0.659score
action-queue
SimHacker
Sims-inspired action scheduling — queue actions, execute in order.
SkillAFreshness: A★ 60Claude Code +9 - 0.659score
artifactory
SimHacker
The Engine of Creation — a general-purpose constructor that reads, writes, edits, destroys, and persists artifacts across the filesystem and git.
SkillAFreshness: A★ 60Claude Code +9 - 0.659score
container
SimHacker
A directory that is a scope, not a place: its defaults: reach every room, character and object inside it, like OpenLaszlo's <node> or the CSS cascade.
SkillAFreshness: A★ 60Claude Code +9 - 0.656score
context
SimHacker
Runtime context passed to compiled closures — the world as seen from inside
SkillAFreshness: A★ 60Claude Code +9 - 0.656score
character
SimHacker
Core patterns for all characters — home, location, relationships, inventory
SkillAFreshness: A★ 60Claude Code +9 - 0.656score
budtender
SimHacker
Cannabis-specialized bartender — strains, terpenes, edibles, rolling
SkillAFreshness: A★ 60Claude Code +9 - 0.656score
bartender
SimHacker
Generic bartending capabilities — pour drinks, manage tabs, know regulars
SkillAFreshness: A★ 60Claude Code +9 - 0.656score
adversarial-committee
SimHacker
Committee of personas with opposing propensities forcing genuine debate
SkillAFreshness: A★ 60Claude Code +9
Signals
- Stars
- 60
- Forks
- 5
- Open issues
- 1
- Last commit (this folder)
- Oct 20, 2026 (7 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/SimHacker/moollm
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from SimHacker
- 0.667score
change-name
SimHacker
Change a name, email address, phone number, handle, or any identifying string across the artifacts where it lives — starting with surgical…
SkillAFreshness: A★ 60Claude Code +9 - 0.662score
design-sense
SimHacker
Ambient design skill socket — the working designer's head.
SkillAFreshness: A★ 60Claude Code +9 - 0.662score
copy-that
SimHacker
Transmission hygiene for content leaving the chat.
SkillAFreshness: A★ 60Claude Code +9 - 0.661score
datasette
SimHacker
Datasette — serve SQLite over HTTP with metadata YAML, JSON API, plugins; MOOLLM path from cursor-mirror export.
SkillAFreshness: A★ 60Claude Code +9 - 0.659score
action-queue
SimHacker
Sims-inspired action scheduling — queue actions, execute in order.
SkillAFreshness: A★ 60Claude Code +9 - 0.659score
container
SimHacker
A directory that is a scope, not a place: its defaults: reach every room, character and object inside it, like OpenLaszlo's <node> or the CSS cascade.
SkillAFreshness: A★ 60Claude Code +9
Cite this page
emacs skill. Agent Mart. https://agentmart.dev/skills/simhacker-emacs (last updated 2026-10-24)