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 "/gnuplot" to plot data from the current context using gnuplot and output the resulting image path.
$ npx -y skills add xenodium/emacs-skills --skill gnuplot --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/gnuplotContext preview
The summary Claude sees to decide when to auto-load this skill.
This skill should be used when the user invokes "/gnuplot" to plot data from the current context using gnuplot and output the resulting image path.
name: gnuplot description: 'This skill should be used when the user invokes "/gnuplot" to plot data from the current context using gnuplot and output the resulting image path.' tools: Bash disable-model-invocation: true
Plot data from the most recent interaction context using gnuplot. Generate a PNG image with a transparent background and output it as a markdown image so it renders inline.
1. Extract or derive plottable data from the current context. 2. If the Emacs foreground color is not already known from a previous plot in this session, query it:
emacsclient --eval ' (face-foreground (quote default))'
This returns a hex color like `"#eeffff"`. Reuse it for all subsequent plots. 3. Write a gnuplot script to a temporary file using that color. 4. Run gnuplot on the script. 5. Output the result as a markdown image on its own line:

gnuplot /tmp/agent-plot-XXXX.gp
set terminal pngcairo transparent enhanced size 800,500 set output "/tmp/agent-plot-XXXX.png" FG = "#eeffff" # from emacsclient query set border lc rgb FG set key textcolor rgb FG noopaque nobox # transparent: Emacs bg shows through, FG text stays legible set xlabel textcolor rgb FG set ylabel textcolor rgb FG set title textcolor rgb FG set xtics textcolor rgb FG set ytics textcolor rgb FG # ... plot commands using the data ...
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…