vibe-monitor
Skill1 starsChanged 6 months agoMITView on GitHub
Set up error tracking and uptime alerts so you find out when something breaks before your users do.
- Reads credentials
- Installs packages
In this repository27 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- vibe-authSkill
- vibe-checkSkill
- vibe-cleanSkill
- vibe-dbSkill
- vibe-debugSkill
- vibe-docsSkill
- vibe-envSkill
- vibe-explainSkill
- vibe-gitSkill
- vibe-guardianSkill
- vibe-handoffSkill
- vibe-healthSkill
- vibe-launchSkill
- vibe-logSkill
- vibe-onboardSkill
- vibe-oopsSkill
- vibe-perfSkill
- vibe-planSkill
- vibe-rollbackSkill
- vibe-scopeSkill
- vibe-secretSkill
- vibe-skepticSkill
- vibe-stuckSkill
- vibe-testSkill
- vibe-thinkSkill
- vibe-upgradeSkill
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 9 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
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
- Distinctive: line 16
Before or just after launching to real users
- Very specific: line 17
After running /vibe-launch and realizing you have no alerts set up
- Distinctive: line 18
When you found out your app was down because a user told you
- Very specific: line 36
If something monitoring-related is found: check whether it's actually configured, not just installed.
- Distinctive: line 38
If nothing is there: move to Step 2.
- Distinctive: line 48
Ask one question first: "What's your app built with?" Then use the right setup below.
- Distinctive: line 54
Run the setup wizard — it handles everything automatically:
- Distinctive: line 101
If you skip this, Sentry will work locally but miss all production errors.
- Distinctive: line 105
Test that it works: Add a temporary route that deliberately throws an error:
- Distinctive: line 176
Test that it works: Add a temporary button or onClick handler in any component:
- Distinctive: line 202
Create an account at uptimerobot.com
- Very specific: line 259
Check your deployment platform dashboard first — is there a failed deploy sitting there?
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
vibe-monitor
You can't fix what you don't know is broken. A crashed API, a failing signup, a payment that silently errors — these all fail quietly unless something is watching. This skill sets up two things: a way to catch errors inside your app, and a way to know if your app stops responding entirely.
Two tools, in order of importance:
- Error tracking — alerts you when your app throws an error
- Uptime monitoring — alerts you when your app is completely unreachable
When to use
- Before or just after launching to real users
- After running
/vibe-launchand realizing you have no alerts set up - When you found out your app was down because a user told you
Step 1 — Check what's already there
I'll check silently before recommending anything:
grep -r "sentry\|logrocket\|datadog\|posthog\|bugsnag\|rollbar" package.json package-lock.json requirements.txt 2>/dev/nullAlso check environment variables:
grep -iE "SENTRY|LOGROCKET|DATADOG|POSTHOG" .env .env.example 2>/dev/nullIf something monitoring-related is found: check whether it's actually configured, not just installed. It's common to have Sentry in package.json with no SENTRY_DSN in .env and no Sentry.init() call in the code — installed but never connected. Say what you found.
If nothing is there: move to Step 2.
Step 2 — Set up error tracking
Recommended: Sentry — free tier handles most small projects, and it has SDKs for every major stack. "SDK" just means the code that connects your app to Sentry.
I'll handle the entire technical setup. You don't need to read or understand the code sections below — they show what I'll add to your project so you know what's happening, but you don't need to type or run any of it. Your only job is to create a free Sentry account if you don't have one, and click to the URL I'll give you to verify it's working.
Ask one question first: "What's your app built with?" Then use the right setup below.
Next.js
Run the setup wizard — it handles everything automatically:
npx @sentry/wizard@latest -i nextjsThe wizard will ask for a Sentry project. If they don't have a Sentry account: send them to sentry.io to create one (free). Then come back and run this again.
Test that it works: In a page component, throw inside getServerSideProps or an API route:
// Temporary — remove after testing
export async function getServerSideProps() {
throw new Error("Sentry test");
}Visit that page. The error should appear in the Sentry dashboard within 30 seconds. Then remove the test.
Node.js / Express
npm install @sentry/nodeAt the very top of the main server file — before any routes are defined:
const Sentry = require("@sentry/node");
Sentry.init({ dsn: process.env.SENTRY_DSN });Then add to .env:
SENTRY_DSN=https://...Also add SENTRY_DSN= (with no value) to .env.example so future developers know this variable is required.
Important: .env only sets the variable locally. For production, you also need to add SENTRY_DSN to your deployment platform:
- Vercel: Project Settings → Environment Variables
- Railway: Project → Variables
- Render: Environment → Environment Variables
- Fly.io:
fly secrets set SENTRY_DSN=https://...
If you skip this, Sentry will work locally but miss all production errors.
The DSN (the URL that connects your app to Sentry) comes from: Sentry dashboard → your project → Settings → Client Keys (DSN).
Test that it works: Add a temporary route that deliberately throws an error:
// Temporary — remove after testing
app.get("/test-error", (req, res) => {
throw new Error("Test: Sentry is working");
});Visit that URL in your browser. The error should appear in the Sentry dashboard within 30 seconds. Then remove the test route.
Python / Django / Flask
pip install sentry-sdkAt the top of your app's entry point:
import sentry_sdk
import os
sentry_sdk.init(dsn=os.environ.get("SENTRY_DSN"))Then add to .env:
SENTRY_DSN=https://...Important: .env only sets the variable locally. Set SENTRY_DSN in your deployment platform's environment variables (same steps as above).
Test that it works: In any view, raise a deliberate exception:
# Temporary — remove after testing
def test_error(request):
raise Exception("Sentry test")Wire it to a URL, visit it once, then remove it. The error should appear in the Sentry dashboard within 30 seconds.
React/Vite/Frontend-only apps
For apps without a custom server (React, Vite, plain HTML hosted on Netlify or Vercel):
npm install @sentry/reactThen in your main entry file (usually src/main.jsx or src/index.js):
import * as Sentry from "@sentry/react";
Sentry.init({ dsn: import.meta.env.VITE_SENTRY_DSN });Note: use VITE_SENTRY_DSN (not SENTRY_DSN) — Vite only exposes variables prefixed with VITE_ to the browser.
Add to .env:
VITE_SENTRY_DSN=https://...And add VITE_SENTRY_DSN to your deployment platform environment variables (same platforms as above).
Test that it works: Add a temporary button or onClick handler in any component:
// Temporary — remove after testing
<button onClick={() => { throw new Error("Sentry test"); }}>
Test Sentry
</button>Click it once. The error should appear in the Sentry dashboard within 30 seconds. Then remove the test code.
Alternatives to Sentry
- LogRocket — better if you want to see a video replay of what the user was doing when it broke
- Posthog — if they're already using it for analytics, it includes basic error tracking; no extra install needed
Step 3 — Set up uptime monitoring
Error tracking only catches errors that reach your code. It won't tell you if the server is completely down, if a deployment silently failed, or if your domain expired. Uptime monitoring covers that gap.
Recommended: UptimeRobot — free tier checks your app every 5 minutes and emails you if it goes down.
- Create an account at uptimerobot.com
- Click "Add New Monitor"
- Monitor type: HTTP(s)
- Friendly name: whatever you want (e.g. "My App")
- URL: your production URL (e.g.
https://myapp.vercel.app) - Monitoring interval: every 5 minutes
- Under "Alert Contacts": add your email address
- Save
Test it: Temporarily type a fake URL into the monitor (e.g. add -broken to the end). Within 10 minutes you should get an email saying the site is down. Then fix the URL back.
If they're on Vercel, Railway, or Render
These platforms have built-in uptime dashboards — point the user there first:
- Vercel: dashboard → your project → the status indicator at the top
- Railway: your project → Metrics tab
- Render: dashboard → your service → the status dot
UptimeRobot is still worth adding on top — platform dashboards don't email you.
Alternatives:
- Better Uptime — slightly nicer interface
- Checkly — useful if you want to verify that a specific page loads correctly (not just that the server responds)
Step 4 — Deployment alerts (strongly recommended)
This catches a common failure: you pushed something new and it silently failed to deploy, so the old version kept running. If you can't read build logs fluently, this is the most important alert to set up — it tells you immediately when a deployment fails.
- Vercel: Project Settings → Notifications → Failed Deployments → enable email
- Railway: Project → Settings → Notifications → enable failed deploy emails
- Render: Dashboard → your service → Settings → Notifications
Step 5 — Tell the user what they're now set up for
Be concrete about what they'll receive:
"You'll now get an email if:
- Any unhandled error occurs in your app (Sentry — within seconds)
- Your app is completely down or unreachable (UptimeRobot — within 5 minutes)
- A deployment fails (Vercel/Railway notification — immediately)
These won't catch every problem, but they'll catch the ones your users would report."
When an alert fires — what to do
Sentry error alert: Go to your Sentry dashboard → click the error → read the stack trace. It shows the file and line number where it happened. That's where to look first.
UptimeRobot "site is down" alert:
Check your deployment platform dashboard first — is there a failed deploy sitting there? If the app was working and suddenly isn't, run /vibe-rollback to get back to a working version, then figure out what broke.
Deployment failure email: Your hosting platform will show the build logs. Look for the first red line — that's usually the actual error. If you pushed a change just before this, that change probably caused it.
Verification checklist
- Checked for existing monitoring before installing anything new
- Error tracking installed and configured for the right stack
SENTRY_DSN(or equivalent) added to.envand.env.example- Test error triggered and confirmed visible in Sentry dashboard within 30 seconds
- Test route or test code removed after verification
- Uptime monitor created at UptimeRobot (or equivalent) pointing at production URL
- Alert email confirmed on the uptime monitor
- Uptime monitor tested by temporarily breaking the URL
- Deployment failure notifications enabled on hosting platform
- User knows what to do when each type of alert fires
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
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.

