monitoring-setup

monitoring-setup is a skill for Claude Code, Codex from Dokkabei97/forged-claude-code. It costs 43 tokens per session (919 once invoked), scanned A, original, MIT.

A setup guide for application monitoring, logs, and alerts using tools such as Datadog, Grafana with Prometheus, CloudWatch, or Sentry. Monitoring helps you detect failures and slowdowns before users report them.

In plain words
What is it for?
Use it after launching an application, after an incident exposes missing visibility, or when configuring health checks, error tracking, logs, dashboards, and operational alerts.
Why use it?
It replaces guesswork about what to watch and when to alert the team. It provides startup-oriented alert conditions for outages, errors, slow responses, resource usage, and expiring certificates.

Skill for Claude CodeCodex

Part of the forged-claude-code plugin — 29 skills, 14 commands, 9 agents, 2 hooks shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/dokkabei97/forged-claude-code/monitoring-setup
Any agent
npx skills add Dokkabei97/forged-claude-code --skill monitoring-setup
Clone the repo
git clone --depth 1 https://github.com/Dokkabei97/forged-claude-code

Made for: Claude Code, Codex.

Or install forged-claude-code, the plugin that ships this one along with the rest of its 29 skills, 14 commands, 9 agents, 2 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for monitoring-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/dokkabei97/forged-claude-code/monitoring-setup.svg)](https://agentmods.dev/skills/dokkabei97/forged-claude-code/monitoring-setup)
Your own site
<a href="https://agentmods.dev/skills/dokkabei97/forged-claude-code/monitoring-setup"><img src="https://agentmods.dev/badge/skills/dokkabei97/forged-claude-code/monitoring-setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 919 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00043 $0.00919
Opus 5 $0.00022 $0.00460
Sonnet 5 $0.00009 $0.00184
Haiku 4.5 $0.00004 $0.00092

Measured 4d ago against content hash c8df81f2f6df, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

monitoring-setup scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/cto/monitoring-setup/SKILL.md · 138 lines

How it starts

The opening of the file, as written. The whole thing — 138 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Monitoring Setup - Observability Configuration

Overview

Sets up the "detect before users complain" system. Minimum viable monitoring that grows with your startup.


1. When to Apply

Trigger Behavior
Post-launch monitoring setup Full observability stack
"monitoring", "alerting" Tool-specific configuration
First production incident Retroactive monitoring gaps

2. Monitoring Stack by Budget

Budget Stack Monthly Cost
$0 Sentry (free) + UptimeRobot + CloudWatch basic $0
$0-50 Sentry + Grafana Cloud (free) + Better Uptime $0-50
$50-500 Datadog (Pro) or Grafana Cloud (Pro) $50-500

3. Essential Alerts (Day 1)

## Must-Have Alerts

| Alert | Condition | Channel | Priority |
|-------|-----------|---------|----------|
| **Site Down** | Health check fails 3x | Slack + PagerDuty | P0 |
| **Error Rate Spike** | >5% 5xx in 5 min | Slack | P1 |
| **Slow Response** | p95 > 2s for 5 min | Slack | P2 |
| **DB Connections** | >80% pool used | Slack | P1 |
| **Disk Space** | >85% used | Slack | P2 |
| **Memory** | >90% for 10 min | Slack | P1 |
| **SSL Expiry** | <14 days to expiry | Email | P2 |

4. Quick Setup: Sentry (Error Tracking)

// Next.js — sentry.client.config.ts
import * as Sentry from "@sentry/nextjs"

Sentry.init({
  dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
  tracesSampleRate: 0.1,      // 10% of transactions
  replaysSessionSampleRate: 0, // Save cost, enable when needed
  environment: process.env.NODE_ENV,
})
# FastAPI — main.py
import sentry_sdk
from sentry_sdk.integrations.fastapi import FastApiIntegration

sentry_sdk.init(
    dsn=os.getenv("SENTRY_DSN"),
    traces_sample_rate=0.1,
    environment=os.getenv("ENVIRONMENT", "production"),
    integrations=[FastApiIntegration()],
)

5. Health Check Endpoint

// app/api/health/route.ts
export async function GET() {
  const checks = {
    status: 'ok',
    timestamp: new Date().toISOString(),
    uptime: process.uptime(),
    checks: {
      database: await checkDB(),
      redis: await checkRedis(),
    }
  }
  const allHealthy = Object.values(checks.checks).every(c => c === 'ok')
  return Response.json(checks, { status: allHealthy ? 200 : 503 })
}

Read the full file on GitHub · 138 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 138 lines · 43 tokens per session scan A c8df81f2f6df

Subscribe to this mod's changes

monitoring-setup is a skill published in the GitHub repository Dokkabei97/forged-claude-code (2 stars, last pushed 6mo ago), licensed MIT. It adds 43 tokens to every session and 919 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

cloud-architect

Designs cloud architectures, creates migration plans, generates cost optimization recommendations, and produces disaster recovery strategies across AWS, Azure, and GCP. Use when designing cloud architectures, planning migrations, or optimizing multi-cloud deployments. Invoke for Well-Architected Framework, cost…

Jeffallan/claude-skills · 71 tokens

azmon-mirroredcatalogs-operations-cli

Brings Azure Monitor, Application Insights, and Log Analytics telemetry into Fabric as Eventhouse external delta tables and correlates it with business data. Use to onboard observability data, judge whether latency or availability affected revenue, or build a Real-Time dashboard and Operations Agent over it.

microsoft/skills-for-fabric · 66 tokens

atmos-auth

Authentication and identity management: providers (SSO/SAML/OIDC/GCP/Atmos Pro), identities, keyring, identity chaining, login/exec/shell/console, and github/sts for private GitHub access.

cloudposse/atmos · 48 tokens

terraform-search-import

Discover existing cloud resources using Terraform Search queries and bulk import them into Terraform management. Use when bringing unmanaged infrastructure under Terraform control, auditing cloud resources, or migrating to IaC.

hashicorp/agent-skills · 39 tokens

x-scorecard

OpenSSF Scorecard for assessing open source project security. Check security best practices and compliance. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.

x-cmd/x-cmd · 57 tokens

ssh-mcp-helper

Use when 用户希望安装、配置或新增 ssh-mcp-server 的 MCP 连接(如「帮我装一下 ssh-mcp-server」「给 Cursor/Claude Code 配置 SSH MCP」「在已有 MCP 里加一台远程主机」「ssh-mcp-server 的 mcp.json 怎么写」)。技能通过逐步问答收集主机、认证、传输模式、命令限制等参数,并把生成的 mcpServers JSON 片段写入对应客户端的配置文件。.

classfang/ssh-mcp-server · 110 tokens