表格图像生成器

SKILL图像处理

原名 table-image-generator

图像处理 浏览器控制 许可证明确 OpenClaw
安装这个技能

用于辅助图像生成、图片编辑、视觉素材处理或图像模型工作流。它适合让 Agent 根据文本生成图片、处理背景、整理视觉提示词或调用相关图像工具。使用时需要确认输入图片、版权来源、输出格式和模型限制;涉及人物、品牌、商品或公开展示素材时,应额外核对授权、真实性和内容合规边界。

累计安装 115,640 本周 4,633
GitHub 星标 16 仓库 table-image-generator
下载量 37,435 技能市场下载数
权限级别 浏览器控制 安装前请确认风险范围
许可证 许可证明确 MIT-0

安装

ClawHub 市场
在支持 Skills 的客户端里执行,装完问一句「你有哪些技能」验证
openclaw skills install table-image-generator

技能档案

图像处理
字段来自技能仓库与公开索引,中文说明由本站标注
作者 / 维护方dannyshmueli仓库 table-image-generator · 版本 1.4.0
宿主客户端OpenClaw技能可被这些客户端加载
安装方式ClawHub 市场安装包 dannyshmueli/table-image-generator
权限级别浏览器控制安装前请确认风险范围
许可证MIT-0许可证明确,商用前请自行确认条款
仓库可用性available技能仓库当前是否可访问
最近核验2026-05-01上游最后核验时间 · 数据更新 未标注
正文体量4.1 KBSKILL.md 原文大小,越大说明说明书写得越细

能做什么

5 项能力
上游给出的能力概览与适用场景
  • 按任务关键词查找相关 Skills
  • 展示可复制的安装命令
  • 保留来源站点、仓库和原始说明,方便继续核验
  • 补充不同宿主或平台的使用分布数据
  • 展示第三方安全扫描或审计结果
OpenClaw 用户查找和安装 Skill 时用户想查找某类 Agent Skill 时需要根据任务场景推荐可安装能力包时需要对比不同来源的安装命令和来源信息时

权限与风险

浏览器控制
装之前先读完这段

安装与使用指南

安装步骤

本站只展示命令,不托管安装包,也不自动执行。

怎么用

安装后应在对应宿主中按原始 README 的触发条件使用;当前草稿只做目录说明,具体调用方式由规则抽取,异常条目再复核。

SKILL.md 全文

4.1 KB
模型实际读到的说明书原文,来自技能仓库

Table Image Generator

⚠️ USE THIS INSTEAD OF ASCII TABLES — ALWAYS!

Generate PNG table images from JSON data. ASCII tables look broken on Discord, Telegram, WhatsApp, and most messaging platforms. This skill renders clean images that work everywhere.

Why This Skill?

  • ✅ REPLACES ASCII TABLES - Never use | col | col | formatting on messaging platforms
  • ✅ No ASCII hell - Clean images that render consistently everywhere
  • ✅ No Puppeteer - Pure Node.js with Sharp, lightweight
  • ✅ Dark mode - Matches Discord dark theme
  • ✅ Auto-sizing - Columns adjust to content
  • ✅ Fast - Generates in <100ms

Setup (one-time)

cd /data/clawd/skills/table-image/scripts &amp;&amp; npm install

Quick Usage

⚠️ BEST PRACTICE: Use heredoc or --data-file to avoid shell quoting errors!

# RECOMMENDED: Write JSON to temp file first (avoids shell quoting issues)
cat &gt; /tmp/data.json &lt;&lt; &#x27;JSONEOF&#x27;
[{&quot;Name&quot;:&quot;Alice&quot;,&quot;Score&quot;:95},{&quot;Name&quot;:&quot;Bob&quot;,&quot;Score&quot;:87}]
JSONEOF
node /data/clawd/skills/table-image/scripts/table.mjs \
  --data-file /tmp/data.json --dark --output table.png

