workers-observability

Inspect Cloudflare Workers health, bindings, metrics, and production errors via CLI and API.

Updated Nov 3, 2025
One-click install
npx skills add https://github.com/ethicalcapital/skills --skill workers-observability
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: workers-observability
Source: https://github.com/ethicalcapital/skills/tree/main/workers-observability
Command: npx skills add https://github.com/ethicalcapital/skills --skill workers-observability

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies checking worker health, inspecting bindings, viewing worker metrics, debugging production errors, and auditing Cloudflare infrastructure costs.

Core Features & Use Cases

  • Worker Health Check: List deployed workers, tail live logs, and check worker status via API.
  • Binding Inspection: List and inspect key-value store (KV), R2 bucket, and secret bindings.
  • Metrics & Analytics: Access worker analytics (last 24h) and CPU time analytics.
  • Deployment Management: Manage production workers in the workers/ directory.
  • Debugging Support: Provides a debugging playbook for common issues.
  • Cost Auditing: Audit Cloudflare infrastructure costs.

Quick Start

To list all deployed workers, use the workers-observability skill with the command: doppler run -- npx wrangler deployments list --config workers/WORKER_NAME/wrangler.toml

Frequently Asked Questions about workers-observability

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check Cloudflare Workers health and inspect bindings?

To check Cloudflare Workers health and inspect bindings, list deployed workers, tail live logs, and query KV, R2, and D1 bindings via API. This requires a Cloudflare API token and account ID to access worker status and configuration details.

How do I view Cloudflare Worker metrics and CPU time analytics?

View Cloudflare Worker metrics and CPU time analytics by accessing worker analytics data for the last 24 hours via the API. This provides visibility into worker performance and resource consumption for production deployments.

What do I need to manage Cloudflare Workers observability?

To manage Cloudflare Workers observability, you need a Cloudflare API token and account ID. You also need Wrangler configured with a valid wrangler.toml file in your workers directory to execute deployment and inspection commands.

Why are my Cloudflare Worker production errors happening?

Cloudflare Worker production errors can be diagnosed by tailing live logs and following a structured debugging playbook. Inspecting KV, R2, and D1 bindings helps identify misconfigured resources or failed API connections causing runtime failures.

Can I audit Cloudflare infrastructure costs for Workers and bindings?

Yes, you can audit Cloudflare infrastructure costs for Workers and bindings. The observability tools provide cost auditing features alongside worker health checks and metrics to track infrastructure spending and resource utilization.

What's the best way to debug Cloudflare Workers in production?

The best way to debug Cloudflare Workers in production is using wrangler to tail live logs and inspecting bindings for configuration errors. A dedicated debugging playbook helps resolve common issues found during health checks and log analysis.