/ 目录 / 演练场 / thesis-figure-skill
● 社区 0xE1337 ⚡ 即开即用

thesis-figure-skill

作者 0xE1337 · 0xE1337/thesis-figure-skill

Paste your paper text, get publication-ready LaTeX/TikZ diagrams — Claude picks the right figure type and draws it.

thesis-figure-skill is a Claude skill for researchers drowning in 'needs figure here' notes: paste a paragraph of your paper or describe the concept, and Claude returns LaTeX/TikZ code for a publication-ready figure (flow diagrams, system architectures, plots, schematic illustrations). Output compiles in any standard LaTeX toolchain.

为什么要用

核心特性

实时演示

实际使用效果

thesis-figure-skill.replay ▶ 就绪
0/0

安装

选择你的客户端

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "thesis-figure-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/0xE1337/thesis-figure-skill",
        "~/.claude/skills/thesis-figure-skill"
      ],
      "_inferred": true
    }
  }
}

打开 Claude Desktop → Settings → Developer → Edit Config。保存后重启应用。

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "thesis-figure-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/0xE1337/thesis-figure-skill",
        "~/.claude/skills/thesis-figure-skill"
      ],
      "_inferred": true
    }
  }
}

Cursor 使用与 Claude Desktop 相同的 mcpServers 格式。项目级配置优先于全局。

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "thesis-figure-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/0xE1337/thesis-figure-skill",
        "~/.claude/skills/thesis-figure-skill"
      ],
      "_inferred": true
    }
  }
}

点击 Cline 侧栏中的 MCP Servers 图标,然后选 "Edit Configuration"。

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "thesis-figure-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/0xE1337/thesis-figure-skill",
        "~/.claude/skills/thesis-figure-skill"
      ],
      "_inferred": true
    }
  }
}

格式与 Claude Desktop 相同。重启 Windsurf 生效。

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "thesis-figure-skill",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/0xE1337/thesis-figure-skill",
        "~/.claude/skills/thesis-figure-skill"
      ]
    }
  ]
}

Continue 使用服务器对象数组,而非映射。

~/.config/zed/settings.json
{
  "context_servers": {
    "thesis-figure-skill": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/0xE1337/thesis-figure-skill",
          "~/.claude/skills/thesis-figure-skill"
        ]
      }
    }
  }
}

加入 context_servers。Zed 保存后热重载。

claude mcp add thesis-figure-skill -- git clone https://github.com/0xE1337/thesis-figure-skill ~/.claude/skills/thesis-figure-skill

一行命令搞定。用 claude mcp list 验证,claude mcp remove 卸载。

使用场景

实战用法: thesis-figure-skill

How to generate a figure for a specific paragraph of your paper

👤 Grad students and researchers writing papers or theses ⏱ ~15 min intermediate

何时使用: You wrote the paragraph, but the reviewer would really appreciate a figure here.

前置条件
  • LaTeX toolchain (TeX Live or MiKTeX) with tikz, pgfplots — brew install --cask mactex / apt install texlive-full
  • Skill cloned — git clone https://github.com/0xE1337/thesis-figure-skill ~/.claude/skills/thesis-figure-skill
步骤
  1. Paste the paragraph
    Paragraph: <text about system architecture>. Generate a TikZ figure that illustrates the architecture.✓ 已复制
    → Diagram type picked + TikZ code
  2. Compile and preview
    Save the code to fig.tex and compile — show me the PDF path.✓ 已复制
    → PDF produced
  3. Iterate
    Shrink the node widths and make the arrows straight, not curved.✓ 已复制
    → Revised TikZ, compiles cleanly

结果: A usable publication-quality figure in under 10 minutes.

注意事项
  • Overly decorated figures that scream 'AI made this' — Ask for minimal, academic-conservative style
  • Figure size fights the paper's column width — Specify target width (e.g., 0.9\linewidth) up front
搭配使用: filesystem

Turn a CSV into a pgfplots chart for your paper

👤 Researchers with experimental results ⏱ ~25 min intermediate

何时使用: You have results in CSV and want paper-quality plots, not matplotlib screenshots.

步骤
  1. Feed the CSV
    Here's results.csv. Make a pgfplots line chart comparing methods A/B/C on x=batch_size, y=accuracy.✓ 已复制
    → pgfplots code + legend
  2. Tweak
    Add error bars (std dev from results_std.csv) and log-scale the x-axis.✓ 已复制
    → Updated code with error bars

结果: A publication-grade plot that scales cleanly.

注意事项
  • Too many colors / markers — Ask for a grayscale- and colorblind-safe palette

组合

与其他 MCP 搭配,撬动十倍杠杆

thesis-figure-skill + csv-data-summarizer-claude-skill

Profile the CSV first, then generate plots that reflect its actual shape

Summarize results.csv, then produce pgfplots charts that visualize the findings.✓ 已复制
thesis-figure-skill + filesystem

Save figures alongside your paper source

Place every generated figure in paper/figures/.✓ 已复制

工具

此 MCP 暴露的能力

工具输入参数何时调用成本
diagram-type-inference paragraph / concept Start 0
tikz-authoring figure spec Architectural / schematic diagrams 0
pgfplots-authoring CSV + axes spec Data-driven plots 0
iterate previous figure + change request Revisions 0

成本与限制

运行它的成本

API 配额
none
每次调用 Token 数
~2–8k per figure
费用
free
提示
Get one figure right first (style/size), then clone the pattern for siblings

安全

权限、密钥、影响范围

凭据存储: none
数据出站: none — everything is local TeX

故障排查

常见错误与修复

pdflatex errors on pgfplots

Update pgfplots and ensure \usepackage{pgfplots}\pgfplotsset{compat=1.18} or similar.

验证: kpsewhich pgfplots.sty
TikZ nodes overlap

Ask for named positioning using node distance and relative placements

Figure too big for column

Set scale= or wrap in resizebox{\linewidth}{!}{...}

替代方案

thesis-figure-skill 对比其他方案

替代方案何时用它替代权衡
mermaid-skillDiagrams for the web / Markdown, not papersDifferent output medium
excalidraw-skillYou want hand-drawn whiteboard styleNot publication-quality

更多

资源

📖 阅读 GitHub 上的官方 README

🐙 查看未解决的 issue

🔍 浏览全部 400+ MCP 服务器和 Skills