Agent skill

Plotly

by aipoch in aipoch/medical-research-skills

Interactive visualization library for Python. An agent skill from aipoch/medical-research-skills.

MITAuto-check passedData & Analytics

Install Plotly

skills CLI
$ npx skills add aipoch/medical-research-skills --skill plotly -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aipoch/medical-research-skills plotly --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/scientific-skills/Other/plotly .claude/skills/plotly && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
plotly
GitHub stars
2k
Token cost
~2.7k tokens
SKILL.md length
978 words
Files
7 (incl. references)
Skills in repo
567
Repo updated
First seen
Licence
MIT

At a glance

Interactive visualization library for Python. An agent skill from aipoch/medical-research-skills.

  • Works in 5 steps: When to Use → Key Features → Dependencies → …
  • You need hover tooltips
  • SKILL.md covers When to Use, Key Features, Dependencies and Example Usage, plus 13 more sections
  • Calls uv

What it does

Plotly is an agent skill from aipoch/medical-research-skills. Interactive visualization library for Python. Use it when you need hover tooltips, zoom/pan, selection, animations, or charts embeddable in web pages (e.g., dashboards, exploratory analysis, presentations).

Its SKILL.md is about 2.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including reference files (for example `plotly_audit_result_v2.json`, `references/chart-types.md` and `references/export-interactivity.md`).

It sits in Data & Analytics, covering Data visualization. It works with Plotly and Python. The repository describes itself as: Hundreds of agent skills for medical research, including protocol design, data analysis, evidence insights, and academic writing. The licence is MIT.

