Plots data from the current conversation context using gnuplot and outputs a transparent-background PNG image that renders inline.
Ships in emacs-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.
emacsclient --eval '
(face-foreground (quote default))'
This returns a hex color like "#eeffff". Reuse it for all subsequent plots.
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 ...
pngcairo transparent terminal for transparent background./tmp/agent-plot-$(date +%s).png). Never use descriptive names like agent-plot-lorenz.png.$DATA << EOD ... EOD) when practical. For large datasets, write a separate data file.) on its own line.noopaque, no box) so the Emacs background shows through and the FG-colored text stays legible. Never make the key opaque: on a transparent terminal it fills the key box with an opaque (often white) background, which hides the light FG text. If the legend would overlap dense or filled data, move it to an empty corner or use set key outside rather than making it opaque.fs transparent solid 0.15) so any legend or labels drawn over them remain readable against the Emacs background.enhanced text mode for subscripts/superscripts when needed.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/emacs-skills:gnuplotfrom emacs-skills
npx claudepluginhub xenodium/emacs-skills --plugin emacs-skills19 skills in this plugin
/d2This skill should be used when the user invokes "/d2" to create a diagram from the current context using D2 and output the resulting image path./describeThis skill should be used when the user invokes "/describe" to look up Emacs documentation via emacsclient./diredThis skill should be used when the user invokes "/dired" to open files from the latest interaction in an Emacs dired buffer via emacsclient./emacsclientAlways 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./file-linksWhen referencing files, format them as markdown links with line numbers using GitHub-style #L syntax./github-activityThis skill should be used when the user invokes "/github-activity" to analyze a GitHub project's recent activity (PRs and issues) and produce a succinct, chart-backed health report.Other plugins' skills for the same job