claw-insights-snapshot
Generate visual status cards for your OpenClaw agent as PNG, SVG, or JSON. The rendered cards are designed for social sharing and mobile-friendly channels — cute, compact, and informative at a glance. Use when pushing agent status to Slack, Telegram, Discord, WhatsApp, or any chat channel, generating visual reports of token usage and session activity, extracting metrics programmatically, or scheduling periodic status updates via cron.
Best use case
claw-insights-snapshot is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Generate visual status cards for your OpenClaw agent as PNG, SVG, or JSON. The rendered cards are designed for social sharing and mobile-friendly channels — cute, compact, and informative at a glance. Use when pushing agent status to Slack, Telegram, Discord, WhatsApp, or any chat channel, generating visual reports of token usage and session activity, extracting metrics programmatically, or scheduling periodic status updates via cron.
Teams using claw-insights-snapshot should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/snapshot/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How claw-insights-snapshot Compares
| Feature / Agent | claw-insights-snapshot | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Generate visual status cards for your OpenClaw agent as PNG, SVG, or JSON. The rendered cards are designed for social sharing and mobile-friendly channels — cute, compact, and informative at a glance. Use when pushing agent status to Slack, Telegram, Discord, WhatsApp, or any chat channel, generating visual reports of token usage and session activity, extracting metrics programmatically, or scheduling periodic status updates via cron.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Snapshot Status Cards
**Announce at start:** "I'm generating a visual status card for your OpenClaw agent."
## What is a Snapshot?
A snapshot is a server-rendered visual status card — not a browser screenshot. Powered by Satori, it renders in ~200ms with no browser dependency.
The output is designed to look great in chat: compact, readable on mobile, and visually appealing enough to share. It shows token usage, session activity, error counts, and gateway health in a single glance.
Formats: PNG (default), SVG, or raw JSON for programmatic use.
## REST API
```bash
curl -X POST http://127.0.0.1:41041/api/snapshot \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"detail":"standard","range":"6h","theme":"dark"}' \
-o snapshot.png
```
No-auth mode: start with `claw-insights start --no-auth`, then omit the Authorization header.
Response includes `Content-Disposition` header with timestamped filename.
## CLI
```bash
claw-insights snapshot # Save to ~/.claw-insights/snapshots/
claw-insights snapshot --quick -o status.png # Compact mobile snapshot
claw-insights snapshot --format json | jq . # JSON to stdout
claw-insights snapshot --dry-run # Preview parameters only
```
CLI flags: `--format`, `--detail`, `--range`, `--theme`, `--lang`, `-o <path>`, `-t <token>`, `--port`, `--quick`, `--dry-run`. Run `claw-insights snapshot --help` for full usage.
## Parameters
| Field | Default (REST / CLI) | Options | Description |
| -------- | ------------------------- | ----------------------------------- | ---------------------- |
| `detail` | `standard` | `compact` / `standard` / `full` | Detail level |
| `format` | `png` | `png` / `svg` / `json` | Output format |
| `range` | `24h` (REST) / `6h` (CLI) | `30m` / `1h` / `6h` / `12h` / `24h` | Time range for metrics |
| `theme` | `dark` | `dark` / `light` | Color theme |
| `lang` | `en` | `en` / `zh` | Language |
> **Note:** REST API and CLI have different default `range` values. REST defaults to `24h` (full day overview), CLI defaults to `6h` (quick status check). Both accept the same set of values.
### Which detail level?
- **compact** — Summary numbers only (session count, total tokens, error count). Best for embedding in chat messages.
- **standard** — Session list + metrics charts. Default for most use cases.
- **full** — Everything: session list, all charts, event log. Best for reports and archival.
## Common Workflows
### Push status card to a channel
Works with any messaging channel — Slack, Telegram, Discord, WhatsApp, etc.
```bash
# 1. Generate a compact status card
curl -X POST http://127.0.0.1:41041/api/snapshot \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"detail":"compact","range":"6h"}' \
-o /tmp/status.png
# 2. Send via your channel's tool or API
# The compact detail level is optimized for mobile chat bubbles.
```
**Tips:**
- `compact` — best for chat messages (summary numbers only, small image)
- `standard` — best for daily check-ins (session list + charts)
- `full` — best for reports and archival
### Scheduled status report
```bash
# Full snapshot with 24h range
curl -X POST http://127.0.0.1:41041/api/snapshot \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"detail":"full","range":"24h"}' \
-o /tmp/daily-report.png
```
### Programmatic metrics extraction
```bash
# Get raw data as JSON
curl -X POST http://127.0.0.1:41041/api/snapshot \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"format":"json","range":"6h"}' \
-o metrics.json
```
JSON schema: See [references/json-schema.md](references/json-schema.md)
## Error Handling
| Status | Cause | Fix |
| ------------------ | ---------------------------- | ------------------------------------------- |
| `401` | Missing or invalid token | Check Bearer token, or use `--no-auth` mode |
| `502` | OpenClaw gateway not running | `openclaw gateway start` |
| `500` | Internal server error | Check logs: `~/.claw-insights/logs/` |
| Connection refused | claw-insights not running | `claw-insights start` |Related Skills
claw-insights-install
Install and run Claw Insights, a read-only observability dashboard that monitors your OpenClaw agent with zero intrusion — no code changes, no cloud dependency, data never leaves your machine. Full session transcript replay, per-turn token and tool tracking, and shareable PNG/SVG status cards. One command to install, auto-discovers your running gateway, lightweight SQLite storage. Use when setting up claw-insights for the first time, upgrading versions, configuring auth or port, managing the service, or troubleshooting startup failures.
PicoClaw Fleet
Orchestrate a fleet of remote PicoClaw workers over SSH for fast, ephemeral one-shot tasks.
meeting-insights-analyzer
Analyzes meeting transcripts and recordings to uncover behavioral patterns,
openclaw-config-guard
Audit and safely repair OpenClaw configuration with deterministic validation, backups, rollback, and change reporting. Use when asked to review or modify `openclaw.json`, check whether OpenClaw can still start, safely fix startup-blocking config errors, or audit OpenClaw config before deciding on changes.
openclaw-x
操控你的 X/Twitter 账号——查看时间线、搜索推文、发推、点赞、转推、收藏。
tool-openclaw
Help users install, configure, and operate OpenClaw (gateway, channels, nodes, plugins). Use when answering OpenClaw setup/debug questions; use the local docs snapshot bundled with this skill as the source of truth. Triggers: openclaw, clawdbot, clawd, clawdhub, gateway, onboard, channels login, whatsapp, telegram, discord, mattermost, pairing, nodes, sandboxing, tailscale.
braiins-insights
Braiins Learn - Bitcoin mining profitability calculators, charts, and data dashboard
meeting-insights-analyzer
Analyzes meeting transcripts and recordings to uncover behavioral patterns, communication insights, and actionable feedback. Identifies when you avoid conflict, use filler words, dominate conversations, or miss opportunities to listen. Perfect for professionals seeking to improve their communication and leadership skills.
meeting-insights-analyzer
Analyzes meeting transcripts and recordings to uncover behavioral patterns, communication insights, and actionable feedback. Identifies when you avoid conflict, use filler words, dominate conversations, or miss opportunities to listen. Perfect for professionals seeking to improve their communication and leadership skills.
gameclaw
List available GameClaw terminal games, provide platform-specific download links from GitHub Releases, and give copy-paste unpack/run instructions for released CLI binaries. Use this when users ask what games are available, want to download a GameClaw game, need Linux/macOS binary links, want quick run instructions, or need help troubleshooting a downloaded release.
clawdtm-review
Review and rate OpenClaw skills on ClawdTM. See what humans and AI agents recommend.
clawdtm-advisor
Search, evaluate security, and install OpenClaw skills. Helps your human find the right skills safely.