Skip to content
Back to skills

Dashboard

ASecurity

Build custom dashboards from any data source with local hosting and visual QA loops.

  • 17 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added September 6, 2026
documentationgobashapisecurity

Works with

  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 6, 2026

npx -y skills add clawic/skills --skill dashboard --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dashboard?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Dashboard
[![Security: A β€” Skills Directory](https://www.skillsdirectory.com/api/skills/clawic-dashboard/badge)](https://www.skillsdirectory.com/skills/clawic-dashboard)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: Dashboard
slug: dashboard
version: 1.0.1
description: Build custom dashboards from any data source with local hosting and visual QA loops.
homepage: https://clawic.com/skills/dashboard
changelog: User-driven data source model, explicit credential handling
metadata:
  clawdbot:
    emoji: πŸ“Š
    requires:
      bins: []
    os:
    - linux
    - darwin
    - win32
    displayName: Dashboard
---

## 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:
- βœ… Generates static HTML dashboards
- βœ… Creates fetch scripts user can run
- βœ… Stores dashboards in ~/Clawic/data/dashboard/

**User-driven model:**
- User specifies data sources
- User provides API credentials via environment
- User runs fetch scripts (cron or manual)
- Skill generates HTML and fetch scripts

This skill does NOT:
- ❌ Access credentials without user providing them
- ❌ Run automated fetches (user's cron runs scripts)
- ❌ Scrape services without user consent

## 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
```bash
#!/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)
- Open in browser, take screenshot
- Check: no overlap, readable fonts (β‰₯14px), good contrast
- If issues β†’ fix β†’ repeat
- Only deliver after visual validation

### 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
- Credentials via env vars, never in files
- Dashboards on `127.0.0.1` by default
- No PII in displayed data
- User adds auth if exposing to network

Files in this skill

  • SKILL.md2.7 KB
  • _meta.json246 B
  • design.md911 B
  • sources.md1.6 KB
  • widgets.md977 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…