Agent skill

Chart Style Unifier

by aipoch in aipoch/medical-research-skills

Batch-unify typography (font family, size, italics) for Word table cells and embedded charts; use when you need consistent formatting across theses/reports without changing body text.

MITAuto-check passedFrontend & Design

Install Chart Style Unifier

skills CLI
$ npx skills add aipoch/medical-research-skills --skill chart-style-unifier -a claude-code

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

GitHub CLI
$ gh skill install aipoch/medical-research-skills chart-style-unifier --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/chart-style-unifier .claude/skills/chart-style-unifier && 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
chart-style-unifier
GitHub stars
2k
Token cost
~3k tokens
SKILL.md length
796 words
Files
7 (incl. scripts, references)
Skills in repo
578
Repo updated
First seen
Licence
MIT

At a glance

Batch-unify typography (font family, size, italics) for Word table cells and embedded charts; use when you need consistent formatting across theses/reports without changing body text.

  • Works in 5 steps: When to Use → Key Features → Dependencies → …
  • You need consistent formatting across theses/reports without changing body text
  • SKILL.md covers When to Use, Key Features, Dependencies and Example Usage, plus 6 more sections
  • Runs Python scripts from its folder; calls python and pip; reaches mirrors.aliyun.com

What it does

Chart Style Unifier is an agent skill from aipoch/medical-research-skills. Batch-unify typography (font family, size, italics) for Word table cells and embedded charts; use when you need consistent formatting across theses/reports without changing body text.

Its SKILL.md is about 3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including scripts and reference files (for example `chart-style-unifier_audit_result_v1.json`, `references/style-apply-checklist.md` and `references/style-spec-template.md`).

It sits in Frontend & Design, covering Typography and Data visualization. It works with 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 consistent formatting across theses/reports without changing body text
  • Tasks that involve Typography
  • Tasks that involve Data visualization

Example prompts

  • “/chart-style-unifier”

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

    Ships 3 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python
    • pip

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

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • mirrors.aliyun.com

    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

Chart Style Unifier loads about 3k tokens when it runs, and up to ~3.5k if it reads all its reference files. Until then it costs about 51 tokens; SKILL.md has 796 words of instructions outside code blocks.

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

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 aipoch/medical-research-skills at commit 686e09d, republished under its MIT licence (© aipoch). 796 words, ~3,035 tokens.

Download SKILL.mdSave it as .claude/skills/chart-style-unifier/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
chart-style-unifier
description
Batch-unify typography (font family, size, italics) for Word table cells and embedded charts; use when you need consistent formatting across theses/reports without changing body text.
license
MIT
author
AIPOCH

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

Chart Style Unifier

When to Use

  • Use this skill when you need batch-unify typography (font family, size, italics) for word table cells and embedded charts; use when you need consistent formatting across theses/reports without changing body text in a reproducible workflow.
  • Use this skill when a others task needs a packaged method instead of ad-hoc freeform output.
  • Use this skill when the user expects a concrete deliverable, validation step, or file-based result.
  • Use this skill when scripts/change_table_font.py is the most direct path to complete the request.
  • Use this skill when you need the chart-style-unifier package behavior rather than a generic answer.

Key Features

  • Scope-focused workflow aligned to: Batch-unify typography (font family, size, italics) for Word table cells and embedded charts; use when you need consistent formatting across theses/reports without changing body text.
  • Packaged executable path(s): scripts/change_table_font.py plus 2 additional script(s).
  • 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

bash
cd "20260316/scientific-skills/Others/chart-style-unifier"
python -m py_compile scripts/change_table_font.py
python scripts/change_table_font.py --help

Example run plan:

  1. Confirm the user input, output path, and any required config values.
  2. Edit the in-file CONFIG block or documented parameters if the script uses fixed settings.
  3. Run python scripts/change_table_font.py with the validated inputs.
  4. Review the generated output and return the final artifact with any assumptions called out.

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: scripts/change_table_font.py with additional helper scripts under scripts/.
  • 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

  • You need to normalize table cell fonts across a Word document (e.g., thesis tables must use SimSun 10pt).
  • You have many embedded Word charts and want consistent typography (title/axis/ticks/legend/data labels) without manual editing.
  • You are preparing a final submission/export (PDF/print) and want to eliminate inconsistent chart/table styling.
  • Your document contains mixed chart types (with/without titles/legends) and you need a robust batch operation that won’t fail on missing elements.
  • You have linked charts and want a safe workflow: unify styles in the Excel sources first, then refresh in Word.

