OpenClaw
Task Router Skill
Task Router
☆ 0查看技能
将 Markdown 表格转换为清晰图片。当用户说"表格看不清"、"生成图片"、"转成图片"时触发。
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install bg1avd/markdown-table-to-image打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
# 从文本生成
node {baseDir}/scripts/md2img.js "| 列1 | 列2 |
|------|------|
| A | B |" output.png
# 指定宽度(默认900)
node {baseDir}/scripts/md2img.js "表格内容" output.png 1200
用户: 把这个表格转成图片
Agent:
1. 提取表格内容
2. node ~/.openclaw/workspace/skills/table-to-image/scripts/md2img.js "表格内容" /tmp/table.png
3. 发送图片给用户
这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
# Markdown 表格转图片 v1.0.1
## 流程
1. 解析 Markdown 表格
2. 生成 HTML(单元格内容居中对齐)
3. 用 wkhtmltoimage 输出为图片
## 使用方式
```bash
# 从文本生成
node {baseDir}/scripts/md2img.js "| 列1 | 列2 |
|------|------|
| A | B |" output.png
# 指定宽度(默认900)
node {baseDir}/scripts/md2img.js "表格内容" output.png 1200
```
## 在 Agent 中使用
```
用户: 把这个表格转成图片
Agent:
1. 提取表格内容
2. node ~/.openclaw/workspace/skills/table-to-image/scripts/md2img.js "表格内容" /tmp/table.png
3. 发送图片给用户
```
## 输出
- PNG 格式
- 单元格内容居中对齐
- 支持中英文Task Router
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.