run-arbitrary-elisp
CommunityRun arbitrary Elisp in Emacs from your shell.
Authoraddisonbeck
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Teaches how to execute arbitrary Elisp against the running Emacs daemon via emacsclient. Use when you need to trigger Emacs actions from a shell: open files, start captures, run magit, query buffer state, or drive any Emacs function without opening a frame.
Core Features & Use Cases
- Base Invocation Pattern: emacsclient with --socket-name and -e to evaluate Elisp against the daemon.
- Daemon Health Check & Recovery: perform a health check and restart using launchctl when needed, ensuring the socket is available.
- Output Handling & Quoting Guidance: capture command results or suppress output as needed, with proper shell quoting.
Quick Start
Run emacsclient with the explicit socket path and a -e expression to evaluate Elisp in the running Emacs daemon.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: run-arbitrary-elisp Download link: https://github.com/addisonbeck/nix/archive/main.zip#run-arbitrary-elisp Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.