2. Key Features

  • Word table-only processing: updates typography inside table cells only; does not modify body text styles.
  • Embedded chart typography normalization (VBA):
    • Chart area base font
    • Chart title
    • Axis titles
    • Tick labels
    • Legend
    • Data labels
  • Config-driven Python workflow: initialize a run directory, edit a generated config.json, then execute.
  • Run isolation: outputs are written to outputs/runs/<timestamp>/ for traceability.
  • Linked chart guidance: highlights that Word-side changes can be overwritten by Excel link refresh.
Show full SKILL.md (309 more words)Show less

3. Dependencies

DependencyVersionPurposeNotes
python-docx>= 0.8.11Modify Word table cell runs/fontsUsed by scripts/change_table_font.py
pywin32>= 306Word/Excel COM automation for chart macrosWindows-only; required for COM-based operations

Installation:

bash
pip install python-docx pywin32

Optional (mirror):

bash
pip install -i https://mirrors.aliyun.com/pypi/simple python-docx pywin32

4. Example Usage

4.1 Unify Word Table Cell Fonts (Python, runnable)
bash

# 1) Initialize a run directory for table processing
python scripts/init_run.py --table

# 2) Edit the generated config:

# outputs/runs/<timestamp>/config.json

# 3) Execute the table font unification
python scripts/change_table_font.py

Example outputs/runs/<timestamp>/config.json:

json
{
  "target_doc_path": "C:/Users/xxx/Desktop/document.docx",
  "font_name": "SimSun",
  "font_size": 10,
  "target_type": "table",
  "italic_numbers": false,
  "italic_chinese": false,
  "lowercase_letters": false,
  "status": "pending"
}
4.2 Unify Embedded Chart Typography (Word VBA, runnable)

Paste into Word VBA Editor (Alt+F11) and run NormalizeChartTypography:

vba
Option Explicit

Public Sub NormalizeChartTypography()
    Dim fontName As String
    Dim baseSize As Single, titleSize As Single
    Dim axisTitleSize As Single, tickLabelSize As Single
    Dim legendSize As Single, dataLabelSize As Single

    fontName = InputBox("Font Name", "Unify Chart Fonts", "Times New Roman")
    baseSize = CSng(InputBox("Base Size (ChartArea)", "Unify Chart Fonts", "9"))
    titleSize = CSng(InputBox("Chart Title Size", "Unify Chart Fonts", "11"))
    axisTitleSize = CSng(InputBox("Axis Title Size", "Unify Chart Fonts", "9"))
    tickLabelSize = CSng(InputBox("Tick Label Size", "Unify Chart Fonts", "8"))
    legendSize = CSng(InputBox("Legend Size", "Unify Chart Fonts", "10"))
    dataLabelSize = CSng(InputBox("Data Label Size", "Unify Chart Fonts", "8"))

    Application.ScreenUpdating = False

    Dim ish As InlineShape, shp As Shape
    For Each ish In ActiveDocument.InlineShapes
        If ish.HasChart Then
            ApplyChartTypography ish.Chart, fontName, baseSize, titleSize, axisTitleSize, tickLabelSize, legendSize, dataLabelSize
        End If
    Next ish

    For Each shp In ActiveDocument.Shapes
        If shp.HasChart Then
            ApplyChartTypography shp.Chart, fontName, baseSize, titleSize, axisTitleSize, tickLabelSize, legendSize, dataLabelSize
        End If
    Next shp

    Application.ScreenUpdating = True
End Sub

Private Sub ApplyChartTypography(cht As Object, fontName As String, baseSize As Single, _
                                 titleSize As Single, axisTitleSize As Single, tickLabelSize As Single, _
                                 legendSize As Single, dataLabelSize As Single)
    On Error Resume Next

    With cht.ChartArea.Format.TextFrame2.TextRange.Font
        .Name = fontName
        .Size = baseSize
    End With

    If cht.HasTitle Then
        With cht.ChartTitle.Format.TextFrame2.TextRange.Font
            .Name = fontName
            .Size = titleSize
        End With
    End If

    If cht.HasLegend Then
        With cht.Legend.Format.TextFrame2.TextRange.Font
            .Name = fontName
            .Size = legendSize
        End With
    End If

    Dim axType As Variant, axGroup As Variant, ax As Object
    For Each axType In Array(1, 2) ' 1=xlCategory, 2=xlValue
        For Each axGroup In Array(1, 2) ' 1=xlPrimary, 2=xlSecondary
            Set ax = Nothing
            Set ax = cht.Axes(axType, axGroup)
            If Not ax Is Nothing Then
                ax.TickLabels.Font.Name = fontName
                ax.TickLabels.Font.Size = tickLabelSize
                If ax.HasTitle Then
                    ax.AxisTitle.Format.TextFrame2.TextRange.Font.Name = fontName
                    ax.AxisTitle.Format.TextFrame2.TextRange.Font.Size = axisTitleSize
                End If
            End If
        Next axGroup
    Next axType

    Dim s As Object
    For Each s In cht.SeriesCollection
        If s.HasDataLabels Then
            s.DataLabels.Font.Name = fontName
            s.DataLabels.Font.Size = dataLabelSize
        End If
    Next s

    On Error GoTo 0
End Sub
4.3 Unify Linked Chart Source Files (Excel VBA, runnable)

Run in Excel on the source workbook(s) before refreshing links in Word:

vba
Option Explicit

Public Sub NormalizeLinkedChartTypography()
    Dim fontName As String
    Dim baseSize As Single, titleSize As Single
    Dim axisTitleSize As Single, tickLabelSize As Single
    Dim legendSize As Single, dataLabelSize As Single

    fontName = InputBox("Font Name", "Unify Chart Fonts", "Times New Roman")
    baseSize = CSng(InputBox("Base Size (ChartArea)", "Unify Chart Fonts", "9"))
    titleSize = CSng(InputBox("Chart Title Size", "Unify Chart Fonts", "11"))
    axisTitleSize = CSng(InputBox("Axis Title Size", "Unify Chart Fonts", "9"))
    tickLabelSize = CSng(InputBox("Tick Label Size", "Unify Chart Fonts", "8"))
    legendSize = CSng(InputBox("Legend Size", "Unify Chart Fonts", "10"))
    dataLabelSize = CSng(InputBox("Data Label Size", "Unify Chart Fonts", "8"))

    Application.ScreenUpdating = False

    Dim ws As Worksheet, co As ChartObject
    For Each ws In ActiveWorkbook.Worksheets
        For Each co In ws.ChartObjects
            ApplyChartTypography co.Chart, fontName, baseSize, titleSize, axisTitleSize, tickLabelSize, legendSize, dataLabelSize
        Next co
    Next ws

    Application.ScreenUpdating = True
End Sub

5. Implementation Details

5.1 Processing Scope and Constraints
  • Allowed input: only the Word document path explicitly provided by the user (target_doc_path).
  • Output directory: outputs/runs/<timestamp>/.
  • Disallowed access: parent traversal (../) and sensitive system directories.
  • No network usage: local-only operations; no external APIs; no credentials.
5.2 Python Table Unification Logic (Conceptual)
  • Reads outputs/runs/<timestamp>/config.json.
  • Opens the .docx and iterates tables → rows → cells → paragraphs → runs.
  • Applies:
    • font_name and font_size to runs inside table cells.
    • Optional toggles (if enabled in config): italics rules for numbers/Chinese/lowercase letters.
  • Saves results into the run output directory (implementation-dependent).
5.3 Chart Typography Tokens (What Gets Normalized)

Recommended parameter mapping (used by the VBA macros):

ElementVBA TargetParameter
Chart area baseChart.ChartAreabaseSize
Chart titleChart.ChartTitletitleSize
Axis titlesAxes(...).AxisTitleaxisTitleSize
Tick labelsAxes(...).TickLabelstickLabelSize
LegendChart.LegendlegendSize
Data labelsSeries.DataLabelsdataLabelSize
5.4 Linked Charts: Overwrite Behavior
  • If a chart in Word is linked to Excel, refreshing the link can overwrite Word-side formatting.
  • Safe workflow:
    1. Normalize chart typography in the Excel source files (Excel VBA).
    2. Refresh/update links in Word.
    3. Only use Word VBA for charts that are truly embedded (not linked).
5.5 Repository Entry Points
ScriptPurpose
scripts/init_run.pyCreate outputs/runs/<timestamp>/ and a starter config.json
scripts/generate_style_pack.pyGenerate matplotlib/plotly style packs from a unified config
scripts/change_table_font.pyApply table cell font normalization based on config.json
5.6 References
  • Test cases: tests/test_table_font.py
  • Evaluation checklist: references/style-apply-checklist.md
  • Style specification template: references/style-spec-template.md

