data-visualization
Skill30k starsChanged 3 months agoMITView on GitHub
Use for creating publication-quality charts and multi-panel analysis summaries. Triggers when tasks involve visualizing data, plotting results, creating charts, or producing visual reports from analysis output.
33 other projects use a version of this.
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Most recently taken up by
- cellrishi-code/claude-skills-atlastheir own version, first seen Oct 4, 2026
- kensaurus/skillstheir own version, first seen Oct 1, 2026
- laban405/ui-design-skillstheir own version, first seen Sep 22, 2026
- talhaMah56/claude_skillstheir own version, first seen Sep 12, 2026
- oh-da/datainktheir own version, first seen Aug 23, 2026
- tim-mcdonnell/skillstheir own version, first seen Jul 29, 2026
Who's talking about langchain-ai/deepagents
- @catalyst.coop“Deep Agents is an open source project from LangChain to let anybody build their own model-agnostic agent …”Bluesky · Apr 4, 2026 · 12 likes
- @arifsolmaz.bsky.social“LangChain's DeepAgents gives you a production-ready AI agent in 3 lines of code - complete with planning, …”Bluesky · Mar 22, 2026 · 4 likes
- A Hacker News story“Deepagents”Hacker News · Jul 3, 2026 · 3 points
- @technews4869.bsky.social“github.com/langchain-ai/de... GitHub - langchain-ai/deepagents: Agent harness built with LangChain and …”Bluesky · Mar 19, 2026 · 3 likes
- @ramikrispin.bsky.social“New Code Agent from LangChain - Deep Agents github.com/langchain-ai... #ai #llm #datascience”Bluesky · Oct 31, 2025 · 3 likes
The biggest 5 of 62 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 62
Talked about on GitHub, Bluesky and Hacker News (62 times).
On GitHub · 50
- Sep 29, 2026Open Source Friday - [Deep Agents] - [11-13-2026] — githubevents/open-source-friday2 reactions · 8 comments
- Aug 18, 2026Allow a state channel to be checkpointed/restorable but excluded from `StateSnapshot.values` — langchain-ai/langgraph2 reactions · 6 comments
- Nov 21, 2026build(deps): bump the uv-minor-and-patch group across 1 directory with 7 updates — IntelIP/InfiniteFlightAgent1 reaction · 1 comment
- Oct 12, 2026Add hypothesis planning, resumable checkpoints and fenced Agent execution — MISTRYUSER/Argus-OTA-Platform1 reaction · 1 comment
- Oct 8, 2026chore(deps): bump the pip group across 1 directory with 5 updates — truefoundry/trueforge1 reaction · 3 comments
45 more on GitHub
- Jul 24, 2026feat(deepagents): simplify prompting — langchain-ai/deepagentsjs1 reaction · 3 comments
- Jun 29, 2026chore(standard-tests): add sandbox integration test for offloading large `execute` results — langchain-ai/langchain1 reaction
- Mar 13, 2026fix(middleware): use .content instead of .text for LangChain messages — NurraHealth/deepagents1 reaction · 2 comments
- Jan 14, 2026Integrate DeepAgents Example — i-am-bee/agentstack1 reaction · 2 comments
- Dec 9, 2025The js version of langchain doesn't set config with recursion_limit while python version does. — langchain-ai/deepagentsjs1 reaction · 2 comments
- Nov 3, 2025New CLI Tools — johnhenry/awesome-ai-tools1 reaction
- Sep 3, 2025Missing automation and other features — leizerowicz/project-start1 reaction
- Nov 24, 2026feat(langchain): add Modal chat model provider — langchain-ai/langchain0 reactions · 1 comment
- Nov 24, 2026[integration]: ChatModal (pending chat-model release) — langchain-ai/docs0 reactions
- Nov 23, 2026chore(deps): bump deepagents from 0.5.0 to 0.7.41 — Vela3202019/promptloop0 reactions
- Nov 23, 2026chore(deps)(deps): bump deepagents from 0.7.39 to 0.7.41 in /langchain-agents/deep-agents/hackflow-agent — fetchai/innovation-lab-examples0 reactions
- Nov 22, 2026build(deps): bump the python-minor-and-patch group across 1 directory with 3 updates — vietsosad/Medical_AI_Agent0 reactions
- Nov 20, 2026build(deps): bump deepagents from 0.7.32 to 0.7.39 in /04-langchain-upstage-deepagents/src — jyje/pilot-upstage-solar-open20 reactions
- Nov 19, 2026chore(deps): Bump deepagents from 0.7.38 to 0.7.39 — srtab/daiv0 reactions
- Nov 19, 2026FilesystemBackend.grep searches siblings when a file path uses the fallback — langchain-ai/deepagentsjs0 reactions · 3 comments
- Nov 19, 2026Follow up deepagents-cli upstream updates: PreToolUse onError: deny (0.2.11) not emitted from failClosed — dyoshikawa/rulesync0 reactions
- Nov 19, 2026chore(deps): bump deepagents from 0.7.19 to 0.7.38 — CopperPilot/copper-pilot-cli0 reactions
- Nov 12, 2026Native remote-agent delegation using LangChain subagents — caipe-io/ai-platform-engineering0 reactions · 1 comment
- Nov 5, 2026R&D: Deep Agents compatibility harness for Systemia / Work Saban — jgaethle10/forge-operator0 reactions · 2 comments
- Nov 3, 2026chore(deps): update deepagents requirement from >=0.6 to >=0.7.39 — BhaskaraRao-Aerupilli/InquireX0 reactions
- Oct 30, 2026[deepagents]: repository architecture guide describes opt-in todo management as a default capability[deepagents]: <Please write a comprehensive title> — langchain-ai/docs0 reactions · 2 comments
- Oct 28, 2026build(deps): bump deepagents from 0.7.21 to 0.7.32 in /backend — knqiufan/AIIntelBureau0 reactions
- Oct 28, 2026chore(deps): update deepagents requirement from >=0.6 to >=0.7.32 — lijy-forge/PaperGuide-Agent0 reactions
- Oct 28, 2026langchain-openrouter: support OAuth PKCE authentication — langchain-ai/langchain0 reactions
- Oct 26, 2026[Feature] Sub Agent 派生与 Agent 能力分档 — Code-MonkeyZhang/persona-agent0 reactions
- Oct 21, 2026Structured ask-the-user tool for mid-run clarification in interactive agent — SWE-agent/mini-swe-agent0 reactions · 1 comment
- Oct 21, 2026Follow up deepagents-cli upstream updates: canonical MCP oauth block now gets servers skipped (Slack custom OAuth app, 0.1.87) — dyoshikawa/rulesync0 reactions
- Oct 16, 2026chore(deps): update deepagents requirement from >=0.6 to >=0.7.24 — umbc-seng691-team/SENG-691-gpt-researcher0 reactions
- Oct 9, 2026README documents a nonexistent dcode marketplace update command — langchain-ai/langchain-plugins0 reactions
- Oct 3, 2026[Add] Deep Agents (langchain-ai/deepagents) — PyTorchKR/landscape0 reactions
- Oct 2, 2026Bump: Bump deepagents from 0.7.15 to 0.7.19 — objones25/my-agent0 reactions
- Oct 1, 2026chore(deps): update deepagents requirement from >=0.6 to >=0.7.19 — huxleylee329-dancer/wenxianzongshu_research0 reactions
- Sep 30, 2026chore(deps): bump deepagents from 0.6.12 to 0.7.19 — jbsoftware-io/gen-ai-starter0 reactions · 1 comment
- Sep 26, 2026build(deps): update deepagents requirement from ~=0.7.9 to ~=0.7.18 in /backend — Nisarg6502/f1-hub0 reactions
- Sep 25, 2026chore(deps-dev): bump deepagents from 0.7.13 to 0.7.28 — PrayforH/KAI0 reactions · 1 comment
- Sep 24, 2026chore(deps): update deepagents requirement from >=0.6 to >=0.7.15 — 2033-horizon/reasearch0 reactions
- Sep 22, 2026chore(deps): update deepagents requirement from >=0.6 to >=0.7.15 — ZimaAI/pharma-scope0 reactions
- Sep 21, 2026chore(deps): bump deepagents from 0.7.13 to 0.7.22 — TekkenSteve/fastapi_langgraph_template0 reactions
- Sep 20, 2026Update deepagents requirement from >=0.6 to >=0.7.15 — vinod1rai249-max/gpt-research0 reactions
- Sep 18, 2026langgraph dev Studio UI 연동 실패 - Windows Chrome PNA 정책으로 시도 중단 — DahaeKimEsther/book_chatbot_manual0 reactions · 1 comment
- Sep 17, 2026Update deepagents requirement from >=0.6 to >=0.7.14 — lyy00702/traceable-deep-research-agent0 reactions
- Sep 12, 2026Update deepagents requirement from >=0.6 to >=0.7.13 — KarimAbdelkader-code/gpt-researcher0 reactions
- Sep 12, 2026chore(deps): update deepagents requirement from >=0.6 to >=0.7.13 — Fateorcloud/DeepResearch-KB0 reactions
- Sep 8, 2026ci(deps): bump deepagents from 0.6.12 to 0.7.13 — spark-match/spark-match-07-deep-agent0 reactions · 1 comment
- Sep 7, 2026Update deepagents requirement from >=0.6 to >=0.7.13 — girishlade111/gpt-researcher0 reactions
On Bluesky · 10
- Apr 4, 2026Deep Agents is an open source project from LangChain to let anybody build their own model-agnostic agent harness (tools like Claude Code or… — @catalyst.coop12 likes and reposts · 7 replies
- Mar 22, 2026LangChain's DeepAgents gives you a production-ready AI agent in 3 lines of code - complete with planning, file ops, shell access, and… — @arifsolmaz.bsky.social4 likes and reposts
- Mar 19, 2026github.com/langchain-ai/de... GitHub - langchain-ai/deepagents: Agent harness built with LangChain and LangGraph. Equipped wit... — @technews4869.bsky.social3 likes and reposts
- Oct 31, 2025New Code Agent from LangChain - Deep Agents github.com/langchain-ai... #ai #llm #datascience — @ramikrispin.bsky.social3 likes and reposts
- Mar 25, 2026LangChain vient d'open-sourcer Deep Agents : un framework MIT qui réplique le fonctionnement de Claude Code. Agent prêt à l'emploi avec… — @camilleroux.com2 likes and reposts
5 more on Bluesky
- Mar 17, 2026今日のGitHubトレンド langchain-ai/deepagents Deep Agentsは、すぐに利用できるエージェントフレームワークです。 プロンプト、ツール、コンテキスト管理の初期設定を省略し、すぐにカスタマイズ可能なエージェントを構築できます。… — @dailygithubtrends.bsky.social2 likes and reposts
- Mar 16, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 langchain-ai / deepagents ⭐ 12,130 (+444) 🗒 Python Agent harness built with LangChain and… — @github-trending.bsky.social2 likes and reposts · 1 reply
- Nov 12, 2025langchain-ai / deepagents https://github.com/langchain-ai/deepagents — @pythonhub.dev2 likes and reposts
- Jul 3, 2026LangChain's open source "batteries included" harness for building agents with planning, subagent delegation, and long running task loops… — @bestofhn.bsky.social1 likes and repost
- Mar 24, 2026https://github.com/langchain-ai/deepagents — @tom-doerr.bsky.social1 likes and repost
On Hacker News · 2
- Jul 3, 2026Deepagents3 points · 1 comment
- Aug 27, 2026LangChain-AI/deepagents: agent harness1 point
Used with
Projects with it also use loading-states, interview-script and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
dylantarreSkillloading-states
Use when indicating progress or waiting - spinners, progress bars, skeleton screens, shimmer effects, or any animation showing the system is working.
Also in 3 projects that use this
launchapp-devSkillinterview-script
Create a structured user interview script with warm-up, core exploration, and wrap-up sections. Use when preparing for user research interviews to ensure consistent, insightful conversations.
Also in 3 projects that use this
MicrosoftSkillpresentations
Create or edit editable PowerPoint PPTX slides and Google Slides-bound decks. Use for presentations, slide layouts, speaker notes, and template-based decks.
Also in 3 projects that use this
SentrySkillfeature-flags
Gate a Sentry feature behind a FlagPole feature flag. Use when adding a feature flag, registering a flag in temporary.py, checking a flag from Python or the frontend, enabling a flag in tests, or asking where FlagPole rollout config lives. Trigger on "add a feature flag", "gate this behind a flag", "register a flag", "features.has", "api_expose", "OrganizationFeature", "ProjectFeature", "FlagPole".
Also in 3 projects that use this
skytiger6724Skillab-test-analysis
Analyze A/B test results with statistical significance, sample size validation, confidence intervals, and ship/extend/stop recommendations. Use when evaluating experiment results, checking if a test reached significance, interpreting split test data, or deciding whether to ship a variant.
Also in 3 projects that use this
MicrosoftSkillapi-design
Guide for designing and documenting RESTful APIs. Use when asked to design an API, create endpoints, or document an API.
Also in 5 projects that use this
Other versions33 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 33
- anthropics/knowledge-work-plugins★ 26ksame name
- openai/plugins★ 7.3ksame name
- vivy-yi/xiaohongshu-skills★ 470same name
- NTCoding/claude-skillz★ 352same name
- dylantarre/animation-principles★ 94same name
- didixuxu/didi-skills★ 85same name
- launchapp-dev/animus-cli★ 38same name
- xjtulyc/awesome-rosetta-skills★ 34same name
- kensaurus/skills★ 9same name
- rade-nugroho/Agentic-Enteprises-Skill★ 9same name
23 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository41 other files it gives its agents.
- AGENTS.mdAGENTS.md
- examples/content-builder-agent/AGENTS.mdAGENTS.md
- examples/deploy-coding-agent/AGENTS.mdAGENTS.md
- examples/deploy-content-writer/AGENTS.mdAGENTS.md
- examples/deploy-content-writer/user/AGENTS.mdAGENTS.md
- examples/deploy-gtm-agent/AGENTS.mdAGENTS.md
- examples/deploy-gtm-agent/subagents/market-researcher/AGENTS.mdAGENTS.md
- examples/deploy-mcp-docs-agent/AGENTS.mdAGENTS.md
- examples/nvidia_deep_agent/src/AGENTS.mdAGENTS.md
- examples/talon/AGENTS.mdAGENTS.md
- examples/text-to-sql-agent/AGENTS.mdAGENTS.md
- libs/code/AGENTS.mdAGENTS.md
- libs/evals/AGENTS.mdAGENTS.md
- libs/partners/AGENTS.mdAGENTS.md
- libs/talon/deepagents_talon/defaults/agents/external-research/AGENTS.mdAGENTS.md
- libs/talon/deepagents_talon/defaults/agents/internal-research/AGENTS.mdAGENTS.md
- libs/talon/deepagents_talon/defaults/AGENTS.mdAGENTS.md
- textual-screenshotSkill
- blog-postSkill
- social-mediaSkill
- code-reviewSkill
- coding-prefsSkill
- planningSkill
- blog-postSkill
- social-mediaSkill
- competitor-analysisSkill
- analyze-marketSkill
- cudf-analyticsSkill
- cuml-machine-learningSkill
- gpu-document-processingSkill
- query-writingSkill
- schema-explorationSkill
- deepagents-thread-inspectorSkill
- rememberSkill
- skill-creatorSkill
- arxiv-searchSkill
- langgraph-docsSkill
- skill-creatorSkill
- web-researchSkill
- configuration-hardeningSkill
- safetySkill
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 5 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 29 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Create publication-quality analytical charts using matplotlib and seaborn in a headless GPU sandbox.
- Distinctive: line 12
Use this skill when:
- Very specific: line 21
MUST call matplotlib.use('Agg') BEFORE importing pyplot.
- Very specific: line 49
Always save to /workspace/ with these settings:
- Very specific: line 61
Always call plt.close() after saving to free memory
- Very specific: line 65
After saving any chart, you MUST call read_file on it to display it inline in the conversation:
- Distinctive: line 245
Use this to create a single image with multiple charts — the most effective way to present a complete analysis.
- Very specific: line 329
Use COLORS palette (colorblind-safe) — never rely on color alone to distinguish elements
- Distinctive: line 330
No pie charts (bar charts are always clearer)
- Distinctive: line 331
No 3D plots (distort data perception)
- Distinctive: line 342
Keep chart titles descriptive but concise
“Common” is measured: kept by at least 6 in 10 of the 29 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Data Visualization Skill
Create publication-quality analytical charts using matplotlib and seaborn in a headless GPU sandbox. Charts are saved as PNG files to /workspace/ for retrieval.
When to Use This Skill
Use this skill when:
- Visualizing results from cuDF analysis or cuML models
- Creating charts (bar, line, scatter, heatmap, histogram, box plot)
- Building multi-panel analysis summaries
- The user asks for visual output, plots, graphs, or charts
- Presenting statistical findings with figures
Initialization (REQUIRED)
MUST call matplotlib.use('Agg') BEFORE importing pyplot. This enables headless rendering.
import matplotlib
matplotlib.use('Agg') # Headless backend — MUST be before pyplot import
import matplotlib.pyplot as plt
import numpy as np
# Publication-quality defaults
plt.rcParams.update({
'figure.dpi': 100,
'savefig.dpi': 300,
'font.size': 11,
'axes.labelsize': 12,
'axes.titlesize': 14,
'xtick.labelsize': 10,
'ytick.labelsize': 10,
'legend.fontsize': 10,
'figure.constrained_layout.use': True,
})
# Colorblind-safe palette (Okabe-Ito)
COLORS = ['#0173B2', '#DE8F05', '#029E73', '#D55E00', '#CC78BC',
'#CA9161', '#FBAFE4', '#949494', '#ECE133', '#56B4E9']Saving Charts
Always save to /workspace/ with these settings:
plt.savefig('/workspace/chart_name.png', dpi=300, bbox_inches='tight',
facecolor='white', edgecolor='none')
plt.close()
# IMPORTANT: call read_file("/workspace/<chart>.png") to display inlinedpi=300for print qualitybbox_inches='tight'removes excess whitespacefacecolor='white'ensures white background- Always call
plt.close()after saving to free memory
Displaying Charts (REQUIRED)
After saving any chart, you MUST call read_file on it to display it inline in the conversation:
read_file("/workspace/chart_name.png")Users cannot see charts unless you do this. Every chart you save MUST be followed by a read_file call.
Quick Reference
Bar Chart (from groupby results)
# After: result = to_pd(df.groupby("category")["value"].mean())
fig, ax = plt.subplots(figsize=(8, 5))
bars = ax.bar(result.index, result.values, color=COLORS[:len(result)],
edgecolor='black', linewidth=0.8)
for bar in bars:
height = bar.get_height()
ax.text(bar.get_x() + bar.get_width()/2., height,
f'{height:.1f}', ha='center', va='bottom', fontsize=9)
ax.set_ylabel('Mean Value', fontweight='bold')
ax.set_xlabel('Category', fontweight='bold')
ax.set_title('Average Value by Category', fontweight='bold')
ax.grid(axis='y', alpha=0.3, linestyle='--')
ax.set_axisbelow(True)
plt.savefig('/workspace/bar_chart.png', dpi=300, bbox_inches='tight',
facecolor='white', edgecolor='none')
plt.close()
# IMPORTANT: call read_file("/workspace/<chart>.png") to display inlineLine Chart (trends over time)
fig, ax = plt.subplots(figsize=(10, 5))
for i, col in enumerate(columns_to_plot):
ax.plot(df["date"], df[col], label=col, color=COLORS[i], linewidth=2,
marker='o', markersize=3, markevery=max(1, len(df)//20))
ax.set_ylabel('Values', fontweight='bold')
ax.set_xlabel('Date', fontweight='bold')
ax.set_title('Trends Over Time', fontweight='bold')
ax.legend(frameon=True, shadow=False)
ax.grid(True, alpha=0.3, linestyle='--')
ax.set_axisbelow(True)
plt.xticks(rotation=45, ha='right')
plt.savefig('/workspace/line_chart.png', dpi=300, bbox_inches='tight',
facecolor='white', edgecolor='none')
plt.close()
# IMPORTANT: call read_file("/workspace/<chart>.png") to display inlineScatter Plot — Continuous Color (correlations)
fig, ax = plt.subplots(figsize=(8, 6))
scatter = ax.scatter(df["x"], df["y"], c=df["value"], cmap='viridis',
s=40, alpha=0.7, edgecolors='black', linewidth=0.3)
plt.colorbar(scatter, ax=ax, label='Value')
# Optional: trend line
z = np.polyfit(df["x"], df["y"], 1)
ax.plot(df["x"].sort_values(), np.poly1d(z)(df["x"].sort_values()),
"r--", linewidth=2, label=f'y={z[0]:.2f}x+{z[1]:.2f}')
ax.set_xlabel('X', fontweight='bold')
ax.set_ylabel('Y', fontweight='bold')
ax.set_title('Correlation Analysis', fontweight='bold')
ax.legend()
ax.grid(True, alpha=0.3, linestyle='--')
plt.savefig('/workspace/scatter_correlation.png', dpi=300, bbox_inches='tight',
facecolor='white', edgecolor='none')
plt.close()
# IMPORTANT: call read_file("/workspace/<chart>.png") to display inlineScatter Plot — Categorical Color (clusters)
fig, ax = plt.subplots(figsize=(8, 6))
for i, label in enumerate(sorted(df["cluster"].unique())):
mask = df["cluster"] == label
ax.scatter(df.loc[mask, "x"], df.loc[mask, "y"],
c=COLORS[i], label=f'Cluster {label}', s=40, alpha=0.7)
ax.set_xlabel('X', fontweight='bold')
ax.set_ylabel('Y', fontweight='bold')
ax.set_title('Cluster Visualization', fontweight='bold')
ax.legend()
ax.grid(True, alpha=0.3, linestyle='--')
plt.savefig('/workspace/scatter_clusters.png', dpi=300, bbox_inches='tight',
facecolor='white', edgecolor='none')
plt.close()
# IMPORTANT: call read_file("/workspace/<chart>.png") to display inlineHeatmap (correlation matrix or confusion matrix)
import seaborn as sns
fig, ax = plt.subplots(figsize=(8, 7))
# corr_matrix = to_pd(df[numeric_cols].corr())
sns.heatmap(corr_matrix, annot=True, fmt='.2f', cmap='RdBu_r', center=0,
square=True, linewidths=1, vmin=-1, vmax=1,
cbar_kws={'label': 'Correlation'}, ax=ax)
ax.set_title('Correlation Matrix', fontweight='bold')
plt.savefig('/workspace/heatmap.png', dpi=300, bbox_inches='tight',
facecolor='white', edgecolor='none')
plt.close()
# IMPORTANT: call read_file("/workspace/<chart>.png") to display inlineHistogram with KDE
fig, ax = plt.subplots(figsize=(8, 5))
ax.hist(df["value"], bins=30, color=COLORS[0], alpha=0.7,
edgecolor='black', linewidth=0.5, density=True, label='Distribution')
# Add KDE curve
from scipy.stats import gaussian_kde
kde = gaussian_kde(df["value"].dropna())
x_range = np.linspace(df["value"].min(), df["value"].max(), 200)
ax.plot(x_range, kde(x_range), color=COLORS[1], linewidth=2, label='KDE')
ax.set_xlabel('Value', fontweight='bold')
ax.set_ylabel('Density', fontweight='bold')
ax.set_title('Value Distribution', fontweight='bold')
ax.legend()
ax.grid(axis='y', alpha=0.3, linestyle='--')
plt.savefig('/workspace/histogram.png', dpi=300, bbox_inches='tight',
facecolor='white', edgecolor='none')
plt.close()
# IMPORTANT: call read_file("/workspace/<chart>.png") to display inlineBox Plot (compare groups)
fig, ax = plt.subplots(figsize=(8, 5))
groups = [df[df["group"] == g]["value"].values for g in group_names]
bp = ax.boxplot(groups, labels=group_names, patch_artist=True,
widths=0.6, showmeans=True,
meanprops=dict(marker='D', markerfacecolor='red', markersize=6))
for i, patch in enumerate(bp['boxes']):
patch.set_facecolor(COLORS[i % len(COLORS)])
patch.set_alpha(0.7)
ax.set_ylabel('Value', fontweight='bold')
ax.set_title('Distribution by Group', fontweight='bold')
ax.grid(axis='y', alpha=0.3, linestyle='--')
ax.set_axisbelow(True)
plt.savefig('/workspace/boxplot.png', dpi=300, bbox_inches='tight',
facecolor='white', edgecolor='none')
plt.close()
# IMPORTANT: call read_file("/workspace/<chart>.png") to display inlineMulti-Panel Analysis Summary
Use this to create a single image with multiple charts — the most effective way to present a complete analysis.
fig, axes = plt.subplots(2, 2, figsize=(14, 10))
# Top-left: Distribution
axes[0, 0].hist(df["value"], bins=30, color=COLORS[0], alpha=0.7, edgecolor='black', linewidth=0.5)
axes[0, 0].set_title('Value Distribution', fontweight='bold')
axes[0, 0].set_xlabel('Value')
axes[0, 0].grid(axis='y', alpha=0.3, linestyle='--')
# Top-right: Scatter
axes[0, 1].scatter(df["x"], df["y"], c=COLORS[0], s=30, alpha=0.5)
axes[0, 1].set_title('X vs Y', fontweight='bold')
axes[0, 1].set_xlabel('X')
axes[0, 1].set_ylabel('Y')
axes[0, 1].grid(True, alpha=0.3, linestyle='--')
# Bottom-left: Bar chart
group_means = df.groupby("category")["value"].mean()
axes[1, 0].bar(group_means.index, group_means.values, color=COLORS[:len(group_means)])
axes[1, 0].set_title('Mean by Category', fontweight='bold')
axes[1, 0].set_xlabel('Category')
axes[1, 0].grid(axis='y', alpha=0.3, linestyle='--')
# Bottom-right: Box plot
axes[1, 1].boxplot([df[df["category"] == c]["value"].values for c in categories],
labels=categories, patch_artist=True)
axes[1, 1].set_title('Distribution by Category', fontweight='bold')
axes[1, 1].grid(axis='y', alpha=0.3, linestyle='--')
fig.suptitle('Analysis Summary', fontsize=16, fontweight='bold')
plt.savefig('/workspace/analysis_summary.png', dpi=300, bbox_inches='tight',
facecolor='white', edgecolor='none')
plt.close()
# IMPORTANT: call read_file("/workspace/<chart>.png") to display inlineFeature Importance Chart (from cuML model)
fig, ax = plt.subplots(figsize=(8, max(4, len(feature_names) * 0.35)))
# importances = to_pd(model.feature_importances_)
sorted_idx = np.argsort(importances)
ax.barh(np.array(feature_names)[sorted_idx], importances[sorted_idx],
color=COLORS[0], edgecolor='black', linewidth=0.5)
ax.set_xlabel('Importance', fontweight='bold')
ax.set_title('Feature Importances', fontweight='bold')
ax.grid(axis='x', alpha=0.3, linestyle='--')
ax.set_axisbelow(True)
plt.savefig('/workspace/feature_importance.png', dpi=300, bbox_inches='tight',
facecolor='white', edgecolor='none')
plt.close()
# IMPORTANT: call read_file("/workspace/<chart>.png") to display inlineConfusion Matrix (from cuML classification)
import seaborn as sns
fig, ax = plt.subplots(figsize=(7, 6))
# cm = confusion_matrix(to_pd(y_test), to_pd(predictions))
sns.heatmap(cm, annot=True, fmt='d', cmap='Blues', square=True,
xticklabels=class_names, yticklabels=class_names,
linewidths=1, cbar_kws={'label': 'Count'}, ax=ax)
ax.set_xlabel('Predicted', fontweight='bold')
ax.set_ylabel('Actual', fontweight='bold')
ax.set_title('Confusion Matrix', fontweight='bold')
plt.savefig('/workspace/confusion_matrix.png', dpi=300, bbox_inches='tight',
facecolor='white', edgecolor='none')
plt.close()
# IMPORTANT: call read_file("/workspace/<chart>.png") to display inlineStyle Rules
- Use
COLORSpalette (colorblind-safe) — never rely on color alone to distinguish elements - No pie charts (bar charts are always clearer)
- No 3D plots (distort data perception)
- Grid lines at
alpha=0.3, linestyle='--'withax.set_axisbelow(True) - Bold axis labels and titles (
fontweight='bold') - White background for all exports
- 1-4 charts per analysis is typical; use multi-panel for more
Output Guidelines
- Save all charts to
/workspace/as PNG - Print file paths after saving so the agent can reference them
- For multi-panel summaries, use
figsize=(14, 10)for 2×2 layouts - Keep chart titles descriptive but concise
- Include units in axis labels when applicable
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

