Agent skill

Monitoring

by alsk1992 in alsk1992/CloddsBot

System health monitoring, alerts, and error tracking. An agent skill from alsk1992/CloddsBot.

MITAuto-check passed

Install Monitoring

skills CLI
$ npx skills add alsk1992/CloddsBot --skill monitoring -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install alsk1992/CloddsBot monitoring --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/alsk1992/CloddsBot.git skills-src && mkdir -p .claude/skills && cp -r skills-src/src/skills/bundled/monitoring .claude/skills/monitoring && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
monitoring
GitHub stars
2.9k
Token cost
~1.5k tokens
SKILL.md length
121 words
Files
2
Skills in repo
116
Repo updated
First seen
Licence
MIT

At a glance

System health monitoring, alerts, and error tracking. An agent skill from alsk1992/CloddsBot.

  • Works in 6 steps: Set appropriate thresholds - Avoid alert… → Use cooldowns - Prevent alert spam → Multiple targets - Email + webhook for… → …
  • SKILL.md covers Chat Commands, TypeScript API Reference, Alert Types and Configuration, plus 1 more section
  • Runs TypeScript scripts from its folder; reaches hooks.slack.com

What it does

Monitoring is an agent skill from alsk1992/CloddsBot. System health monitoring, alerts, and error tracking

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `index.ts`).

The repository describes itself as: Open Source AI trading agent that operates autonomously across 1000+ markets - Polymarket, Kalshi, Binance, Hyperliquid, Solana DEXs, 5 EVM chains. Scans for edge, executes… The licence is MIT.

Example prompts

  • “/monitoring”

Requirements

  • Node.js

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Set appropriate thresholds - Avoid alert fatigue
  2. Use cooldowns - Prevent alert spam
  3. Multiple targets - Email + webhook for redundancy
  4. Acknowledge alerts - Track what's been handled
  5. Monitor providers - Know when APIs are down
  6. Check health regularly - Don't just rely on alerts

What it can do on your machine

Read from SKILL.md and the folder at commit c930628. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (TypeScript), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • hooks.slack.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Monitoring loads about 1.5k tokens when it runs. Until then it costs about 16 tokens; SKILL.md has 121 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~16
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from alsk1992/CloddsBot at commit c930628, republished under its MIT licence (© alsk1992). 121 words, ~1,455 tokens.

Download SKILL.mdSave it as .claude/skills/monitoring/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
monitoring
description
System health monitoring, alerts, and error tracking
emoji
🔔

Monitoring - Complete API Reference

Monitor system health, track errors, and receive alerts when issues occur.


Chat Commands

Service Control
/monitor start                              # Start monitoring
/monitor stop                               # Stop monitoring
/monitor status                             # Check monitoring status
Health Checks
/monitor health                             # Run health check
/monitor health --verbose                   # Detailed health info
/monitor providers                          # Check LLM provider status
Alerts
/monitor alerts                             # View recent alerts
/monitor alerts --unread                    # Unread alerts only
/monitor alert-targets                      # View alert destinations
/monitor alert-targets add email <addr>     # Add email target
/monitor alert-targets add webhook <url>    # Add webhook target
/monitor alert-targets remove <id>          # Remove target
Configuration
/monitor config                             # View config
/monitor cooldown 300                       # Set alert cooldown (seconds)
/monitor threshold cpu 80                   # Set CPU alert threshold
/monitor threshold memory 90                # Set memory threshold

TypeScript API Reference

Create Monitoring Service
typescript
import { createMonitoringService } from 'clodds/monitoring';

const monitor = createMonitoringService({
  // Health check interval
  intervalMs: 60000,  // 1 minute

  // Alert targets
  alertTargets: [
    { type: 'email', address: 'alerts@example.com' },
    { type: 'webhook', url: 'https://hooks.example.com/alerts' },
  ],

  // Alert cooldown (prevent spam)
  alertCooldownMs: 300000,  // 5 minutes

  // Thresholds
  thresholds: {
    cpu: 80,        // Alert at 80% CPU
    memory: 90,     // Alert at 90% memory
    errorRate: 10,  // Alert at 10% error rate
  },
});
Start/Stop Monitoring
typescript
// Start monitoring
await monitor.start();

// Check if running
const isRunning = monitor.isRunning();

// Stop monitoring
await monitor.stop();
Health Checks
typescript
// Run health check
const health = await monitor.runHealthCheck();

console.log(`Overall: ${health.status}`);  // 'healthy' | 'degraded' | 'unhealthy'

