Agent skill

Cell Visualization Code

by yrui-cmd in yrui-cmd/Cell

生成、重构或审核科研可视化代码,支持 Python 的 Matplotlib/Seaborn 与 MATLAB. An agent skill from yrui-cmd/Cell.

MITAuto-check passedData & Analytics

Install Cell Visualization Code

skills CLI
$ npx skills add yrui-cmd/Cell --skill cell-visualization-code -a claude-code

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

GitHub CLI
$ gh skill install yrui-cmd/Cell cell-visualization-code --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/yrui-cmd/Cell.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/cell-visualization-code .claude/skills/cell-visualization-code && 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
cell-visualization-code
GitHub stars
105
Token cost
~784 tokens
SKILL.md length
120 words
Files
23 (incl. scripts, references, assets)
Skills in repo
11
Repo updated
First seen
Licence
MIT

At a glance

生成、重构或审核科研可视化代码,支持 Python 的 Matplotlib/Seaborn 与 MATLAB. An agent skill from yrui-cmd/Cell.

  • Works in 6 steps: 锁定输入和用途 → 建立任务 profile → 编写或重构代码 → …
  • Tasks that involve Data visualization
  • SKILL.md covers 路由与边界, 不可破坏的事实, 工作流程 and 完成条件
  • Runs Python scripts from its folder; calls python

What it does

Cell Visualization Code is an agent skill from yrui-cmd/Cell. 生成、重构或审核科研可视化代码,支持 Python 的 Matplotlib/Seaborn 与 MATLAB。 适用于用户要求按论文或报告规范编写绘图代码、统一多图样式、改造已有绘图脚本、 适配 IEEE Transactions 或 Elsevier 等出版版式、校准最终物理尺寸、矢量导出或 检查代码可复现性。保留数据、统计和科学含义, 不用于从参考论文反向复现数据图、机制示意图、图片编辑或图像描摹。

Its SKILL.md is about 780 tokens, which your agent loads only when the skill is triggered. The skill folder holds 27 other files, including scripts, reference files and assets (for example `agents/openai.yaml`, `assets/profile.example.json` and `assets/python_plot_template.py`).

It sits in Data & Analytics, covering Data visualization. It works with Python, Matplotlib and Seaborn. The repository describes itself as: Cell 科研工作 Skill 集合:选题、计划、综述、投稿、科研绘图与 PowerPoint 编辑。 The licence is MIT.

When your agent uses it

  • Tasks that involve Data visualization

Example prompts

  • “/cell-visualization-code”

Requirements

  • Python 3

Workflow steps

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

  1. 锁定输入和用途
  2. 建立任务 profile
  3. 编写或重构代码
  4. 在最终物理尺寸下设计
  5. 实际运行和双层验收
  6. 交付

What it can do on your machine

Read from SKILL.md and the folder at commit ecf0048. 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

    Ships 2 files in scripts/ (Python, from the files we listed), which the agent can run.

    Shell commands in SKILL.md call:

    • python

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

  • Network

    No URLs in SKILL.md.

    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

Cell Visualization Code loads about 784 tokens when it runs, and up to ~5.1k if it reads all its reference files. Until then it costs about 57 tokens; SKILL.md has 120 words of instructions outside code blocks.

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

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); the scripts in this folder are not scanned.

SKILL.md

The full file from yrui-cmd/Cell at commit ecf0048, republished under its MIT licence (© yrui-cmd). 120 words, ~784 tokens.

