# Mqc legal chart master

> Mqc legal chart master is an open-source agent skill for files and documents. Turns legal case data into statistical charts as SVG and editable PowerPoint. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/MiaoQichuan/new-litigation-visualization/tree/main/plugins/mqc-nlv/skills/mqc-legal-chart-master
- **Repository:** https://github.com/miaoqichuan/new-litigation-visualization
- **GitHub stars:** 182
- **License:** AGPL-3.0
- **Skill name:** mqc-legal-chart-master
- **Collection:** https://github.com/MiaoQichuan/new-litigation-visualization
- **Categories:** [files and documents](https://ai-powered.com/categories/files-and-documents), [legal and government](https://ai-powered.com/categories/legal-and-government)
- **Listing updated:** 2026-12-03

## About

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。

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Python scripts](https://github.com/MiaoQichuan/new-litigation-visualization/tree/HEAD/plugins/mqc-nlv/skills/mqc-legal-chart-master)
- [No network calls found in its scripts](https://github.com/MiaoQichuan/new-litigation-visualization/tree/HEAD/plugins/mqc-nlv/skills/mqc-legal-chart-master)
- [Includes binary files](https://github.com/MiaoQichuan/new-litigation-visualization/tree/HEAD/plugins/mqc-nlv/skills/mqc-legal-chart-master)
- [License: AGPL-3.0](https://github.com/MiaoQichuan/new-litigation-visualization/tree/HEAD/plugins/mqc-nlv/skills/mqc-legal-chart-master)

## Features

- **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

## Install

### Claude Code

This skill ships in the `mqc-nlv` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add MiaoQichuan/new-litigation-visualization
/plugin install mqc-nlv@mqc-nlv
```

Or copy only this skill to `~/.claude/skills/mqc-legal-chart-master`:

```sh
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.

### Codex

Copy the skill folder to `~/.agents/skills/mqc-legal-chart-master` to use it in every repository:

```sh
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.

### Cursor

Copy the skill folder to `~/.cursor/skills/mqc-legal-chart-master` to use it in every project:

```sh
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.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/MiaoQichuan/new-litigation-visualization.git --path plugins/mqc-nlv/skills/mqc-legal-chart-master
```

Or copy the folder to `~/.gemini/skills/mqc-legal-chart-master` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/mqc-legal-chart-master`:

```sh
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.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/MiaoQichuan/new-litigation-visualization.git
```

Then 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.

## 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.

## Alternatives

- [Mqc legal courseware master](https://ai-powered.com/skills/mqc-legal-courseware-master): Mqc legal courseware master is an open-source agent skill for legal and government.
- [Mqc timeline master](https://ai-powered.com/skills/mqc-timeline-master): Mqc timeline master is an open-source agent skill for files and documents.
- [Mqc litigation visual redraw](https://ai-powered.com/skills/mqc-litigation-visual-redraw): Mqc litigation visual redraw is an open-source agent skill for design and media.
- [Mqc trial confrontation master](https://ai-powered.com/skills/mqc-trial-confrontation-master): Mqc trial confrontation master is an open-source agent skill for legal and government.
- [Mqc legal relation master](https://ai-powered.com/skills/mqc-legal-relation-master): Mqc legal relation master is an open-source agent skill for design and media.
- [Mqc chronicle master](https://ai-powered.com/skills/mqc-chronicle-master): Mqc chronicle master is an open-source agent skill for legal and government.
- [Mqc fact chronology master](https://ai-powered.com/skills/mqc-fact-chronology-master): Mqc fact chronology master is an open-source agent skill for legal and government.
- [PPTX](https://ai-powered.com/skills/pptx): PPTX is a free agent skill for files and documents.

---
Source: https://ai-powered.com/skills/mqc-legal-chart-master