console.log('\nSystem:');
console.log(`  CPU: ${health.system.cpu}%`);
console.log(`  Memory: ${health.system.memory}%`);
console.log(`  Disk: ${health.system.disk}%`);

console.log('\nProviders:');
for (const [name, status] of Object.entries(health.providers)) {
  console.log(`  ${name}: ${status.status} (${status.latencyMs}ms)`);
}

console.log('\nServices:');
for (const [name, status] of Object.entries(health.services)) {
  console.log(`  ${name}: ${status.status}`);
}
Provider Health
typescript
// Check LLM provider status
const providers = await monitor.checkProviders();

for (const provider of providers) {
  console.log(`${provider.name}:`);
  console.log(`  Status: ${provider.status}`);
  console.log(`  Latency: ${provider.latencyMs}ms`);
  console.log(`  Last error: ${provider.lastError || 'none'}`);
  console.log(`  Error rate: ${provider.errorRate}%`);
}
Alert Management
typescript
// Get recent alerts
const alerts = await monitor.getAlerts({ limit: 10 });

for (const alert of alerts) {
  console.log(`[${alert.severity}] ${alert.title}`);
  console.log(`  ${alert.message}`);
  console.log(`  Time: ${alert.timestamp}`);
  console.log(`  Acknowledged: ${alert.acknowledged}`);
}

// Acknowledge alert
await monitor.acknowledgeAlert(alertId);

// Get unread count
const unread = await monitor.getUnreadAlertCount();
Alert Targets
typescript
// Add alert target
await monitor.addAlertTarget({
  type: 'email',
  address: 'team@example.com',
});

await monitor.addAlertTarget({
  type: 'webhook',
  url: 'https://hooks.slack.com/...',
});

// List targets
const targets = monitor.getAlertTargets();

// Remove target
await monitor.removeAlertTarget(targetId);
Event Handlers
typescript
// Listen for events
monitor.on('alert', (alert) => {
  console.log(`🚨 Alert: ${alert.title}`);
});

monitor.on('healthCheck', (health) => {
  if (health.status !== 'healthy') {
    console.log(`⚠️ System ${health.status}`);
  }
});

monitor.on('providerDown', (provider) => {
  console.log(`❌ Provider down: ${provider.name}`);
});

monitor.on('providerRecovered', (provider) => {
  console.log(`✅ Provider recovered: ${provider.name}`);
});
Manual Alerts
typescript
// Send manual alert
await monitor.sendAlert({
  severity: 'warning',  // 'info' | 'warning' | 'error' | 'critical'
  title: 'Custom Alert',
  message: 'Something important happened',
  metadata: { key: 'value' },
});

Alert Types

TypeTrigger
provider_downLLM provider not responding
high_cpuCPU usage above threshold
high_memoryMemory usage above threshold
high_error_rateError rate above threshold
unhandled_exceptionUncaught exception
unhandled_rejectionUnhandled promise rejection

Configuration

typescript
// Update config
monitor.configure({
  intervalMs: 30000,
  alertCooldownMs: 600000,
  thresholds: {
    cpu: 85,
    memory: 95,
    errorRate: 5,
  },
});

Best Practices

  1. Set appropriate thresholds - Avoid alert fatigue
  2. Use cooldowns - Prevent alert spam
  3. Multiple targets - Email + webhook for redundancy
  4. Acknowledge alerts - Track what's been handled
  5. Monitor providers - Know when APIs are down
  6. Check health regularly - Don't just rely on alerts

© alsk1992, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in src/skills/bundled/monitoring of alsk1992/CloddsBot.

  • SKILL.md
  • index.ts

Open the folder on GitHubat commit c930628

Compare with similar skills

Monitoring next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Monitoring compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Monitoring this skillalsk1992/CloddsBot2.9k—~1.5kAutomated safety check: PassMIT
Health Alert Authoringnetdata/netdata81k—~7.1kAutomated safety check: PassGPL-3.0
Authoring Error Tracking AlertsPostHog/posthog40k—~2.8kAutomated safety check: PassCustom licence
Codebase Health Dashboardgarrytan/gstack136k—~11kAutomated safety check: NotesMIT
Alerting Oncallsickn33/agentic-awesome-skills47k1 repos~2.8kAutomated safety check: PassMIT
OmniRoute Health CLIdiegosouzapw/OmniRoute74k1 repos~327Automated safety check: PassMIT

