From emacs-skills
Opens files from the latest Claude Code interaction in an Emacs dired buffer via /dired and emacsclient --eval. Handles single or multi-directory files with agent-skill-dired.el.
npx claudepluginhub xenodium/emacs-skillsThis skill uses the workspace's default tool permissions.
Open files from the most recent interaction in an Emacs dired buffer 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.
Opens files from the latest interaction (generated, edited, listed) in Emacs buffers via emacsclient --eval and agent-skill-open.el. Invoked with /open.
Provides knowledge of Emacs ecosystem: elisp programming, Org-mode documents, Gnus mail/news, Tramp remote files, Eglot LSP client.
Handles file reads, writes, edits, directory listings, searches, trees, and moves via Claude Code's native tools like Read, Write, Edit, Glob, Grep, and Bash. Replaces MCP server; triggers on file operation requests.
Share bugs, ideas, or general feedback.
Open files from the most recent interaction in an Emacs dired buffer 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.
Determine whether the relevant files all reside in the same directory or span multiple directories, then call agent-skill-dired accordingly.
:dir is the directory, :files are basenames. Opens dired at that directory with the files marked in context.:dir is the common ancestor, :files are relative paths. Creates a curated *agent-files* buffer with all files marked.First, locate agent-skill-dired.el which lives alongside this skill file at skills/dired/agent-skill-dired.el in the emacs-skills plugin directory.
emacsclient --eval '
(progn
(load "/path/to/skills/dired/agent-skill-dired.el" nil t)
(agent-skill-dired
:dir "/path/to/directory"
:files (quote ("file1.txt"
"file2.txt"
"file3.txt"))))'
:files relative to :dir.agent-skill-dired.el relative to this skill file's directory.emacsclient --eval command via the Bash tool.