Token导航 LogoToken导航TokenDH.com
图像处理操作浏览器clawhub未标认证来源可访问clear审计通过

markdowntable2imagemarkdowntable2image 表格

Agent Skill

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

总安装

5,363

周安装

228

GitHub Stars

1

下载量

1,879
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:markdowntable2image(markdowntable2image 表格)
来源仓库:https://github.com/umrzcz-831/markdowntable2image
安装命令:
openclaw skills install markdowntable2image
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install markdowntable2image

简介

将 Markdown 表格或 JSON 数据渲染为 PNG 图像文件。

  • 特别适用于 Discord、Telegram 等平台无法良好显示表格的情况。
  • 自动提取数据并生成视觉清晰的图表,便于分享与传播。
  • 安装前请确认是否有图形渲染依赖和网络请求权限。
  • markdowntable2image 属于图像处理类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
Table2Image
version
1.1.0
description
Convert markdown tables and JSON data to PNG images. Perfect for Discord, Telegram, and other platforms where markdown tables render poorly. Use when Claude needs to present tabular data in a visually appealing format, when sending tables to Discord/Telegram/WhatsApp, or when the user asks to convert a table to an image. Supports multiple themes (discord-light, discord-dark, finance, minimal), conditional formatting, and automatic markdown table detection.
install
|
engines
node
>=18.0.0

Table2Image

🇬🇧 English | 🇨🇳 中文

Convert tables to beautiful PNG images for chat platforms.

GitHub: https://github.com/UMRzcz-831/table-to-image-skill

Tech Stack: Playwright + Chromium for perfect emoji and font rendering.

Prerequisites

  • Node.js: >= 18.0.0
  • Network: Internet connection required for first run (Chromium download ~100MB)

Installation

# Install dependencies
npm install

# Download Chromium (one-time, ~100MB)
npx playwright install chromium

Performance

MetricTime
First run (Chromium download)~30-60s (one-time)
Browser launch (first render)~2-3s
Subsequent renders< 500ms (browser reused)
💡 Tip: The browser instance is automatically reused after the first render, making subsequent table generations nearly instant.

Quick Start

Method 1: CLI (for simple tables)

# Convert JSON data to table image
echo '[{"name":"Alice","score":95}]' | node scripts/table-cli.mjs --dark --output table.png

# Or use a JSON file
node scripts/table-cli.mjs --data-file data.json --theme discord-dark --output table.png

Method 2: Programmatic API (recommended)

import { renderTable, renderDiscordTable } from './scripts/index.js';

// Quick Discord table
const image = await renderDiscordTable(
  [{ name: 'AAPL', change: '+2.5%' }],
  [
    { key: 'name', header: 'Stock' },
    { key: 'change', header: 'Change', align: 'right' }
  ],
  '📊 Market Watch'
);

// Send to Discord
await message.send({ attachment: image.buffer });

Method 3: Auto-convert markdown tables

import { autoConvertMarkdownTable } from './scripts/index.js';

// Automatically detect and convert
const result = await autoConvertMarkdownTable(message, 'discord');
if (result.converted) {
  await message.send({ attachment: result.image });
}

When to Use This Skill

  • Discord/Telegram/WhatsApp: These platforms don't render markdown tables well
  • Financial data: Stock prices, portfolio reports with conditional formatting
  • Leaderboards: Rankings with medals and color-coded positions
  • Comparison tables: Side-by-side feature comparisons
  • Any tabular data: When visual presentation matters

Themes

ThemeBest ForPreview
discord-lightDiscord light mode (default)discord-light
discord-darkDiscord dark modediscord-dark
financeFinancial reportsfinance
minimalClean/simpleminimal
sweet-pinkStylish dark + pink accentsweet-pink
deep-seaClassic blue + cream whitedeep-sea
wisteriaRetro purple + lime greenwisteria
pond-blueDeep navy + soft cyanpond-blue
camelliaWarm red + pale pinkcamellia

Custom Themes

You can also pass a custom theme object directly to theme. For convenience, you only need to provide two colors — primary and secondary — and the full theme will be generated automatically:

const image = await renderTable({
  data: [{ name: 'Alice', score: 95 }],
  columns: [
    { key: 'name', header: 'Name' },
    { key: 'score', header: 'Score', align: 'right' }
  ],
  theme: {
    primary: '#e6397c',    // accent color (header, text, border)
    secondary: '#1a1a1d'   // base color (background, rows)
  }
});

custom-primary-secondary

Or pass a complete custom theme object with all 7 colors:

const image = await renderTable({
  data: [{ name: 'Alice', score: 95 }],
  columns: [...],
  theme: {
    background: '#1a1a1d',
    headerBg: '#e6397c',
    headerText: '#1a1a1d',
    rowBg: '#1a1a1d',
    rowAltBg: '#2a2a2d',
    text: '#e6397c',
    border: '#e6397c'
  }
});

custom-full

Advanced Usage

Conditional Formatting

import { renderTable } from './scripts/index.js';

const image = await renderTable({
  data: stocks,
  columns: [
    { key: 'symbol', header: 'Symbol' },
    { 
      key: 'change', 
      header: 'Change',
      align: 'right',
      formatter: (v) => `${v > 0 ? '+' : ''}${v}%`,
      style: (v) => ({ color: v > 0 ? '#43b581' : '#f04747' })
    }
  ],
  theme: 'discord-dark'
});

Custom Column Widths

columns: [
  { key: 'name', header: 'Name', width: 150 },
  { key: 'description', header: 'Desc', width: 300, wrap: true, maxLines: 3 }
]

Scripts

  • scripts/table-cli.mjs - Command-line interface
  • scripts/index.js - Programmatic API

See references/api.md for complete API documentation.

Examples

See references/examples.md for common use cases and code samples.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

87.8%
按下载量换算1,650

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills