d2
This skill should be used when the user invokes "/d2" to create a diagram from the current context using D2 and output the…
This skill should be used when the user invokes "/open" to open files from the latest interaction in Emacs buffers via emacsclient.
$ npx -y skills add xenodium/emacs-skills --skill open --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/openContext preview
The summary Claude sees to decide when to auto-load this skill.
This skill should be used when the user invokes "/open" to open files from the latest interaction in Emacs buffers via emacsclient.
name: open description: 'This skill should be used when the user invokes "/open" to open files from the latest interaction in Emacs buffers via emacsclient.' tools: Bash disable-model-invocation: true
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.
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`.
emacsclient --eval '
(progn
(load "/path/to/skills/open/agent-skill-open.el" nil t)
(agent-skill-open
:files (quote ((:file "/path/to/file1.txt"
:line 42)
"/path/to/file2.txt"
"/path/to/file3.txt"))))'Claude Code skills for Emacs integration. These skills enable tighter integration with agents running inside Emacs, for example agent-shell.
This skill should be used when the user invokes "/d2" to create a diagram from the current context using D2 and output the…
This skill should be used when the user invokes "/describe" to look up Emacs documentation via emacsclient.
This skill should be used when the user invokes "/dired" to open files from the latest interaction in an Emacs dired buffer via…
Always use emacsclient instead of emacs. This applies to all Emacs operations: user requests, byte compilation, check-parens,…
When referencing files, format them as markdown links with line numbers using GitHub-style #L syntax.
This skill should be used when the user invokes "/github-activity" to analyze a GitHub project''s recent activity (PRs and…