← Back to Skills Marketplace
thebigoranger

TeX Render

by TheBigoranger · GitHub ↗ · v1.1.4
cross-platform ⚠ suspicious
1088
Downloads
1
Stars
5
Active Installs
11
Versions
Install in OpenClaw
/install tex-render
Description
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...
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install tex-render
  3. After installation, invoke the skill by name or use /tex-render
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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
Metadata
Slug tex-render
Version 1.1.4
License
All-time Installs 5
Active Installs 5
Total Versions 11
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 1088 downloads so far.

How do I install TeX Render?

Run "/install tex-render" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is TeX Render free?

Yes, TeX Render is completely free (open-source). You can download, install and use it at no cost.

Which platforms does TeX Render support?

TeX Render is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created TeX Render?

It is built and maintained by TheBigoranger (@thebigoranger); the current version is v1.1.4.

💬 Comments