jorgermp

Task Monitor

IT Ops & Securityv1.0.0
By jorgermpUpdated 2026-05-18task-monitor@clawhub_jorgermp/task-monitor
Monitoring & AlertsDevOps

According to AlphaMoat, as of 2026-09, Task Monitor has 4,909 downloads and 11 stars — ranked #1,889 of 5,078 AI skills overall, and #95 of 264 in IT Ops & Security.

Installs
374
Downloads
4.9K
Stars
11
Overall Rank
#1,889
Top 38% overall · Top 36% in IT Ops & Security
PlatformInstallsDownloadsStarsComments
ClawHub ↗1654.8K11-
SkillHub ↗3744.9K11—

Platforms count differently and update at different times.

What this skill does

A Node.js and Express server shows main and Discord sessions, sub-agents and recent cron history, with a JSON status endpoint and an older Markdown generator. It listens on port 3030 and can be reached on the local network. Client polling and cached background refresh reduce repeated collection; displayed data may be temporarily stale. Installation and server startup are still required.

Profile published 2026-10-27

What you can do with it

  • Inspect agent sessions and background-task status

When to use it

  • When an OpenClaw environment needs a browser-readable task overview

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Explain installation, network exposure and status sources, then distinguish the web dashboard from Markdown generation.

Monthly Trend

Downloads4.9K
3.4K4.2K5.0K2026-03 · Downloads 3.5K2026-05 · Downloads 4.2K2026-07 · Downloads 4.6K2026-08 · Downloads 4.7K2026-09 · Downloads 4.9K26-0326-09
Stars11
1011112026-03 · Stars 102026-05 · Stars 102026-07 · Stars 112026-08 · Stars 112026-09 · Stars 1126-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-094.9K—11
2026-084.7K+2.6%11
2026-074.6K—11
2026-054.2K—10
2026-033.5K—10

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

2.3 KB · ClawHub v1.0.0
---
name: task-monitor
description: Real-time web dashboard for OpenClaw sessions and background tasks. Mobile-responsive with auto-refresh.
version: 0.1.0
---

# Task Monitor v0.1

Real-time monitoring dashboard for OpenClaw with web interface.
Show all (102 lines)
## Features

- 🌐 **Web Dashboard** - Beautiful, responsive UI accessible from any device
- 📱 **Mobile-First** - Optimized for phones and tablets
- 🔄 **Auto-Refresh** - Updates every 60 seconds
- 🎨 **Modern Design** - Gradient UI with dark theme
- 📊 **Live Data** - Main session, Discord, sub-agents, cron jobs
- 🚀 **Fast API** - JSON endpoint with intelligent caching (30s TTL)
- ⚡ **Performance** - <100ms response time (cached), ~15s cold cache

## Installation

```bash
cd skills/task-monitor
npm install
```

## Usage

### Start Web Server

```bash
./scripts/start-server.sh
```

Server will run on port **3030** (accessible on LAN).

**Access URLs:**
- Local: `http://localhost:3030`
- LAN: `http://<your-ip>:3030`

### Stop Server

```bash
./scripts/stop-server.sh
```

### API Endpoint

```bash
curl http://localhost:3030/api/status
```

Returns JSON with:
- Main session stats
- Discord session stats
- Active sub-agents (with descriptions)
- Recent cron job history

### Generate Markdown (v0.1)

Legacy markdown generator still available:

```bash
./scripts/generate-dashboard.js
```

Updates `DASHBOARD.md` in workspace root.

## Automation

CRON job runs every 5 minutes to update markdown dashboard:
`*/5 * * * *` -> Executes `generate-dashboard.js`

## Architecture

- **Backend:** Node.js + Express
- **Frontend:** Pure HTML/CSS/JS (no frameworks)
- **Data Source:** `openclaw sessions list --json` + `openclaw cron list --json`
- **Caching:** In-memory cache with 30-second TTL
  - Pre-warmed on server startup
  - Async background refresh when expired
  - Stale-while-revalidate pattern for optimal UX
- **Refresh:** Client-side polling (60s interval)

## Performance

**Without cache:**
- API response time: ~15 seconds (blocking)
- Problem: Each request blocks Node.js event loop

**With cache:**
- Cache hit: <100ms (~365x faster)
- Cache miss: ~15s (first request only)
- Stale cache: <100ms while refreshing in background
- Cache TTL: 30 seconds

The caching system ensures:
- Lightning-fast responses for most requests
- No blocking of concurrent requests
- Graceful degradation when cache expires

Popular in IT Ops & Security

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.