# Faultbell: Know prod broke before your users tell you

> Error tracking with source-mapped traces per release, three to five alert rules on one channel, an uptime probe, bounded logs, traced and capped LLM spend, and a weekly health digest.

Faultbell: Know prod broke before your users tell you is a paid AI agent skill on Agensi by MAJI, in DevOps & Cloud. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $15 (one-time purchase)
- Creator: [MAJI](https://www.agensi.io/creators/maji)
- Category: [DevOps & Cloud](https://www.agensi.io/skills/devops-cloud)
- Version: 1.0
- Last updated: 2026-10-18
- Security: scan passed (2026-10-18); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/faultbell-know-prod-broke-before-your-users-tell-you
- Tags: devops, llm-ops

## About this skill

Production broke at midnight and a customer told you first. The stack trace is minified, every warning pages you so the alerts got muted, and an AI feature ran all night with no spend ceiling. Faultbell sets up watching for a live app so failures shout instead of hiding in a log.

### What it does
- **Failure inventory**: every runtime, external call and job gets a row saying who would notice a failure. Rows that say "nobody" become the work list.
- **Error tracking per release** with hosted Sentry (free tier) by default, or a Sentry-compatible tracker or host logs. Release tagged by commit SHA, personal data off by default.
- **Readable traces**: source maps uploaded at build, confirmed with a test error.
- **Three to five alert rules** to one channel you already read: new issue, regression, error spike, uptime failed twice, LLM spend over the daily cap. Re-notify interval and noise filters.
- **Uptime and bounded logs**: a probe every 5 minutes per public entry point, and retention set in tracker, host and app logs.
- **LLM tracing and caps**: tokens and cost per call; per-request, per-user and global caps with a kill switch, alert at 80%.

### How it works
1. **Inventory** what can break.
2. **Install and configure** the official SDK for the detected stack, with a low production sample rate and a `beforeSend` scrub.
3. **Alerts, uptime and retention** set in the same change.
4. **Weekly digest**: uptime, new and regressed issues, top 3 errors, LLM spend against the cap.
5. **Triage to fix**: event data is treated as untrusted, stack frames are checked against the repo.

### Frameworks & tools
Sentry or a Sentry-compatible tracker, host function logs, a free uptime monitor or scheduled CI job. Next.js setup is covered. Variants for no-budget setups, static sites, crons and AI-heavy apps.

### Why this beats prompting it yourself
A prompt adds an SDK and stops. Faultbell finishes with a verified readable trace, a short alert list that does not get muted, spend caps enforced in code and log retention set, and it never follows instructions found inside error messages.

### Use cases
- **Just shipped** with nothing watching.
- **Unseen errors** users report first.
- **AI features** with no spend ceiling.
- **Top production error** turned into a tested fix.

### Known limitations
Does not deploy the change and does not run the recurring job itself; the digest, probe and pruner need a scheduler. Tracker tokens are set by you in host env, never by the agent. Not for quota walls or paused databases.

## Requires

- Sentry
- Sentry-compatible tracker
- Uptime monitor
- Next.js
- Python

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Faultbell: Know prod broke before your users tell you skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What does it need from me?

Access to the repo and the hosting setup, plus your choice of alert channel. You set the tracker and upload tokens in host env yourself; the agent never handles them.

### Does it require a paid monitoring service?

No. The default is the hosted Sentry free tier, and there is a variant using host logs, a log-based alert and a free uptime monitor when there is no budget for a tracker.

### How is this different from asking an agent to add Sentry?

It starts with an inventory of what can break, limits alerts to three to five rules on one channel, verifies one readable trace per release, enforces LLM caps in code and sets log retention. It also treats error event data as untrusted input.

### What is in the zip?

The zip contains SKILL.md (the instructions your agent follows) and LICENSE.md. Nothing else is installed.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
