Table Image
Documentstable-imageTable Image is an Agent Skill for documents published in the sundial-org/awesome-openclaw-skills repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Generate images from tables for better readability in messaging apps like Telegram. Use when displaying tabular data.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/sundial-org/awesome-openclaw-skills/blob/HEAD/skills/table-image/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/table-image, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Table Image Skill
Render markdown tables as PNG images for messaging platforms that don't support markdown tables.
Prerequisites
Install tablesnap:
go install github.com/joargp/tablesnap/cmd/tablesnap@latest
Or build from source:
git clone https://github.com/joargp/tablesnap.git
cd tablesnap
go build -o tablesnap ./cmd/tablesnap
Usage
echo "| Header 1 | Header 2 |
|----------|----------|
| Data 1 | Data 2 |" | tablesnap -o /tmp/table.png
Then send with MEDIA:/tmp/table.png
Options
| Flag | Default | Description |
|---|---|---|
-i | stdin | Input file |
-o | stdout | Output file |
--theme | dark | Theme: dark or light |
--font-size | 14 | Font size in pixels |
--padding | 10 | Cell padding in pixels |
Emoji Support
Bundled (work out of the box): ✅ ❌ 🔴 🟢 🟡 ⭕ ⚠️
Full emoji (one-time download):
tablesnap emojis install
Unsupported emoji render as □ until full set is installed.
Example Workflow
# Create table image
echo "| Task | Status |
|------|--------|
| Build | ✅ |
| Deploy | 🚀 |" | tablesnap -o /tmp/table.png
# Send in reply
MEDIA:/tmp/table.png
Notes
- Dark theme by default (matches Telegram/Discord dark mode)
- Auto-sizes to fit content
- Output ~10-20KB (messaging-friendly)
- Cross-platform (Inter font embedded)