© 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 (scripts, references) in scientific-skills/Other/chart-style-unifier of aipoch/medical-research-skills.

  • SKILL.md
  • chart-style-unifier_audit_result_v1.json
  • references/style-apply-checklist.md
  • references/style-spec-template.md
  • scripts/change_table_font.py
  • scripts/generate_style_pack.py
  • scripts/init_run.py

Open the folder on GitHubat commit 686e09d

Compare with similar skills

Chart Style Unifier 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.

Chart Style Unifier compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Chart Style Unifier this skillaipoch/medical-research-skills2k—~3kAutomated safety check: PassMIT
Tidyfactor StylerTidyFactor/Styler118—~1.7kAutomated safety check: PassApache-2.0
UI UX Pro Maxfutureboard/futureboard-studio107—~5.6kAutomated safety check: PassMIT
Banner DesignOhh-889/skyroc7959 repos~2.1kAutomated safety check: PassMIT
Gpt Tastecaorushizi/oss-client11313 repos~2kAutomated safety check: PassNone
Refactoring UIwondelai/skills2.4k—~3.9kAutomated safety check: PassMIT

Similar skills

  • Tidyfactor Styler

    TidyFactor/Styler

    Production framework styler and surgical RTL UI polish engine with Contextual Decision Layer (CDL).

    118 GitHub stars~1.7k tokensUpdated 1 mo ago
    Frontend & DesignAuto-check passed
  • UI UX Pro Max

    futureboard/futureboard-studio

    Comprehensive design guide for web, mobile, and desktop applications.

    107 GitHub stars~5.6k tokensUpdated 2 days ago
    Frontend & DesignAuto-check passed
  • Banner Design

    Ohh-889/skyroc

    Design banners for social media, ads, website heroes, creative assets, and print.

    795 GitHub starsUsed in 9 repos~2.1k tokens
    Frontend & DesignAuto-check passed
  • Gpt Taste

    caorushizi/oss-client

    Elite UX/UI & Advanced GSAP Motion Engineer. An agent skill from caorushizi/oss-client.

    113 GitHub starsUsed in 13 repos~2k tokens
    Frontend & DesignAuto-check passed
  • Refactoring UI

    wondelai/skills

    Audit and fix visual hierarchy, spacing, color, and depth in web UIs.

    2.4k GitHub stars~3.9k tokensUpdated 28 days ago
    Frontend & DesignAuto-check passed
  • Pro Deck Builder

    thatrebeccarae/claude-marketing

    Create polished HTML slide decks and PDF-ready documents for consulting deliverables.

    162 GitHub stars~6.1k tokensUpdated 4 mo ago
    Frontend & DesignAuto-check passed

More from aipoch/medical-research-skills

All 578 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 22 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 22 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 22 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 22 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 22 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 22 days ago
    Auto-check passed

Works with

Questions about Chart Style Unifier

What does Chart Style Unifier do?

Batch-unify typography (font family, size, italics) for Word table cells and embedded charts; use when you need consistent formatting across theses/reports without changing body text. Chart Style Unifier is an agent skill from aipoch/medical-research-skills. Batch-unify typography (font family, size, italics) for Word table cells and embedded charts; use when you need consistent formatting across theses/reports without changing body text.

When should I use Chart Style Unifier?

Chart Style Unifier fits situations like: you need consistent formatting across theses/reports without changing body text; tasks that involve Typography; tasks that involve Data visualization.

How do I install Chart Style Unifier in Claude Code?

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

How do I install Chart Style Unifier in Codex?

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

Can I use Chart Style Unifier 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 chart-style-unifier -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/chart-style-unifier, .gemini/skills/chart-style-unifier, .github/skills/chart-style-unifier and .opencode/skills/chart-style-unifier in your project.

What does Chart Style Unifier need to run?

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

Does Chart Style Unifier access the network?

SKILL.md names 1 domain. In commands or code: mirrors.aliyun.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Chart Style Unifier 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 Chart Style Unifier use?

Chart Style Unifier 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 Chart Style Unifier use?

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

What are the alternatives to Chart Style Unifier?

Skills that share tags, products or a category with Chart Style Unifier: Tidyfactor Styler (TidyFactor/Styler, 118 stars), UI UX Pro Max (futureboard/futureboard-studio, 107 stars), Banner Design (Ohh-889/skyroc, 795 stars) and Gpt Taste (caorushizi/oss-client, 113 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Chart Style Unifier?

aipoch (a GitHub organization) maintains it in aipoch/medical-research-skills, which has 1,978 GitHub stars. The repository holds 578 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.