skills$openclaw/monitor-gen
lxgicstudios1.2k

by lxgicstudios

monitor-gen – OpenClaw Skill

monitor-gen is an OpenClaw Skills integration for coding workflows. Generate monitoring and alerting configs for Prometheus and Grafana. Use when setting up observability.

1.2k stars906 forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

namemonitor-gen
descriptionGenerate monitoring and alerting configs for Prometheus and Grafana. Use when setting up observability. OpenClaw Skills integration.
ownerlxgicstudios
repositorylxgicstudios/monitor-gen
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @lxgicstudios/monitor-gen
last updatedFeb 7, 2026

Maintainer

lxgicstudios

lxgicstudios

Maintains monitor-gen in the OpenClaw Skills directory.

View GitHub profile
File Explorer
9 files
.
src
cli.ts
660 B
index.ts
756 B
_meta.json
296 B
package-lock.json
30.2 KB
package.json
649 B
README.md
252 B
SKILL.md
2.2 KB
tsconfig.json
251 B
SKILL.md

name: monitor-gen description: Generate monitoring and alerting configs for Prometheus and Grafana. Use when setting up observability.

Monitoring Config Generator

Get Prometheus rules and Grafana dashboards without reading docs for hours. Describe what you want to monitor and get production ready configs instantly.

One command. Zero config. Just works.

Quick Start

npx ai-monitoring "node.js api with postgres and redis"

What It Does

  • Generates Prometheus alerting rules for common failure modes
  • Creates Grafana dashboard JSON you can import directly
  • Covers CPU, memory, disk, and custom application metrics
  • Sets sensible thresholds based on industry standards
  • Includes runbook links and alert descriptions

Usage Examples

# Monitor a web service
npx ai-monitoring "express api with 99.9% uptime SLA"

# Database monitoring
npx ai-monitoring "postgres primary with 2 replicas"

# Full stack
npx ai-monitoring "kubernetes cluster with 10 nodes running microservices"

Best Practices

  • Tune thresholds - Start with defaults, adjust after observing real traffic
  • Don't alert on everything - Only alert on actionable issues
  • Add context - Include runbook URLs in your alert annotations
  • Test alerts - Intentionally trigger alerts to verify they fire correctly

When to Use This

  • Setting up monitoring for a new service
  • Adding observability to existing infrastructure
  • Learning Prometheus query syntax through examples
  • Standardizing alerting across your team

Part of the LXGIC Dev Toolkit

This is one of 110+ free developer tools built by LXGIC Studios. No paywalls, no sign-ups, no API keys on free tiers. Just tools that work.

Find more:

Requirements

No install needed. Just run with npx. Node.js 18+ recommended.

npx ai-monitoring --help

How It Works

The tool understands common infrastructure patterns and generates PromQL queries and Grafana panel definitions. It maps your description to metric names and creates appropriate aggregations and thresholds.

License

MIT. Free forever. Use it however you want.

README.md

ai-monitoring

Generate monitoring and alerting configuration

Install

npm install -g ai-monitoring

Usage

npx ai-monitoring "your description here"

Setup

export OPENAI_API_KEY=sk-...

License

MIT

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

No install needed. Just run with npx. Node.js 18+ recommended. ```bash npx ai-monitoring --help ```

FAQ

How do I install monitor-gen?

Run openclaw add @lxgicstudios/monitor-gen in your terminal. This installs monitor-gen into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/lxgicstudios/monitor-gen. Review commits and README documentation before installing.