lucid-fdn/lucid-plugins/billing-health
Claude Code and agent skill by lucid-fdn/lucid-plugins
- community
Checking that the SKILL.md file is still in the repository.
Monitor OpenMeter billing pipeline: outbox health, per-org usage, dead letter recovery, and anomaly detection
Install
npx vskill@latest install lucid-fdn/lucid-plugins/billing-healthSKILL.md
Billing Health
Monitor the OpenMeter metering pipeline using Supabase MCP for direct SQL queries against the outbox ledger.
Prerequisites
- Supabase MCP:
execute_sqltool - Database access to the
openmeter_event_ledgertable
Monitoring Procedures
1. Outbox Health Check
Use Supabase MCP execute_sql with this query to assess queue health:
See references/outbox-queries.md for all outbox queries.
Interpret results using references/thresholds.md:
pending > 500→ HIGH QUEUE DEPTHdead_letter > 0→ DEAD LETTERS — events failed 10+ times- Stuck leases (expired but unsent) → outbox worker may be down
sent = 0withtotal > 0→ NO EVENTS DELIVERED — check API connectivity
2. Per-Org Usage Breakdown
See references/usage-queries.md for SQL queries that break down usage by org, provider, and model.
3. Dead Letter Recovery
When dead letters exist, retry them with this procedure:
- Check the top errors first (see outbox-queries.md "Top Errors" query)
- Fix the root cause (usually API key, timeout, or connectivity)
- Run the retry query (see outbox-queries.md "Dead Letter Retry" query)
- Re-check outbox health to verify events are being delivered
4. Usage Anomaly Detection
See references/anomaly-detection.md for the spike/drop detection algorithm.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckinglucid-observability/skill/references/billing-health/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/lucid-fdn/lucid-plugins/billing-health)