Dashboard

From clawic/skills · View interactive version

Dashboard is an AI agent skill from the GitHub repository clawic/skills. Build custom dashboards from any data source with local hosting and visual QA loops.

How to use this skill

Skill file

Data Storage

~/Clawic/data/dashboard/
├── registry.json           # Dashboard index
├── {name}/
│   ├── config.json         # Layout, widgets
│   ├── data.json           # Current data
│   └── index.html          # Dashboard page

Create on first use: mkdir -p ~/dashboard

Scope

This skill:

User-driven model:

This skill does NOT:

Quick Reference

| Topic | File |

|-------|------|

| Data source patterns | sources.md |

| Visual design rules | design.md |

| Widget templates | widgets.md |

Core Rules

1. User Provides Data

When creating a dashboard:

User: "Dashboard for my Stripe revenue"
Agent: "I'll create a fetch script. Set STRIPE_API_KEY 
        in your environment, then run the script."
→ Generates: ~/Clawic/data/dashboard/stripe/fetch.sh
→ User adds to cron: */15 * * * * ~/Clawic/data/dashboard/stripe/fetch.sh

2. Architecture

[User's Cron] → [fetch.sh] → [data.json] → [index.html]
                    ↓
              Uses $API_KEY from env

Agent generates scripts. User runs them.

3. Fetch Script Template

#!/bin/bash
# Requires: STRIPE_API_KEY in environment
curl -s -u "$STRIPE_API_KEY:" \
  https://api.stripe.com/v1/balance \
  | jq '.' > ~/Clawic/data/dashboard/stripe/data.json

4. Visual QA (Before Delivery)

5. Design Defaults

| Element | Value |

|---------|-------|

| Background | #0f172a (dark) / #f8fafc (light) |

| Text | #e2e8f0 (dark) / #1e293b (light) |

| Spacing | 16px, 24px, 32px |

| Corners | 8px |

| KPI | 48-72px number, 14px label |

6. Security

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.