agentleFS
prinxprinx/agents/skills/monitoring/SKILL.md

monitoring

Skill0 starsChanged 4 months agoMITView on GitHub

Use for standalone, on-demand checks of production health, errors, performance, or uptime.

16 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use authentication, database and 9 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MicrosoftSkill

    authentication

    Wire this in whenever the app uses or connects to data — records, a database, entities, per-user data, row-level security — or when the user wants sign-in, accounts, login, or protected pages. Rayfin data is always accessed as an authenticated user, so **data implies auth**; only a static page over public data skips it. The starter ships as a no-auth "hello world" that previews with no backend, and the full Fabric auth scaffolding is already in the project — this skill wires it in: AuthProvider + bootstrapAuth in main.tsx, the route guard in App.tsx, the sign-in page, sign-out, and the env/deploy requirement. Triggers: auth, authentication, sign in, sign-in, login, log in, sign out, logout, account, user, identity, protect route, require login, gated page, data, database, records, per-user, row-level security, who is the current user, Fabric auth, Entra.

    Also in 3 projects that use this

  • mijunriSkill

    database

    数据库脚本与操作规范。脚本放在 db_scripts 目录,遵循查询优化、事务、安全等实践。

    Also in 3 projects that use this

  • JohnJBorenSkill

    ci-cd

    CI/CD pipeline design, GitHub Actions, testing automation, and deployment strategies

    Also in 3 projects that use this

  • wrsmith108Skill

    docker

    Container-based development for isolated, reproducible environments. Use when running npm commands, installing packages, executing code, or managing project dependencies. Trigger phrases include "npm install", "run the build", "start the server", "install package", or any code execution request.

    Also in 4 projects that use this

  • klauswgSkill

    performance

    Optimize web performance for faster loading and better user experience. Use when asked to "speed up my site", "optimize performance", "reduce load time", "fix slow loading", "improve page speed", or "performance audit".

    Also in 4 projects that use this

  • mrgoonieSkill

    devops

    Deploy to Cloudflare (Workers, R2, D1), Docker, GCP (Cloud Run, GKE), Kubernetes (kubectl, Helm). Use for serverless, containers, CI/CD, GitOps, security audit.

    Also in 3 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

14 rules. 0 are common, 11 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 13 edited versions we read keep these.

  • 11

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not set up anything. Just check what is available:

    line 12
  2. Very specific:

    Read .agents/skills/deploy-project/SKILL.md to find the deployment URL.

    line 14
  3. Distinctive:

    If a URL exists: fetch it and check for a successful response.

    line 15
  4. Distinctive:

    If no URL: ask the user for the URL.

    line 16
  5. Distinctive:

    If the app is down or returning errors, report what you see.

    line 17
  6. Distinctive:

    Ask: What do you want to monitor?

    line 21
  7. Distinctive:

    If yes: help them configure it for this project.

    line 29
  8. Distinctive:

    If no: suggest the simplest free option based on what they want:

    line 30
  9. Very specific:

    If the project does not have one, create a simple /health route that returns 200 OK.

    line 43
  10. Very specific:

    After setting up monitoring, save to .agents/skills/monitor-project/SKILL.md:

    line 58
  11. Distinctive:

    Never set up complex monitoring stacks (Prometheus + Grafana + Alertmanager) unless the user explicitly asks and understands the …

    line 77
  12. Distinctive:

    Never handle API keys or tokens.

    line 78
  13. Distinctive:

    If the user does not know what monitoring is, explain it in one sentence: "Monitoring tells you when your app is down or broken, so you can …

    line 79
  14. Distinctive:

    Keep it to one free tool maximum.

    line 80

“Common” is measured: kept by at least 6 in 10 of the 13 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Monitoring

Monitoring is an on-demand request, not a mandatory step. The agent helps the user check their app's health or set up basic monitoring. Keep it simple.

If the user asks to check production health

Do not set up anything. Just check what is available:

  1. Read .agents/skills/deploy-project/SKILL.md to find the deployment URL.
  2. If a URL exists: fetch it and check for a successful response. Report status, response time, and any obvious errors.
  3. If no URL: ask the user for the URL.
  4. If the app is down or returning errors, report what you see. Do not fix anything unless asked.

If the user wants to set up monitoring

Ask: What do you want to monitor?

  • Uptime (is the site alive?)
  • Errors (are there failures in logs?)
  • Performance (is it slow?)

Then ask: Do you already use a monitoring service? (Sentry, UptimeRobot, BetterStack, etc.)

  • If yes: help them configure it for this project. Use the service's CLI or dashboard — never handle API keys directly.
  • If no: suggest the simplest free option based on what they want:
NeedFree optionWhat it does
UptimeUptimeRobotChecks your URL every 5 minutes, sends email if down
UptimeBetterStackUptime + status page, free tier
ErrorsSentryError tracking, free tier for small projects
SimpleA cron job + curlcurl -f https://yourapp.com/health || echo "DOWN" — no external service needed

For the simplest possible setup with no external service: suggest a health check endpoint and a cron job.

Health check endpoint

If the project does not have one, create a simple /health route that returns 200 OK. This is enough for basic uptime monitoring.

Simple cron monitoring (no external service)

Tell the user to add a cron job on their VPS or local machine:

# Check every 5 minutes, log failures
*/5 * * * * curl -sf https://yourapp.com/health || echo "$(date): DOWN" >> /var/log/monitor.log

For VPS deployments with Docker: add a lightweight monitoring container to docker-compose.yml only if the user wants it. Do not add it by default.

Save as project skill

After setting up monitoring, save to .agents/skills/monitor-project/SKILL.md:

---
name: monitor-project
description: Basic monitoring for this project.
---

# Monitor Project

- **URL**: https://yourapp.com
- **Health endpoint**: /health
- **Uptime check**: UptimeRobot (free) or cron job
- **How to check**: visit the URL or run `curl -sf https://yourapp.com/health`
- **Logs**: SSH to VPS, run `docker compose logs --tail 50`

Rules

  • Never set up complex monitoring stacks (Prometheus + Grafana + Alertmanager) unless the user explicitly asks and understands the maintenance cost.
  • Never handle API keys or tokens. Guide the user to add them in the service dashboard.
  • If the user does not know what monitoring is, explain it in one sentence: "Monitoring tells you when your app is down or broken, so you can fix it before users notice."
  • Keep it to one free tool maximum. Do not overwhelm with options.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.