Borrowing it
Nothing to install: this file belongs to bybren-llc/safe-agentic-workflow. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/bybren-llc/safe-agentic-workflow/main/.gemini/commands/remote/health.tomlgit clone --depth 1 https://github.com/bybren-llc/safe-agentic-workflowWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/bybren-llc/safe-agentic-workflow/health)<a href="https://agentmods.dev/commands/bybren-llc/safe-agentic-workflow/health"><img src="https://agentmods.dev/badge/commands/bybren-llc/safe-agentic-workflow/health.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00868 |
| Opus 5 | $0.00000 | $0.00434 |
| Sonnet 5 | $0.00000 | $0.00174 |
| Haiku 4.5 | $0.00000 | $0.00087 |
Grade A, and why
health scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -s -w '\nHTTP Status: %{http_code}\nResponse Time: %{time_total}s\n' http://{REMOTE_HOST}:{APP_PORT}/api/health How it starts
The opening of the file, as written. The whole thing — 127 lines — stays where its author put it; the contents beside it link to each section on GitHub.
description = "Check remote dev environment health dashboard"
prompt = """
Remote Health Command
Display comprehensive health status of your remote dev environment including containers, resources, connectivity, and recent issues.
Workflow
1. Container Health Check
Check all project services:
ssh -i {SSH_KEY_PATH} {REMOTE_USER}@{REMOTE_HOST} "docker ps --filter name={PROJECT} --format 'table {{.Names}}\t{{.Status}}\t{{.State}}'"
Get detailed health status:
ssh -i {SSH_KEY_PATH} {REMOTE_USER}@{REMOTE_HOST} "docker inspect {CONTAINER_NAME} --format='{{.Name}}: {{.State.Health.Status}}'"
2. Resource Usage
Check CPU and Memory usage:
ssh -i {SSH_KEY_PATH} {REMOTE_USER}@{REMOTE_HOST} "docker stats --no-stream --format 'table {{.Name}}\t{{.CPUPerc}}\t{{.MemUsage}}'"
Check disk space:
ssh -i {SSH_KEY_PATH} {REMOTE_USER}@{REMOTE_HOST} "df -h / | tail -1"
3. Application Health Endpoint
Test your app's health endpoint:
curl -s -w '\nHTTP Status: %{http_code}\nResponse Time: %{time_total}s\n' http://{REMOTE_HOST}:{APP_PORT}/api/health
4. Database Connectivity
Test PostgreSQL connection:
ssh -i {SSH_KEY_PATH} {REMOTE_USER}@{REMOTE_HOST} "docker exec {DB_CONTAINER} pg_isready -U {DB_USER}"
5. Redis/Cache Connectivity
Test Redis connection:
ssh -i {SSH_KEY_PATH} {REMOTE_USER}@{REMOTE_HOST} "docker exec {REDIS_CONTAINER} redis-cli ping"
Expected: PONG
6. Recent Error Check
Check for recent errors in logs:
ssh -i {SSH_KEY_PATH} {REMOTE_USER}@{REMOTE_HOST} "docker logs {CONTAINER_NAME} --since 5m 2>&1 | grep -iE 'error|fatal|exception' | tail -10"
7. Version Information
Get running version:
ssh -i {SSH_KEY_PATH} {REMOTE_USER}@{REMOTE_HOST} "docker inspect {CONTAINER_NAME} | grep 'org.opencontainers.image.revision'"
8. Health Dashboard Report
Generate comprehensive health report:
Remote Dev Environment Health Dashboard
Container Health:
{PROJECT}-app Healthy Up 2 hours
{PROJECT}-postgres Healthy Up 2 hours
{PROJECT}-redis Healthy Up 2 hours
Resource Usage:
Container CPU Memory
{PROJECT}-app 2.45% 312MB / 2GB (15%)
{PROJECT}-postgres 0.12% 45MB / 2GB (2%)
{PROJECT}-redis 0.08% 8MB / 2GB (0%)
Disk Space: 125GB / 250GB (50% used)
Overall Status: HEALTHY
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 4d ago First seen · 127 lines · 0 tokens per session scan A b973d30053e1
health is a command published in the GitHub repository bybren-llc/safe-agentic-workflow (406 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 868 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other commands, from other repositories
deployment
Basic production deployment setup for FastAPI applications.
k8s-manifest
Generate production-ready Kubernetes manifests for the current application.
extract-infrastructure
Extract Azure infrastructure and generate Docker Compose stack for local development.
deploy
Deploy an app to multiple clusters with smart placement.
dare-dockerfile
Este comando analisa a stack do projeto (definida no DESIGN.md ou .cursorrules) e gera um Dockerfile otimizado para produção e desenvolvimento.
gen-infra
Generate Infrastructure as Code: Docker Compose, Kubernetes manifests, K3s manifests, Terraform configs, or Helm charts. Usage: /gen-infra [docker|k8s|k3s|terraform|helm] [--env=production].