← 返回 Skills 市场
TeX Render
作者
TheBigoranger
· GitHub ↗
· v1.1.4
1088
总下载
1
收藏
5
当前安装
11
版本数
在 OpenClaw 中安装
/install tex-render
功能描述
Renders LaTeX math to PNG, JPEG, WebP, or AVIF images using MathJax (TeX→SVG) and @svg-fns/svg2img. Invoke whenever the agent needs to output LaTeX as a view...
安全使用建议
This skill appears to do exactly what it says: convert LaTeX to images using MathJax and svg2img/Sharp. Before enabling: 1) Note the skill will automatically render and send images whenever the agent would output LaTeX — if you want to approve each render, do not enable it. 2) Installation requires running npm install in the skill folder and may compile sharp (ensure Node 14+ and build tools if on platforms requiring native builds). 3) The CLI writes files by default to ~/.openclaw/media/tex-render — monitor disk use and permissions. 4) Because npm packages can change, consider reviewing the published package contents (or running npm install in a sandbox) to confirm the dependencies are the expected MathJax/svg2img/sharp. 5) The validate script uses child_process to run tests locally (no network). If you want stricter privacy/control, avoid enabling automatic triggering in TOOLS.md and only invoke the skill when explicitly requested.
功能分析
Type: OpenClaw Skill
Name: tex-render
Version: 1.1.4
The `scripts/render.js` file contains a path traversal vulnerability. The `output_base_path` argument, if controlled by an attacker, can be used to write files to arbitrary locations on the filesystem outside the intended `~/.openclaw/media/tex-render/` directory. While there is no explicit malicious intent (e.g., data exfiltration, persistence) within the provided code or agent instructions (`SKILL.md`), this vulnerability allows for potential arbitrary file writes, which is a significant security flaw.
能力评估
Purpose & Capability
Name/description match the code and package.json: MathJax → SVG → @svg-fns/svg2img (Sharp) is exactly what you'd expect for converting LaTeX to PNG/JPEG/WebP/AVIF. No unrelated credentials, binaries, or services are requested.
Instruction Scope
SKILL.md directs the agent to run the included CLI (node scripts/render.js) and to automatically render and send any LaTeX in replies. That automatic behavior is explicitly documented in the user notice and TOOLS.md examples; it will write files to ~/.openclaw/media/tex-render/. This is coherent with the purpose but is a behavioral choice (automatic, non-interactive rendering) that operators should be aware of.
Install Mechanism
Install is via npm in the skill folder (package.json lists mathjax, @svg-fns/svg2img, sharp). No ad-hoc downloads, shorteners, or remote archives are used. npm-based install is expected here; note sharp may compile native code and requires a build toolchain on some platforms.
Credentials
The skill requests no environment variables or credentials. Its filesystem access is limited to writing output under the user's home (~/.openclaw/media/tex-render) and relative paths when an explicit outBase is provided; this is proportional to generating image files.
Persistence & Privilege
always:false and no special privileges requested. The skill writes its own media files but does not modify other skills or global agent config. Autonomous invocation (disable-model-invocation:false) is the platform default and not, by itself, a concern.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install tex-render - 安装完成后,直接呼叫该 Skill 的名称或使用
/tex-render触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.4
Update
v1.1.3
Update
v1.1.2
Update
v1.1.1
Update
v1.1.0
Update
v1.0.5
Update
v1.0.4
Update
v1.0.3
Update
v1.0.2
Update
v1.0.1
...
v1.0.0
Initial release
元数据
常见问题
TeX Render 是什么?
Renders LaTeX math to PNG, JPEG, WebP, or AVIF images using MathJax (TeX→SVG) and @svg-fns/svg2img. Invoke whenever the agent needs to output LaTeX as a view... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1088 次。
如何安装 TeX Render?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install tex-render」即可一键安装,无需额外配置。
TeX Render 是免费的吗?
是的,TeX Render 完全免费(开源免费),可自由下载、安装和使用。
TeX Render 支持哪些平台?
TeX Render 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 TeX Render?
由 TheBigoranger(@thebigoranger)开发并维护,当前版本 v1.1.4。
推荐 Skills