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 "/select" to open one or more files in Emacs and select a region relevant to the current discussion via emacsclient.
$ npx -y skills add xenodium/emacs-skills --skill select --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/selectContext preview
The summary Claude sees to decide when to auto-load this skill.
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.
name: select description: '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.' tools: Bash disable-model-invocation: true
Open one or more files in Emacs and select (activate the region around) the code or text most relevant to the current discussion using `emacsclient --eval`. This allows the user to immediately act on the selection: narrow, copy, refactor, comment, etc.
Determine the relevant files and line ranges from the most recent interaction context.
First, locate `agent-skill-select.el` which lives alongside this skill file at `skills/select/agent-skill-select.el` in the emacs-skills plugin directory.
emacsclient --eval '
(progn
(load "/path/to/skills/select/agent-skill-select.el" nil t)
(agent-skill-select
:selections (quote (("/path/to/file1.el"
:start 10
:end 25)
("/path/to/file2.el"
:start 5
:end 12)))))'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…