/ 目錄 / 演練場 / 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