From emacs-skills
Plots data from the current conversation context using matplotlib via uv, outputting a transparent-background PNG that renders inline. Useful for quick ad-hoc visualizations without leaving the chat.
How this skill is triggered — by the user, by Claude, or both
Slash command
/emacs-skills:matplotlibThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Plot data from the most recent interaction context using matplotlib. Generate a PNG image with a transparent background and output it as a markdown image so it renders inline.
Plot data from the most recent interaction context using matplotlib. 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.uv run --with matplotlib.
uv run --with matplotlib /tmp/agent-plot-XXXX.py
import matplotlib.pyplot as plt
fig, ax = plt.subplots(figsize=(10, 6))
fig.patch.set_alpha(0)
ax.set_facecolor('none')
FG = "#eeffff" # from emacsclient query
ax.spines['bottom'].set_color(FG)
ax.spines['left'].set_color(FG)
ax.spines['top'].set_visible(False)
ax.spines['right'].set_visible(False)
ax.tick_params(colors=FG)
ax.xaxis.label.set_color(FG)
ax.yaxis.label.set_color(FG)
ax.title.set_color(FG)
# ... plot commands using the data ...
plt.tight_layout()
plt.savefig("/tmp/agent-plot-XXXX.png", dpi=150, transparent=True)
fig.patch.set_alpha(0) and ax.set_facecolor('none') for transparent background.transparent=True in savefig./tmp/agent-plot-$(date +%s).png). Never use descriptive names like agent-plot-lorenz.png.uv run --with matplotlib. Do not use pip install.) on its own line.ax.legend(facecolor='#1a1a2e', edgecolor=FG, labelcolor=FG) for dark backgrounds.ax.grid(True, alpha=0.2, color=FG) for subtle gridlines.Guides collaborative design exploration before implementation: explores context, asks clarifying questions, proposes approaches, and writes a design doc for user approval.
Creates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.
Resolves in-progress git merge or rebase conflicts by analyzing history, understanding intent, and preserving both changes where possible. Runs automated checks after resolution.
npx claudepluginhub xenodium/emacs-skills --plugin emacs-skills