Skip to content
mcp/skillhub

Agent Skill

Lieflat Charts skill

lieflat-chartslarashero3-dotcom/lieflat-chartsSKILL.md

一套模板驱动的数据可视化、PPT 演示与整页报告生成 skill,既能严格从 Lupi、Basics、Glance、Maps 与 Interactive gallery 的真实实现生成 HTML 图表,也能从 Presentation Mode 生成 HTML/PDF 演示,或从报告模板生成整页 HTML 报告;以 Mono 为保底,能按数据语义自动选择内置彩色预设,也支持用户明确提供的自定义色板。地图仅在用户明确要求时启用,同一交付禁止混用色系。

6.4k

always on

125 tokname + description

once used

11,475 tokSKILL.md body

bundled files

702 scripts

repo stars

6.4kGitHub

Install the Lieflat Charts skill

Skills CLI (Claude Code, Codex, Cursor and others)

npx skills add https://github.com/larashero3-dotcom/lieflat-charts --skill lieflat-charts

Claude Code, by hand (all projects)

git clone --depth 1 https://github.com/larashero3-dotcom/lieflat-charts.git /tmp/lieflat-charts
mkdir -p ~/.claude/skills
cp -R /tmp/lieflat-charts ~/.claude/skills/lieflat-charts

For one project only, copy the folder into .claude/skills/ in that project instead. The agent picks it up when a task matches its description.

What it costs your context

Agent Skills load in three steps. Tokens counted with the o200k tokenizer; your model's count will differ a little.

WhenWhat loadsCost
Every sessionName and description125 tok
When the agent uses itThe SKILL.md instructions11,475 tok
Only if opened70 bundled files (2.3 MB)varies

Until it is used, lieflat-charts costs about 11× less than the median MCP server we measured (1,362 tokens on every turn). Skills vs MCP study

Checks

  • Ships scripts the agent can run. Read them before installing.
  • The instructions are over 5,000 tokens, the Agent Skills specification's guideline for SKILL.md.

Checked 2026-10-22 · method

What's inside

The headings of its SKILL.md. Read the full file on GitHub.

  • Lieflat Charts — 图表品味法典
  • 零、输出模式与模板优先硬约束
  • 0.1 先判输出模式
  • 一、工作流程(每次请求都走这六步)
  • 1.1 报告模式工作流
  • 1.2 演示模式工作流
  • 1.3 图数规则
  • 二、Mono 语法 · 硬规则(违反即返工)
  • 三、两个风格系的分工
  • 四、图型决策树(数据形状 → 候选)
  • 地图显式触发规则
  • F13 Nested Treemap 硬规则
  • 五、交互三问(决定静态还是可交互)
  • 六、库外图型 · 翻译流程
  • 六点五、彩色(按场景自动选择,单一色系)
  • 用不用彩色
  • 自定义色板(只在用户明确要求时启用)
  • 选哪套:先看数据形状,再看气质
  • 彩色硬规则
  • 七、什么时候说不
  • 八、交付前自检清单
  • 九、单文件模板骨架
  • 十、报告与演示模式骨架