open
Open files in Emacs
Open files from the most recent interaction in Emacs buffers using emacsclient --eval. Only include files relevant to the latest interaction (files just generated, edited, listed, or produced by the most recent tool output), not all files mentioned throughout the conversation.
How to open
First, locate agent-skill-open.el which lives alongside this skill file at skills/open/agent-skill-open.el in the emacs-skills plugin directory.
Each file spec in :files is either a string (file path) or a plist with :file and optional :line.
More from xenodium/emacs-skills
emacsclient
Always use emacsclient instead of emacs. This applies to all Emacs operations: user requests, byte compilation, check-parens, running ERT tests, and any other elisp evaluation.
59describe
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.
42select
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