Download SKILL.mdSave it as .claude/skills/cell-visualization-code/SKILL.md (or your agent's skills folder). This skill also uses 22 other files; get the full folder from GitHub.
name
cell-visualization-code
description
生成、重构或审核科研可视化代码,支持 Python 的 Matplotlib/Seaborn 与 MATLAB。 适用于用户要求按论文或报告规范编写绘图代码、统一多图样式、改造已有绘图脚本、 适配 IEEE Transactions 或 Elsevier 等出版版式、校准最终物理尺寸、矢量导出或 检查代码可复现性。保留数据、统计和科学含义, 不用于从参考论文反向复现数据图、机制示意图、图片编辑或图像描摹。
metadata.compatibility
需要读取数据和代码、执行所选后端并查看实际输出的宿主。Python 路径通常需要 Matplotlib;MATLAB 路径需要可用的 MATLAB。配置检查脚本仅依赖 Python 3.10+ 标准库。
metadata.version
1.1.0
metadata.language
zh-CN

科研可视化代码规范

把绘图代码做成可复现的科研产物,而不是一次性调图脚本。最终判断基于真实数据、实际运行结果和目标版面中的可读性。

路由与边界

先确定任务是新建代码、重构已有代码还是审核代码,并保留用户指定的后端。

  • Python/Matplotlib/Seaborn:读取 Python 规范。
  • MATLAB:读取 MATLAB 规范。
  • 两条路径都读取 共享代码合同;选择字号和尺寸时读取 版式策略与示例 profile;准备交付时读取 输出与验收。
  • 目标为 IEEE Transactions 或 Elsevier 时,另读 出版商 Profile,并以具体期刊 Guide for Authors 覆盖通用值。
  • 需要将参考论文图先用参考数据复现、通过门槛后再换用户数据时,改用 cell-data-figure。
  • 需要生成机制图、图形摘要或概念示意图时,不使用本 Skill。
  • 只处理 LaTeX 全文分页、浮动体和投稿材料时,改用 cell-submission。

用户只要求审核时不直接改文件;用户要求生成或修改时才写入代码。已有代码能局部修复就不整体换语言、换库或重写分析流程。

不可破坏的事实

  1. 不改变观测值、分组、样本身份、单位、时间顺序、统计口径和缺失规则来改善外观。
  2. 不从图片重建虚假原始点,不用随机数替代缺失实验数据,不复制参考图的 P 值、误差条或效应量。
  3. 图中 n、误差、区间、显著性和比较对象必须能回到真实输入或已核验计算;设计信息不足时只做有边界的描述性图。
  4. 用户提供的已有计算结果默认只可视化;除非任务要求,不在绘图脚本中重新训练模型、重新拟合主分析或隐式改变筛选。
  5. 颜色不能成为唯一信息通道;同时使用线型、标记、标签、位置或面板结构。语义相同的对象在同一项目中保持相同编码。
  6. 哈希、文件存在、静态配置通过不能证明图正确;必须实际运行并查看输出。

工作流程

1. 锁定输入和用途

读取真实数据、已有代码、目标图和期刊/报告要求。明确每行数据代表什么、独立单位、配对或重复测量、单位、变换、缺失与筛选规则。确定最终使用场景、单栏/双栏/自定义宽度、需要的格式和是否要求可编辑源文件。

未知期刊尺寸时不要伪造官方要求;使用可说明的项目 profile,并把数字标为项目选择。IEEE 8.89 cm 等值只在已确认对应模板时使用。

2. 建立任务 profile

从 示例 profile 复制到任务工作区并替换为实际值。它记录后端、源画布、文档显示宽度、字体层级、线宽、语义颜色、输入和输出,不记录科研结论。native_final_size 的源宽等于显示宽;scaled_source 必须在导出后测量实际 PDF 边界并复核缩放后的可见字号,不能把两种策略的数值混用。

bash
python scripts/check_profile.py path/to/profile.json

检查通过只表示 profile 完整且路径安全。已有项目若使用同等配置对象,不要求为迁就本 Skill 重写格式,但必须保留相同信息。

3. 编写或重构代码

代码至少分离:输入读取、输入验证、必要计算、绘图、导出和入口。样式常量集中管理,单图代码只定义科学内容与必要布局。使用相对路径、命令行参数或显式配置,不写开发者机器的绝对路径。

随机抖动、抽样或布局算法显式保存种子;无随机过程不为形式添加种子。禁止静默捕获异常后继续输出“成功”图。

可从 Python 模板 或 MATLAB 模板 开始,但必须根据真实字段、设计和目标图修改;模板示例不是用户数据或完成证据。

4. 在最终物理尺寸下设计

先确定最终宽高,再设置字体、线宽、标记、图例和子图间距。不要先制作巨大画布再整体缩小,也不要用缩小字体解决布局冲突。单栏和双栏应是独立 profile;复杂多面板从一栏改两栏时重新组织面板,而非简单把宽度乘二。

图例不遮挡数据、科学计数法、误差条或关键区间。自动位置可以作为初值,正式交付前必须实际检查;人工拖动后的坐标要回写代码。

5. 实际运行和双层验收

在干净工作目录用交付代码和必要输入实际重跑。先检查图本身,再检查它插入最终论文/报告后的页面。源图在 100% 缩放下好看,不代表缩放到栏宽后可读。

若 bbox_inches="tight"、外置色条或轴外文字改变 PDF 页面边界,以导出后的实际尺寸为准。检查字体替换、文字是否仍为文字、线条/图元是否保持矢量,以及栅格层是否具有足够分辨率。

6. 交付

交付实际可运行的代码、最少必要输入或输入合同、任务 profile,以及用户或目标期刊要求的图件。MATLAB 在用户需要继续手调时可交 .fig;Python 不制造虚假的可编辑工程格式。

内部保留运行命令、软件版本、输入与输出哈希和实际查看记录;不把缓存、测试图、旧版脚本和未采用 profile 混入最终目录。未实际运行所选后端时,只能交待运行代码并明确未完成运行验收。

完成条件

  • 代码从声明的输入重新生成全部声明输出,不依赖开发者绝对路径或未交付的隐藏文件。
  • 数据映射、单位、统计标注、样本量和图注含义一致。
  • 最终物理尺寸、字体层级、线宽、面板、图例和颜色编码已经实际查看。
  • 矢量与栅格格式符合当前任务要求;扩展名与真实格式一致。
  • 同一项目的图使用同一个已确认 profile,确需例外时在代码中说明具体原因。
  • 插入目标文档后重新编译或渲染并检查;未完成这一项时不宣称出版版面验收通过。

© yrui-cmd, 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 22 other files (scripts, references, assets) in skills/cell-visualization-code of yrui-cmd/Cell.

  • SKILL.md
  • agents/openai.yaml
  • assets/matlab_plot_template.m
  • assets/profile.example.json
  • assets/python_plot_template.py
  • assets/styles/elsevier-general.json
  • assets/styles/ieee-transactions.json
  • references/matlab.md
  • references/output-qa.md
  • references/publisher-profiles.md
  • references/python-matplotlib.md
  • references/shared-contract.md
  • references/style-profiles.md
  • requirements.txt
  • scripts/check_profile.py
  • scripts/check_style_profile.py
  • … and 7 more

Open the folder on GitHubat commit ecf0048

Compare with similar skills

Cell Visualization Code 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.

Cell Visualization Code compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cell Visualization Code this skillyrui-cmd/Cell105—~784Automated safety check: PassMIT
Ieee Figure TableCloudWave818/ieee-skills355—~1kAutomated safety check: PassMIT
Nature FigureCitrus-bit/Anaxa1202 repos~2.7kAutomated safety check: PassMIT
CJK Font Setup for Plotsxjtulyc/MedgeClaw6171 repos~1.3kAutomated safety check: PassNone
Release Evidence WorkflowAli-Marandi/ClimateDataAnalyzer107—~1.6kAutomated safety check: PassMIT
IntelligrapherMrLee2R/Intelligrapher112—~388Automated safety check: PassMIT

Similar skills

  • Ieee Figure Table

    CloudWave818/ieee-skills

    Audit, redesign, generate, and improve IEEE manuscript figures, tables, captions, result presentation, plotting scripts, visual polish, hybrid Python/R plus vector-editor workflows…

    355 GitHub stars~1k tokensUpdated 1 mo ago
    Data & AnalyticsAuto-check passed
  • Nature Figure

    Citrus-bit/Anaxa

    Submission-grade Nature/high-impact journal figure workflow for Python or R.

    120 GitHub starsUsed in 2 repos~2.7k tokens
    Data & AnalyticsAuto-check passed
  • 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
  • Release Evidence Workflow

    Ali-Marandi/ClimateDataAnalyzer

    Build an auditable release-evidence workflow for a desktop or packaged application.

    107 GitHub stars~1.6k tokensUpdated 1 mo ago
    Data & AnalyticsAuto-check passed
  • Intelligrapher

    MrLee2R/Intelligrapher

    科研绘图智能助手。当用户需要科研绘图、数据可视化、配色建议、期刊风格调整、生成 matplotlib 或 seaborn 绘图代码、或询问某专业领域图表规范时触发。支持多领域与顶刊审美,输出可直接运行的 Python 脚本。

    112 GitHub stars~388 tokensUpdated 4 mo ago
    Data & AnalyticsAuto-check passed
  • Scientific Figure Generation

    lingzhi227/agent-research-skills

    Generates publication-quality scientific figures with matplotlib or seaborn through query expansion, a run-and-retry coding loop and a visual check of the rendered PNG.

    384 GitHub stars~809 tokensUpdated 7 mo ago
    Data & AnalyticsAuto-check passed

More from yrui-cmd/Cell

All 11 skills in this repo
  • Cell Cns Figure

    yrui-cmd/Cell

    Submit research text and optional JPG, PNG, or PDF references to the Xiaomiao journal-figure API, show the live balance, and schedule checks every 3 minutes for stage A and every 10 minutes for…

    105 GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed
  • Cell Data Figure

    yrui-cmd/Cell

    科研数据绘图、顶刊数据图复现与研究数据替换。先按研究问题和数据结构选择可比参考图, 必须用数据编写并实际运行参考复现代码,核验视觉一致性后才能替换用户数据。

    105 GitHub stars~1.6k tokensUpdated yesterday
    Auto-check passed
  • 深度润色已有英文科研论文,在尽量保留作者原意、数据、科学判断和表达习惯的前提下, 改善英文准确性、论证逻辑、证据与结论匹配、段落结构和术语一致性,并减少模板化、 宣传式和模型化表达,使文本保持真实作者声音。

    105 GitHub stars~890 tokensUpdated yesterday
    Auto-check passed
  • Cell Plan

    yrui-cmd/Cell

    根据研究题目、投稿目标和现有条件,筛选并全文阅读20篇对标原始研究,直接安排具体研究路线、分析或实验任务、先后顺序和时间。用于“帮我安排这个课题怎么做”“对标某个期刊制定研究计划”“根据新结果调整后续工作”。不用于只查文献、只写综述、泛泛选题。

    105 GitHub stars~1.6k tokensUpdated yesterday
    Auto-check passed
  • Cell Brainstorm

    yrui-cmd/Cell

    单模型、证据驱动的科研选题头脑风暴。用于研究方向、课题构思、创新性与可行性评估;固定六步形成五个不同选题,包含最新查新、具体知识增量和最小验证路径。运行时只报步骤编号,结束后以研究生提交导师的简明选题论证稿交付。

    105 GitHub stars~936 tokensUpdated yesterday
    Auto-check passed
  • Cell Review

    yrui-cmd/Cell

    撰写或更新参考所属领域顶级期刊标准的完整文献综述。执行问题界定、期刊与同类综述对标、可追溯检索筛选、原始证据核查、矛盾分析、主题综合和引用核验。适用于“写综述”“文献综述”“literature review”“按顶刊标准综述”等任务。最终只交付完整 Word(.docx)综述,正文实际引用至少 30…

    105 GitHub stars~2.5k tokensUpdated yesterday
    Auto-check passed

Questions about Cell Visualization Code

What does Cell Visualization Code do?

生成、重构或审核科研可视化代码,支持 Python 的 Matplotlib/Seaborn 与 MATLAB. An agent skill from yrui-cmd/Cell. Cell Visualization Code is an agent skill from yrui-cmd/Cell.

When should I use Cell Visualization Code?

Cell Visualization Code fits situations like: tasks that involve Data visualization.

How do I install Cell Visualization Code in Claude Code?

Run `npx skills add yrui-cmd/Cell --skill cell-visualization-code -a claude-code`. Or copy the skill folder (skills/cell-visualization-code in yrui-cmd/Cell) into .claude/skills/cell-visualization-code in your project. Claude Code loads it when a task matches its description.

How do I install Cell Visualization Code in Codex?

Run `npx skills add yrui-cmd/Cell --skill cell-visualization-code -a codex`. Or copy the skill folder (skills/cell-visualization-code in yrui-cmd/Cell) into .agents/skills/cell-visualization-code in your project. Codex loads it when a task matches its description.

Can I use Cell Visualization Code 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 yrui-cmd/Cell --skill cell-visualization-code -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cell-visualization-code, .gemini/skills/cell-visualization-code, .github/skills/cell-visualization-code and .opencode/skills/cell-visualization-code in your project.

What does Cell Visualization Code need to run?

Going by SKILL.md and its folder, Cell Visualization Code needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Cell Visualization Code access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Cell Visualization Code 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Cell Visualization Code use?

Cell Visualization Code is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Cell Visualization Code use?

About 784 tokens (SKILL.md is roughly 3.1k 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 4.3k tokens, read only when the agent opens those files.

What are the alternatives to Cell Visualization Code?

Skills that share tags, products or a category with Cell Visualization Code: Ieee Figure Table (CloudWave818/ieee-skills, 355 stars), Nature Figure (Citrus-bit/Anaxa, 120 stars), CJK Font Setup for Plots (xjtulyc/MedgeClaw, 617 stars) and Release Evidence Workflow (Ali-Marandi/ClimateDataAnalyzer, 107 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cell Visualization Code?

yrui-cmd (a GitHub user) maintains it in yrui-cmd/Cell, which has 105 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on October 6, 2026.

Source: yrui-cmd/Cell on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.