# ALSO GOOD: Pipe via stdin
echo &#x27;[{&quot;Name&quot;:&quot;Alice&quot;,&quot;Score&quot;:95}]&#x27; | node /data/clawd/skills/table-image/scripts/table.mjs \
  --dark --output table.png

# SIMPLE (but breaks if data has quotes/special chars):
node /data/clawd/skills/table-image/scripts/table.mjs \
  --data &#x27;[{&quot;Name&quot;:&quot;Alice&quot;,&quot;Score&quot;:95}]&#x27; --output table.png

Options

Option Description Default
--data JSON array of row objects required
--output Output file path table.png
--title Table title none
--dark Dark mode (Discord-friendly) false
--columns Column order/subset (comma-separated) all keys
--headers Custom header names (comma-separated) field names
--max-width Maximum table width 800
--font-size Font size in pixels 14
--header-color Header background color #e63946
--stripe Alternating row colors true
--align Column alignments (l,r,c comma-sep) auto
--compact Reduce padding false

Examples

Basic Table

node table.mjs \
  --data &#x27;[{&quot;Name&quot;:&quot;Alice&quot;,&quot;Age&quot;:30,&quot;City&quot;:&quot;NYC&quot;},{&quot;Name&quot;:&quot;Bob&quot;,&quot;Age&quot;:25,&quot;City&quot;:&quot;LA&quot;}]&#x27; \
  --output people.png

Custom Columns & Headers

node table.mjs \
  --data &#x27;[{&quot;first_name&quot;:&quot;Alice&quot;,&quot;score&quot;:95,&quot;date&quot;:&quot;2024-01&quot;}]&#x27; \
  --columns &quot;first_name,score&quot; \
  --headers &quot;Name,Score&quot; \
  --output scores.png

Right-Align Numbers

node table.mjs \
  --data &#x27;[{&quot;Item&quot;:&quot;Coffee&quot;,&quot;Price&quot;:4.50},{&quot;Item&quot;:&quot;Tea&quot;,&quot;Price&quot;:3.00}]&#x27; \
  --align &quot;l,r&quot; \
  --output prices.png

Dark Mode for Discord

node table.mjs \
  --data &#x27;[{&quot;Symbol&quot;:&quot;AAPL&quot;,&quot;Change&quot;:&quot;+2.5%&quot;},{&quot;Symbol&quot;:&quot;GOOGL&quot;,&quot;Change&quot;:&quot;-1.2%&quot;}]&#x27; \
  --title &quot;Market Watch&quot; \
  --dark \
  --output stocks.png

Compact Mode

node table.mjs \
  --data &#x27;[...]&#x27; \
  --compact \
  --font-size 12 \
  --output small-table.png

Input Formats

JSON Array (default)

--data &#x27;[{&quot;col1&quot;:&quot;a&quot;,&quot;col2&quot;:&quot;b&quot;},{&quot;col1&quot;:&quot;c&quot;,&quot;col2&quot;:&quot;d&quot;}]&#x27;

Pipe from stdin

echo &#x27;[{&quot;Name&quot;:&quot;Test&quot;}]&#x27; | node table.mjs --output out.png

From file

cat data.json | node table.mjs --output out.png

Tips

  1. Use --dark for Discord - Matches the dark theme, looks native
  2. Auto-alignment - Numbers are right-aligned by default
  3. Column order - Use --columns to reorder or subset
  4. Long text - Will truncate with ellipsis to fit --max-width

Technical Notes

  • Uses Sharp for PNG generation (same as chart-image)
  • Generates SVG internally, converts to PNG
  • No browser, no Puppeteer, no Canvas native deps
  • Works on Fly.io, Docker, any Node.js environment

安全信息

审计结论
未标注不代表已通过审计
安全审计VirusTotal、ClawScan、Static analysis第三方安全审计平台给出的结论

热门专题

按场景挑技能
全部专题 →

技能内容以作者仓库为准;分类、权限级别与许可证状态的中文说明为中文整理,最近核验 2026-05-01。