When your agent uses it

  • You need hover tooltips
  • Charts embeddable in web pages (e.g.
  • Exploratory analysis

Example prompts

  • “/plotly”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. When to Use
  2. Key Features
  3. Dependencies
  4. Example Usage
  5. Implementation Details

What it can do on your machine

Read from SKILL.md and the folder at commit 686e09d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • uv

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Plotly loads about 2.7k tokens when it runs, and up to ~13k if it reads all its reference files. Until then it costs about 53 tokens; SKILL.md has 978 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~53
When it runs · the whole SKILL.md, loaded when a task matches
~2.7k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~13k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from aipoch/medical-research-skills at commit 686e09d, republished under its MIT licence (© aipoch). 978 words, ~2,664 tokens.

Download SKILL.mdSave it as .claude/skills/plotly/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
plotly
description
Interactive visualization library for Python. Use it when you need hover tooltips, zoom/pan, selection, animations, or charts embeddable in web pages (e.g., dashboards, exploratory analysis, presentations).
license
MIT
author
AIPOCH

Source: https://github.com/aipoch/medical-research-skills

Plotly

When to Use

  • Use this skill when the request matches its documented task boundary.
  • Use it when the user can provide the required inputs and expects a structured deliverable.
  • Prefer this skill for repeatable, checklist-driven execution rather than open-ended brainstorming.

Key Features

  • Scope-focused workflow aligned to: Interactive visualization library for Python. Use it when you need hover tooltips, zoom/pan, selection, animations, or charts embeddable in web pages (e.g., dashboards, exploratory analysis, presentations).
  • Documentation-first workflow with no packaged script requirement.
  • Reference material available in references/ for task-specific guidance.
  • Structured execution path designed to keep outputs consistent and reviewable.

Dependencies

  • Python: 3.10+. Repository baseline for current packaged skills.
  • Third-party packages: not explicitly version-pinned in this skill package. Add pinned versions if this skill needs stricter environment control.

Example Usage

text
Skill directory: 20260316/scientific-skills/Others/plotly
No packaged executable script was detected.
Use the documented workflow in SKILL.md together with the references/assets in this folder.

Example run plan:

  1. Read the skill instructions and collect the required inputs.
  2. Follow the documented workflow exactly.
  3. Use packaged references/assets from this folder when the task needs templates or rules.
  4. Return a structured result tied to the requested deliverable.

Implementation Details

  • Execution model: validate the request, choose the packaged workflow, and produce a bounded deliverable.
  • Input controls: confirm the source files, scope limits, output format, and acceptance criteria before running any script.
  • Primary implementation surface: instruction-only workflow in SKILL.md.
  • Reference guidance: references/ contains supporting rules, prompts, or checklists.
  • Parameters to clarify first: input path, output path, scope filters, thresholds, and any domain-specific constraints.
  • Output discipline: keep results reproducible, identify assumptions explicitly, and avoid undocumented side effects.

1. When to Use

Use Plotly when you need interactive, shareable visualizations, especially in these scenarios:

  • Exploratory data analysis (EDA): quickly inspect distributions, relationships, and outliers with hover and selection.
  • Dashboards and web embedding: publish interactive charts to HTML pages or integrate into web apps (e.g., Dash).
  • Time-series monitoring: use range sliders, zooming, and pan for dense temporal data.
  • Presentations and stakeholder reviews: interactive tooltips and legend toggling help explain results live.
  • Complex multi-panel figures: build subplots and multi-trace figures with fine-grained layout control.

If you only need static publication figures, consider Matplotlib or other scientific visualization tools.

2. Key Features

  • Two APIs
    • Plotly Express (plotly.express, px): high-level, concise API for common charts from DataFrames.
    • Graph Objects (plotly.graph_objects, go): low-level building blocks for full control and custom figures.
    • Plotly Express returns a Graph Objects Figure, so you can mix both styles.
  • 40+ chart types across statistical, scientific, financial, geospatial, and 3D categories.
  • Interactivity by default
    • hover tooltips, zoom/pan, legend toggling
    • box/lasso selection
    • range sliders (time series)
    • buttons/dropdowns and animations
  • Layout and styling
    • subplots (make_subplots)
    • templates (e.g., plotly_dark, plotly_white)
    • annotations, shapes, axes/legend control
  • Export
    • interactive HTML (write_html)
    • static images via Kaleido (write_image)

Reference guides (optional reading):

  • Plotly Express: reference/plotly-express.md
  • Graph Objects: reference/graph-objects.md
  • Chart catalog: reference/chart-types.md
  • Layout & styling: reference/layouts-styling.md
  • Export & interactivity: reference/export-interactivity.md

3. Dependencies

  • plotly>=5.0
  • pandas>=1.5 (recommended for DataFrame-based workflows)
  • kaleido>=0.2 (optional, required for static image export: PNG/SVG/PDF)
  • dash>=2.0 (optional, for building interactive web apps)

4. Example Usage

A complete runnable example demonstrating: Plotly Express + Graph Objects updates, hover customization, subplots, and export.

Install
bash
uv pip install "plotly>=5.0" "pandas>=1.5" "kaleido>=0.2"
Run
python
import pandas as pd
import plotly.express as px
import plotly.graph_objects as go
from plotly.subplots import make_subplots

def main():
    # Sample dataset
    df = pd.DataFrame(
        {
            "x": [1, 2, 3, 4, 5],
            "y": [10, 11, 12, 11.5, 13],
            "group": ["A", "A", "B", "B", "B"],
        }
    )

    # 1) Quick chart with Plotly Express
    fig_scatter = px.scatter(
        df,
        x="x",
        y="y",
        color="group",
        title="Scatter (px) + Graph Objects Updates",
        template="plotly_white",
    )

    # 2) Use Graph Objects methods on a px figure
    fig_scatter.update_traces(
        hovertemplate="x=%{x}<br>y=%{y:.2f}<br>group=%{marker.color}<extra></extra>"
    )
    fig_scatter.add_hline(y=11, line_dash="dash", line_color="gray")

    # 3) Build a small dashboard-like layout with subplots
    fig = make_subplots(
        rows=1,
        cols=2,
        subplot_titles=("Interactive Scatter", "Group Means (Bar)"),
        specs=[[{"type": "scatter"}, {"type": "bar"}]],
    )

    # Left: reuse traces from the px figure
    for tr in fig_scatter.data:
        fig.add_trace(tr, row=1, col=1)

    # Right: bar chart with group means
    means = df.groupby("group", as_index=False)["y"].mean()
    fig.add_trace(
        go.Bar(x=means["group"], y=means["y"], name="mean(y)"),
        row=1,
        col=2,
    )

    fig.update_layout(
        title="Plotly End-to-End Example",
        height=450,
        legend_title_text="Group",
        margin=dict(l=40, r=20, t=70, b=40),
    )

    # Show interactively (notebook or supported environment)
    fig.show()

    # Export
    fig.write_html("plotly_example.html", include_plotlyjs="cdn")
    fig.write_image("plotly_example.png")  # requires kaleido

if __name__ == "__main__":
    main()

5. Implementation Details

API choice: px vs go
  • Use plotly.express (px) when:
    • your data is in a Pandas DataFrame,
    • you want fast defaults and concise code,
    • you need standard charts (scatter/line/bar/histogram/box/violin, etc.).
  • Use plotly.graph_objects (go) when:
    • you need precise control over traces, axes, annotations, shapes, or multi-trace composition,
    • you are building uncommon chart types or highly customized figures.
  • Mixing is standard: px.* returns a go.Figure, so fig.update_layout(...), fig.add_trace(...), fig.add_hline(...), etc. work seamlessly.
Show full SKILL.md (403 more words)Show less
Interactivity configuration
  • Hover formatting: customize per-trace with hovertemplate to control text and numeric formatting.
  • Time-series navigation: enable range sliders via:
    • fig.update_xaxes(rangeslider_visible=True)
  • Selection tools: box/lasso selection is available by default in many chart types; you can further configure selection behavior via trace/layout options.
Export behavior
  • HTML export (write_html) preserves full interactivity.
    • include_plotlyjs="cdn" reduces file size but requires internet access to load Plotly JS.
  • Static export (write_image) requires Kaleido and produces PNG/SVG/PDF suitable for reports.

When Not to Use

  • Do not use this skill when the required source data, identifiers, files, or credentials are missing.
  • Do not use this skill when the user asks for fabricated results, unsupported claims, or out-of-scope conclusions.
  • Do not use this skill when a simpler direct answer is more appropriate than the documented workflow.

Required Inputs

  • A clearly specified task goal aligned with the documented scope.
  • All required files, identifiers, parameters, or environment variables before execution.
  • Any domain constraints, formatting requirements, and expected output destination if applicable.
  1. Validate the request against the skill boundary and confirm all required inputs are present.
  2. Select the documented execution path and prefer the simplest supported command or procedure.
  3. Produce the expected output using the documented file format, schema, or narrative structure.
  4. Run a final validation pass for completeness, consistency, and safety before returning the result.

Output Contract

  • Return a structured deliverable that is directly usable without reformatting.
  • If a file is produced, prefer a deterministic output name such as plotly_result.md unless the skill documentation defines a better convention.
  • Include a short validation summary describing what was checked, what assumptions were made, and any remaining limitations.

Validation and Safety Rules

  • Validate required inputs before execution and stop early when mandatory fields or files are missing.
  • Do not fabricate measurements, references, findings, or conclusions that are not supported by the provided source material.
  • Emit a clear warning when credentials, privacy constraints, safety boundaries, or unsupported requests affect the result.
  • Keep the output safe, reproducible, and within the documented scope at all times.

Failure Handling

  • If validation fails, explain the exact missing field, file, or parameter and show the minimum fix required.
  • If an external dependency or script fails, surface the command path, likely cause, and the next recovery step.
  • If partial output is returned, label it clearly and identify which checks could not be completed.

Quick Validation

Run this minimal verification path before full execution when possible:

text
No local script validation step is required for this skill.

Expected output format:

text
Result file: plotly_result.md
Validation summary: PASS/FAIL with brief notes
Assumptions: explicit list if any

© aipoch, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 6 other files (references) in scientific-skills/Other/plotly of aipoch/medical-research-skills.

  • SKILL.md
  • plotly_audit_result_v2.json
  • references/chart-types.md
  • references/export-interactivity.md
  • references/graph-objects.md
  • references/layouts-styling.md
  • references/plotly-express.md

Open the folder on GitHubat commit 686e09d

Compare with similar skills

Plotly next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Plotly compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Plotly this skillaipoch/medical-research-skills2k—~2.7kAutomated safety check: PassMIT
CJK Font Setup for Plotsxjtulyc/MedgeClaw6171 repos~1.3kAutomated safety check: PassNone
Plotlydavila7/claude-code-templates32k14 repos~1.8kAutomated safety check: PassMIT
Molecular Visualization 3dmoljaechang-hits/SciAgent-Skills370—~3.2kAutomated safety check: PassBSD-3-Clause
SeabornK-Dense-AI/scientific-agent-skills48k1 repos~3.4kAutomated safety check: NotesBSD-3-Clause
Data Visualizationw95/awesome-claude-corporate-skills2352 repos~2.8kAutomated safety check: PassMIT

Similar skills

  • CJK Font Setup for Plots

    xjtulyc/MedgeClaw

    Detects a usable Chinese, Japanese or Korean font and configures matplotlib so chart labels, titles and legends render instead of showing empty boxes.

    617 GitHub starsUsed in 1 repo~1.3k tokens
    Data & AnalyticsAuto-check passed
  • Plotly

    davila7/claude-code-templates

    Interactive scientific and statistical data visualization library for Python.

    32k GitHub starsUsed in 14 repos~1.8k tokens
    Data & AnalyticsAuto-check passed
  • Molecular Visualization 3dmol

    jaechang-hits/SciAgent-Skills

    3Dmol.js WebGL molecular visualization emitted as self-contained HTML.

    370 GitHub stars~3.2k tokensUpdated 8 days ago
    Data & AnalyticsAuto-check passed
  • Seaborn

    K-Dense-AI/scientific-agent-skills

    Creates Seaborn statistical visualizations with pandas integration for distributions, relationships, categorical comparisons, regression displays, pair plots, and heatmaps.

    48k GitHub starsUsed in 1 repo~3.4k tokens
    Data & AnalyticsAuto-check: notes
  • Data Visualization

    w95/awesome-claude-corporate-skills

    Create effective data visualizations with Python (matplotlib, seaborn, plotly).

    235 GitHub starsUsed in 2 repos~2.8k tokens
    Data & AnalyticsAuto-check passed
  • Build Sankey, alluvial, river, and CONSORT-style flow diagrams to visualize cohort transitions, cell-state changes, or pipeline filtering using ggalluvial, networkD3, plotly, and consort.

    1.2k GitHub starsUsed in 2 repos~2.9k tokens
    Data & AnalyticsAuto-check passed

More from aipoch/medical-research-skills

All 567 skills in this repo
  • Academic Poster Generator

    aipoch/medical-research-skills

    Complete workflow for generating academic research posters from PDF literature; use when you need to extract paper content from PDFs and produce a LaTeX-based poster…

    2k GitHub stars~2.2k tokensUpdated 20 days ago
    Auto-check passed
  • Diagnostic Study Quality Assessment Quadas

    aipoch/medical-research-skills

    Analyzes clinical diagnostic accuracy studies for bias using the QUADAS-2 tool.

    2k GitHub stars~1.4k tokensUpdated 20 days ago
    Auto-check passed
  • Exploratory Data Analysis

    aipoch/medical-research-skills

    Perform comprehensive exploratory data analysis on scientific data files across 200+ file formats.

    2k GitHub stars~3.7k tokensUpdated 20 days ago
    Auto-check passed
  • Iso Certification

    aipoch/medical-research-skills

    A toolkit for preparing ISO 13485:2016 certification documentation for medical device QMS.

    2k GitHub stars~1.8k tokensUpdated 20 days ago
    Auto-check passed
  • Journal Skills

    aipoch/medical-research-skills

    Recommends target journals for manuscript submission by analyzing the paper topic/abstract and the journal distribution of similar PubMed literature; use when users ask for journal…

    2k GitHub stars~1.7k tokensUpdated 20 days ago
    Auto-check passed
  • Latex Posters

    aipoch/medical-research-skills

    Creates academic-poster writing packages for LaTeX using beamerposter, tikzposter, or baposter.

    2k GitHub stars~1.3k tokensUpdated 20 days ago
    Auto-check passed

Works with

Questions about Plotly

What does Plotly do?

Interactive visualization library for Python. An agent skill from aipoch/medical-research-skills. Plotly is an agent skill from aipoch/medical-research-skills. Interactive visualization library for Python.

When should I use Plotly?

Plotly fits situations like: you need hover tooltips; charts embeddable in web pages (e.g; exploratory analysis.

How do I install Plotly in Claude Code?

Run `npx skills add aipoch/medical-research-skills --skill plotly -a claude-code`. Or copy the skill folder (scientific-skills/Other/plotly in aipoch/medical-research-skills) into .claude/skills/plotly in your project. Claude Code loads it when a task matches its description.

How do I install Plotly in Codex?

Run `npx skills add aipoch/medical-research-skills --skill plotly -a codex`. Or copy the skill folder (scientific-skills/Other/plotly in aipoch/medical-research-skills) into .agents/skills/plotly in your project. Codex loads it when a task matches its description.

Can I use Plotly in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aipoch/medical-research-skills --skill plotly -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/plotly, .gemini/skills/plotly, .github/skills/plotly and .opencode/skills/plotly in your project.

What does Plotly need to run?

Going by SKILL.md and its folder, Plotly needs the command-line tools its instructions call (uv). Our summary lists: Python 3.

Does Plotly access the network?

SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Plotly safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Plotly use?

Plotly is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Plotly use?

About 2.7k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 10k tokens, read only when the agent opens those files.

What are the alternatives to Plotly?

Skills that share tags, products or a category with Plotly: CJK Font Setup for Plots (xjtulyc/MedgeClaw, 617 stars), Plotly (davila7/claude-code-templates, 32k stars), Molecular Visualization 3dmol (jaechang-hits/SciAgent-Skills, 370 stars) and Seaborn (K-Dense-AI/scientific-agent-skills, 48k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Plotly?

aipoch (a GitHub organization) maintains it in aipoch/medical-research-skills, which has 1,973 GitHub stars. The repository holds 567 skills in this directory. The repository was last updated on September 17, 2026.

Source: aipoch/medical-research-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.