Similar skills

  • Health Alert Authoring

    netdata/netdata

    Author, adapt, modify, or review Netdata health alerts and alert templates.

    81k GitHub stars~7.1k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Official

    Author error tracking alerts that fire when an issue is created, reopened, or starts spiking.

    40k GitHub stars~2.8k tokensUpdated today
    Backend & APIsAuto-check passed
  • Runs a project's own type checker, linter, test runner, dead-code detector and shell linter, combines them into a weighted 0-10 score and tracks the trend.

    136k GitHub stars~11k tokensUpdated today
    DevelopmentAuto-check: notes
  • Alerting Oncall

    sickn33/agentic-awesome-skills

    Set up alerting rules, configure on-call rotations, and manage incident response workflows.

    47k GitHub starsUsed in 1 repo~2.8k tokens
    DevOps & CloudAuto-check passed
  • OmniRoute Health CLI

    diegosouzapw/OmniRoute

    Checks OmniRoute server health, per-component status, and circuit breakers from the command line, with a live watch dashboard.

    74k GitHub starsUsed in 1 repo~327 tokens
    DevOps & CloudAuto-check passed
  • Cost Tracking

    affaan-m/ECC

    Track and report Claude Code token usage, spending, and budgets from the local ECC cost-tracker metrics log.

    275k GitHub starsUsed in 1 repo~1.3k tokens
    AI & LLM EngineeringAuto-check passed

More from alsk1992/CloddsBot

All 116 skills in this repo
  • Qmd

    alsk1992/CloddsBot

    Local hybrid search for markdown notes and docs. An agent skill from alsk1992/CloddsBot.

    2.9k GitHub starsUsed in 3 repos~1.2k tokens
    Auto-check passed
  • Drift SDK

    alsk1992/CloddsBot

    Drift Protocol perpetual futures trading on Solana (direct SDK)

    2.9k GitHub starsUsed in 1 repo~625 tokens
    Auto-check passed
  • Edge

    alsk1992/CloddsBot

    Find mispriced markets by comparing to external models and data sources

    2.9k GitHub starsUsed in 1 repo~472 tokens
    Auto-check passed
  • Embeddings

    alsk1992/CloddsBot

    Vector embeddings configuration and semantic search. An agent skill from alsk1992/CloddsBot.

    2.9k GitHub starsUsed in 1 repo~1.3k tokens
    Auto-check passed
  • News

    alsk1992/CloddsBot

    Monitor news and correlate with prediction market movements. An agent skill from alsk1992/CloddsBot.

    2.9k GitHub starsUsed in 1 repo~462 tokens
    Auto-check passed
  • Opportunity

    alsk1992/CloddsBot

    Find and execute cross-platform arbitrage opportunities across prediction markets

    2.9k GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed

Questions about Monitoring

What does Monitoring do?

System health monitoring, alerts, and error tracking. An agent skill from alsk1992/CloddsBot. Monitoring is an agent skill from alsk1992/CloddsBot.

How do I install Monitoring in Claude Code?

Run `npx skills add alsk1992/CloddsBot --skill monitoring -a claude-code`. Or copy the skill folder (src/skills/bundled/monitoring in alsk1992/CloddsBot) into .claude/skills/monitoring in your project. Claude Code loads it when a task matches its description.

How do I install Monitoring in Codex?

Run `npx skills add alsk1992/CloddsBot --skill monitoring -a codex`. Or copy the skill folder (src/skills/bundled/monitoring in alsk1992/CloddsBot) into .agents/skills/monitoring in your project. Codex loads it when a task matches its description.

Can I use Monitoring in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add alsk1992/CloddsBot --skill monitoring -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/monitoring, .gemini/skills/monitoring, .github/skills/monitoring and .opencode/skills/monitoring in your project.

What does Monitoring need to run?

Going by SKILL.md and its folder, Monitoring needs TypeScript for the scripts in its folder. Our summary lists: Node.js.

Does Monitoring access the network?

SKILL.md names 1 domain. In commands or code: hooks.slack.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Monitoring safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Monitoring use?

Monitoring is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Monitoring use?

About 1.5k tokens (SKILL.md is roughly 5.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Monitoring?

Skills that share tags, products or a category with Monitoring: Health Alert Authoring (netdata/netdata, 81k stars), Authoring Error Tracking Alerts (PostHog/posthog, 40k stars), Codebase Health Dashboard (garrytan/gstack, 136k stars) and Alerting Oncall (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Monitoring?

alsk1992 (a GitHub user) maintains it in alsk1992/CloddsBot, which has 2,903 GitHub stars. The repository holds 116 skills in this directory. The repository was last updated on October 2, 2026.

Source: alsk1992/CloddsBot on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.