emacsclient
Always use emacsclient
The user has an Emacs server running. All Emacs operations must go through emacsclient, never emacs or emacs --batch. This includes both user-requested actions and agent-initiated operations like byte compilation, syntax checking, or running tests.
Examples
More from xenodium/emacs-skills
describe
This skill should be used when the user invokes "/describe" to look up Emacs documentation via emacsclient.
43dired
This skill should be used when the user invokes "/dired" to open files from the latest interaction in an Emacs dired buffer via emacsclient.
42open
This skill should be used when the user invokes "/open" to open files from the latest interaction in Emacs buffers via emacsclient.
40select
This skill should be used when the user invokes "/select" to open one or more files in Emacs and select a region relevant to the current discussion via emacsclient.
39highlight
This skill should be used when the user invokes "/highlight" to highlight relevant regions in one or more files in Emacs via emacsclient.
39file-links
When referencing files, format them as markdown links with line numbers using GitHub-style #L syntax.
36