Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By Tavottov0.21.3AGPL-3.0-onlyIn 2 marketplaces
Turns matplotlib scripts into journal-ready figures and lets you fine-tune them on an interactive canvas before exporting true vector PDF. Needs the Tavotto desktop app installed; it claims edits are overrides that leave your Python source untouched.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
Of the plugin's README
Chinese
2 marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
让 Codex 画的 matplotlib 图在 Codex 里就能用鼠标改完、体检完、导出投稿:
用户: 用这个 CSV 画温度与去除率的折线图,要 error bar,适合论文
↓
Codex + 本插件的技能: 写 figures/fig_removal_rate.py → 跑 → Fig1_removal_rate.pdf
↓
Codex 调 tavotto_open_figure: 在对话里开出一块交互画布
↓
用户: 拖图例、改字号线宽、调刻度 → 跑出版规范预检 → 导出真矢量 PDF
↓(需要拼版、加标注、多图排版时)
tavotto open: 交给 Tavotto 桌面窗口接着排
分工三层,边界很清楚:
| 层 | 是什么 | 负责什么 |
|---|---|---|
技能 skills/tavotto-figure/ | 一份约定 + 模板 | 教 Codex 写出「Tavotto 接得住」的脚本;数据、坐标、图形结构归代码 |
MCP server mcp/ | 本地 stdio 进程 | 引擎会话、override、出版规范预检、真矢量导出。没有 UI 的 host 里这九个工具就能走完整条流程 |
MCP App 画布 mcp/widget/canvas.html | Codex 内嵌 iframe | 用鼠标改图。复用 Tavotto 前端同一份画布代码,不是另一套实现 |
改动一律是 override(gid + prop + value),你的 Python 源码一个字都不改。
本仓库同时是一个 Codex 插件市场(仓库根的 .agents/plugins/marketplace.json):
# 从 GitHub 装(两条分开跑,别用 &&——好判断是哪一步失败)。市场清单指向
# 发行分支 plugin-stable(git-subdir 来源,ADR 0043):装到的是 CI 构建并验证过的
# 完整插件(含内嵌画布),不需要 Node,也不从源码 checkout 里取任何东西。
codex plugin marketplace add Tavotto/Tavotto --sparse .agents/plugins
codex plugin add tavotto@tavotto
# 更新
codex plugin marketplace upgrade tavotto
# 本地开发时装工作副本:仓库根的市场清单指向发行分支,所以要用插件目录里的 dev 市场
# (codex-plugin/.agents/plugins/marketplace.json,名字 tavotto-dev,不随插件发出去);
# 先 python scripts/build_mcp_widget.py 构建一次画布——它不进 git,装到的是你刚构建的那份
codex plugin marketplace add /path/to/tavotto/codex-plugin
codex plugin add tavotto@tavotto-dev
装完(以及每次升级插件、装好引擎之后)必须新开一个 Codex 会话/线程:
已经开着的会话不会重新加载 MCP 工具——codex plugin list 显示
installed/enabled 只说明插件装上了,不代表当前会话拿得到工具,也不代表
MCP server 健康(健康与否用下面的 --health 查)。CLI 里用
$tavotto-figure 显式调用技能,或者直接说「画张图」让它隐式命中;
MCP 工具由 Codex 按需调用(也可以直接说「用 Tavotto 打开这张图」)。
还需要机器上有 Tavotto 本体:
pipx install "tavotto[worker]"([worker] 带渲染栈;不带它就是
轻量 CLI,渲染与 MCP 集成要靠你自己指定的解释器)只装桌面版就够了——不需要另外装 Python/Conda,也不需要配任何环境变量。 插件会按下面的顺序找到 Tavotto 的命令行入口,前面的赢:
TAVOTTO_CLI 环境变量(高级覆盖)tavotto(pip / pipx 装的)install.json(桌面版装完就有,记着 CLI 的绝对路径)tavotto-cli(清单丢了照样能找到)tavotto 模块桌面安装包里带的 tavotto-cli 是一个 console 版命令行,与界面共用同一份
运行时。装出来的 Tavotto.exe 是 GUI 程序,不能当命令行调(没有真终端时
它的 stdout 会落进日志文件,调用方拿不到那行 JSON)——所以才有这一个。
自检:tavotto doctor --json(不起界面、不联网)。完整协议、错误码与排障见
../docs/handoff-protocol.md。
交接只要能执行 tavotto open,上面那条 tavotto-cli 完全够用。但 MCP
server 是一个 Python 模块——它要 import tavotto.engine.* 在进程内驱动渲染
引擎,而 tavotto-cli 是打包成单文件的可执行程序,给不出解释器。
所以:
| 你装的 | 交接(tavotto open) | MCP 工具与内嵌画布 |
|---|---|---|
pipx install "tavotto[worker]" | ✅ | ✅ |
| 桌面版 + pipx | ✅ | ✅ |
| 只有桌面版 | ✅ | ❌ 报 desktop_only——一条命令补上(见下) |
| 都没装 | ❌ | ❌ 报 tavotto_missing |
启动器(mcp/server.py)按固定优先级找一个验证过能
import tavotto.engine 的解释器,前面的赢:
python3 本身TAVOTTO_MCP_PYTHON(显式指给 MCP 的;指错了会指名道姓地报
engine_unavailable,不会悄悄换别的)TAVOTTO_WORKER_PYTHON / 设置里指定的渲染解释器(装了 tavotto 才算数)--provision 建的那个)tavotto 命令行反推(pip/pipx console script 的 shebang)python3 / python每个候选都真的跑一遍 import 才算数——桌面版的 frozen tavotto-cli
永远不会被误当成解释器。
python3 <插件目录>/mcp/server.py --provision
它在 Tavotto 用户配置目录下建一个插件专属 venv(mcp-runtime/venv),
装与插件同版本的 tavotto[worker](钉版本可复现;[worker] 带上
matplotlib/numpy 渲染栈——pip 形态的引擎发现不了桌面 App 里的内置
runtime,自管环境必须自己能渲染)。不碰系统 Python、Conda、
用户 site-packages 或 shell 配置;它的 pip / matplotlib 缓存也在这个目录里
(mcp-runtime/cache),删掉 mcp-runtime 目录即卸载。离线环境
用 --from /path/to/tavotto-x.y.z-py3-none-any.whl(或源码目录)。
装完新开一个 Codex 会话。
跑这条命令的 python3 可以很老(macOS 自带的是 3.9):它只负责找一个
Python 3.10–3.14 来建 venv——当前解释器、PATH 上的 python3.14…3.10、
Homebrew / python.org / Windows py 启动器的常见位置都会试一遍,每个都真的
跑起来问版本。机器上一个都没有时它以 no_supported_python 失败并逐个说出
版本(不会在老 Python 上跑 pip 然后留下一句误导的 "No matching distribution
found");装一个 Python 3.10–3.14 后重跑即可,或 --python <解释器路径> 明确指一个。
python3 <插件目录>/mcp/server.py --health
一行 JSON 说清:引擎找没找到(以及 resolver 每一步的结论与耗时)、画布产物
在不在、桌面版装没装。它能区分开在 codex plugin list 里长得一模一样的
几种状态:插件装了但没引擎(desktop_only / tavotto_missing)、引擎装了但版本
对不上(engine_too_old / engine_incompatible,带版本号与升级命令;pip 配了镜像时提示镜像
可能滞后并给出 --index-url https://pypi.org/simple 的写法)、显式指的
解释器用不了(engine_unavailable)、一切就绪但当前会话还没重载工具
(health 是绿的,那就新开会话)。
新会话里再调用 MCP 工具 tavotto_health,它会额外报告真实 initialize 握手:
client/version/protocol、宿主实际声明的 capability 名称、可信根来源、generation、
Roots 兼容状态与连接内工作区确认状态。这里不按 Codex 版本号猜能力。
「只有桌面版」这一格绝不会被说成「没装 Tavotto」——你明明装了,缺的只是
一个 Python 环境,两者可以共存。启动器找不到可用解释器时不会静默退出,而是起
一个降级 server:握手正常(serverInfo.version 固定为 0,这是「引擎
不在」的显性信号),tools/list 只列真的可用的 tavotto_health——不可用
的八个工具不会被伪装成可用;对着旧会话里记住的工具名调用会得到结构化错误
(code + 缺什么 + 恢复步骤),绝不会返回「画布已打开」之类的成功。
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Indexed from plugin-stableMarketplace JSON
npx claudepluginhub tavotto/tavotto --plugin tavottoPlugins from other owners that cover similar ground