Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Emacs

ASecurity

GNU Emacs as a stateful Lisp machine for agents — daemon, moo-* protocol, emacs.py router, emacs:// URLs, spoken grammar, play-learn-lift.

56 stars
0 votes
0 copies
0 views
Added 10/6/2026
toolsshell

Works with

cursorterminalcli

Security Analysis

A100/100

Pro scans all 15 files and shows the line behind each finding

Scanned 10/6/2026

$npx -y skills add SimHacker/moollm --skill emacs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Emacs?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Emacs
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/simhacker-emacs/badge)](https://www.skillsdirectory.com/skills/simhacker-emacs)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
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.
allowed-tools: [read, grep, glob, run_terminal_cmd]
related: [sister-script, play-learn-lift, yaml-jazz, cursor-mirror, robust-first]
license: MIT
---

# 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).

Attribution

SimHackerSimHacker
View sourceSee grades on GitHubMore from SimHacker →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

ucoz-landing-skill

Create and edit uCoz homepage landing pages via MCP: custom templates, hero sections, lead forms, navigation menus, SEO, and responsive layout. Includes a visual design system (style selection, layout/grid, section recipes, typography/spacing, color tokens, component states, icons, modern CSS/JS, motion, imagery, social proof, copy/voice, accessibility). Uses ucoz-mcp tools for templates, site file uploads, and site modules.

107 votes

Paperclip

Interact with the Paperclip control plane API for task coordination and governance. Use when checking assignments, updating issue status, posting comments, delegating work, managing routines, or calling Paperclip API endpoints.

953191 votes

Pptx

Presentation toolkit (.pptx). Create/edit slides, layouts, content, speaker notes, comments, for programmatic presentation creation and modification.

471861 votes

Daw Music

Digital Audio Workstation usage, music composition, interactive music systems, and game audio implementation for immersive soundscapes.

761 votes

Instantly Rdsthomas Mission Control

Instantly.ai cold email outreach API - manage campaigns, leads, accounts, and analytics. Use for cold email automation, lead management, campaign creation/monitoring, and email account warmup.

761 votes
View all in tools →