
Mqc legal chart master
Turns legal case data into statistical charts as SVG and editable PowerPoint
Mqc legal chart master is an open-source agent skill for files and documents. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- Python
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 182
- Last commit
- License
- AGPL-3.0
- Listing updated
Similar skills
About Mqc legal chart master
This skill produces statistical charts from legal data such as case outcomes, claim-versus-award comparisons, hearing durations, appeal paths, fund flows and yearly filing volumes. The agent picks a chart type from the shape of the data, with seventeen chart types available, and writes one JSON specification. A bundled Python script then computes all derived numbers and geometry and checks that any figure in a title can be derived from the data before the chart is released.
The workflow has the agent search a scenario library, map the data into a fixed JSON schema, and render output in SVG plus an editable PPTX, with optional PNG. Two visual styles and several canvas sizes such as 16:9 slides, A4 and square social images are supported. For batches of court judgments, a separate coding routine extracts case metadata, has the model code each case against a closed category list with quoted evidence, and produces a coding table and a set of charts.
It runs locally with the Python standard library and needs no external API. Operating it means providing a data file or a batch of judgment documents, and optionally installing a PNG conversion tool and openpyxl for Excel input.
When your agent uses it
法律图表大师。把法律数据画成精炼的统计图:判决结果构成、案由分布、诉请与判赔对照、审理天数、上诉去向、资金流向、年度收案。十七种图(竖柱、横条、百点方阵、南丁格尔玫瑰、哑铃、逐件分布、桑基、汇入图、逐级加减、气泡矩阵、发射扇、放射汇聚、点阵阶梯、法条沿革、区间胶囊、双读饼,另有备用的漏斗)由数据形状决定;另有类案编码(一批判决 → 编码表 → 一组图);模型只写一份 JSON,派生数与几何全部由脚本计算,标题里的数字必须能由数据推出。出 SVG 与可编辑 PPTX(PNG 可选),按 16:9 幻灯片或 A4 的物理尺寸排版,两种风格(奇川风 / 歸藏风),颜色只用风格原色,不换强调色(唯一例外:法律课件大师传入经校验的律所风格,重音换成律所主色,见 ADR 0011);奇川风的填充形状都是贝塞尔小圆角,歸藏风一律直角,流带两种风格都是直角。适用于课件、讲座、公众号与汇报。输入一组法律数据(JSON、CSV / Excel 清单或一批判决书),输出 SVG 与可编辑 PPTX。不适用:案件经过时间轴、法律关系图、流程图,以及统计推断与预测。纯本地运行,不联网、不调用任何外部 API。
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Runs Python scripts(see the files on GitHub)
- No network calls found in its scripts(see the files on GitHub)
- Includes binary files(see the files on GitHub)
- License: AGPL-3.0(see the files on GitHub)
From a static check of its 101 files (1.8 MB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the mqc-nlv plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add MiaoQichuan/new-litigation-visualization
/plugin install mqc-nlv@mqc-nlvOr copy only this skill to ~/.claude/skills/mqc-legal-chart-master:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/MiaoQichuan/new-litigation-visualization.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/mqc-legal-chart-master &&
cp -R "$tmp/plugins/mqc-nlv/skills/mqc-legal-chart-master" ~/.claude/skills/mqc-legal-chart-master &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/mqc-legal-chart-master inside it instead.
Copy the skill folder to ~/.agents/skills/mqc-legal-chart-master to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/MiaoQichuan/new-litigation-visualization.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/mqc-legal-chart-master &&
cp -R "$tmp/plugins/mqc-nlv/skills/mqc-legal-chart-master" ~/.agents/skills/mqc-legal-chart-master &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/mqc-legal-chart-master inside it instead.
Copy the skill folder to ~/.cursor/skills/mqc-legal-chart-master to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/MiaoQichuan/new-litigation-visualization.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/mqc-legal-chart-master &&
cp -R "$tmp/plugins/mqc-nlv/skills/mqc-legal-chart-master" ~/.cursor/skills/mqc-legal-chart-master &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/mqc-legal-chart-master inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/MiaoQichuan/new-litigation-visualization.git --path plugins/mqc-nlv/skills/mqc-legal-chart-masterOr copy the folder to ~/.gemini/skills/mqc-legal-chart-master yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/mqc-legal-chart-master:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/MiaoQichuan/new-litigation-visualization.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/mqc-legal-chart-master &&
cp -R "$tmp/plugins/mqc-nlv/skills/mqc-legal-chart-master" ~/.copilot/skills/mqc-legal-chart-master &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/mqc-legal-chart-master inside it instead.
Get the folder:
git clone --depth 1 https://github.com/MiaoQichuan/new-litigation-visualization.gitThen copy new-litigation-visualization/plugins/mqc-nlv/skills/mqc-legal-chart-master into your agent's skills folder as mqc-legal-chart-master. Agents that support SKILL.md read one folder per skill.
What it does
- Chart type selection
- Chooses among bar, waffle, sankey, strip, waterfall and other chart types based on the shape of the data.
- Computed figures and checks
- Derives percentages and totals with scripts and rejects titles whose numbers cannot be traced to the data.
- Case coding workflow
- Batch-codes court judgments into a coding table and a set of grouped charts with source trace files.
- Dataset and view grouping
- Accepts row-level case records and groups, filters and sorts them through a declared view.
- Editable slide output
- Exports SVG and editable PowerPoint files sized for 16:9 slides, A4, or social formats.
- Local-only operation
- Runs offline with the Python standard library and does not upload any data.
Good for
- Turn a batch of court judgments into a case-law study chart set
- Chart the outcome split of first-instance rulings for a training session
- Show claimed versus awarded amounts for a set of disputes
- Plot hearing durations against the statutory time limit
- Visualize fund flows between payment and receiving accounts
Mqc legal chart master FAQ
What input does the skill need?
A set of legal data in JSON, a CSV or Excel case list, or a batch of judgment documents, plus a title, scope, sample size and source for each chart.
Does Mqc legal chart master send data anywhere?
No. It states it runs locally, makes no network calls or external API requests, and only writes outputs to the user's chosen directory.
What outputs does Mqc legal chart master produce?
SVG and an editable PPTX, with PNG optional if a local conversion tool is installed.
What is not supported?
Case timelines, legal relationship diagrams, flowcharts, and statistical inference or prediction are outside its scope, and signed positive-negative comparison bars are not yet supported.
How do I install Mqc legal chart master in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/mqc-legal-chart-master to use it in all your projects, or to .claude/skills/mqc-legal-chart-master in one project. Or install the mqc-nlv plugin, which includes it: /plugin marketplace add MiaoQichuan/new-litigation-visualization, then /plugin install mqc-nlv@mqc-nlv.
Does Mqc legal chart master run scripts?
Yes. It runs Python scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Mqc legal chart master?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Mqc legal chart master?
The closest alternatives to Mqc legal chart master are Mqc legal courseware master, Mqc timeline master, Mqc litigation visual redraw, Mqc trial confrontation master and Mqc legal relation master.
Where this comes from
- Description: from the skill's own SKILL.md.
More from MiaoQichuan/new-litigation-visualization

Builds a sourced, unedited case chronology from litigation files in Word and Excel
- Open source
- 182 GitHub stars
- Legal and government

Builds an interactive single-page case timeline from litigation materials, with source
- Open source
- 182 GitHub stars
- Legal and government

Builds legal slide pages with diagrams, statute and case cards, exported as editable PPTX
- Open source
- 182 GitHub stars
- Legal and government

Turns case documents into a legal relationship diagram with editable exports
- Open source
- 182 GitHub stars
- Design and media

Redraws litigation timelines, flowcharts and party diagrams as court-ready graphics
- Open source
- 182 GitHub stars
- Design and media

Turns raw litigation materials into a court-ready case timeline in several formats
- Open source
- 182 GitHub stars
- Files and documents



