Install
openclaw skills install agent-emacsClawHub Security found sensitive or high-impact capabilities. Review the scan results before using.
Unified persistent text-based environment for AI agents. Use when an agent needs to maintain state across sessions, perform structural code editing, or manage remote nodes via TRAMP. Transforms the agent from a stateless script executor into a stateful resident of a living Emacs daemon.
openclaw skills install agent-emacsThis skill provides a persistent, high-performance Emacs environment designed specifically for AI agents. It replaces fragmented CLI tools with a unified "Living Image" workflow.
emacs-agent.service).emacsclient -s /tmp/emacs0/server.Do not use regex for complex code changes. Use ELisp forms to manipulate the AST.
emacsclient -s /tmp/emacs0/server --eval "(with-current-buffer \"main.lisp\" (goto-char (point-max)) (insert \"\n(new-function)\"))"
Manage remote nodes transparently. Opening a remote file automatically establishes a persistent SSH tunnel.
(find-file "/ssh:user@remote-node:/etc/config.json")
Use Magit for all Git operations to ensure high-integrity commits and staging.
For detailed patterns on recursive data processing (RLM), memory management, and REPL-based accuracy, see:
Always use the Emacs Lisp REPL for math, data manipulation, or status calculations. Accuracy is paramount; do not attempt manual calculations.
Run scripts/bootstrap.sh to ensure the daemon is active and the agent-init.el configuration is loaded.