Skip to content
Back to skills

Monitor Pi

ASecurity

Continuous Pi agent infrastructure health monitor. Checks the D-Bus daemon (embry-agent.service), scheduler daemon, scillm service, and scheduler job success rates. Detects crash-looping, stale jobs, and log bloat. Fires Discord alerts on failures. Designed to run on a scheduler.

  • 6 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 11, 2026
devopspythonbash

Security analysis

A100/100

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

Scanned September 11, 2026

npx -y skills add grahama1970/agent-skills --skill monitor-pi --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Monitor Pi?

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

Security grade badge for Monitor Pi
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/grahama1970-monitor-pi/badge)](https://www.skillsdirectory.com/skills/grahama1970-monitor-pi)

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: monitor-pi
description: >
  Continuous Pi agent infrastructure health monitor. Checks the D-Bus daemon
  (embry-agent.service), scheduler daemon, scillm service, and scheduler job
  success rates. Detects crash-looping, stale jobs, and log bloat.
  Fires Discord alerts on failures. Designed to run on a scheduler.
triggers:
  - monitor pi health
  - check pi daemon status
  - is the pi daemon running
  - pi infrastructure health
  - check embry agent service
  - scheduler health check
  - are scheduler jobs failing
  - pi service status
allowed-tools:
  - Bash
  - Read
metadata:
  short-description: Pi agent infrastructure health watchdog
provides:
  - pi-daemon-monitoring
  - scheduler-health-monitoring
  - dbus-health-monitoring
composes:
  - ops-embry-agent
  - scheduler
  - memory
  - agentic-evals
taxonomy:
  - monitoring
  - operations
disciplines:
  - observability-operations
---

> STOP. READ THIS ENTIRE SKILL.MD BEFORE CALLING ANY ENDPOINT.

# monitor-pi

Continuous health watchdog for Pi agent infrastructure. Monitors:

- **D-Bus daemon** (`embry-agent.service`): Running, crash-looping, D-Bus name registered
- **Scheduler daemon**: Running, job success/failure rates, log bloat
- **scillm service** (`embry-scillm.service`): Running status
- **Scheduler job audit**: Detects jobs with stale paths or disabled state

## Usage

```bash
# One-shot health check (for scheduler or manual)
./run.sh check

# Continuous monitoring (runs every 5 minutes)
./run.sh watch

# JSON output for dashboards
./run.sh check --json
```

## Scheduler Registration

```bash
# Register as a scheduler job (every 30 minutes)
cd .pi/skills/scheduler && uv run python scheduler.py register \
  --name monitor-pi \
  --command "$HOME/.pi/skills/monitor-pi/run.sh check" \
  --cron "*/30 * * * *"
```

Files in this skill

  • SKILL.md1.8 KB
  • fixtures/agentic_eval.json488 B
  • monitor.py16 KB
  • pyproject.toml240 B
  • run.sh441 B
  • sanity.sh801 B
  • uv.lock13.4 KB

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…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.