observability

observability is a skill for Claude Code, Codex from LuuOW/meridian-mcp. It costs 28 tokens per session (1,562 once invoked), scanned A, original, MIT.

A set of monitoring patterns for Python, Node.js, PM2, and Docker applications. It covers logs, metrics, and traces—the three common kinds of information used to understand how software is running.

In plain words
What is it for?
Use it to add structured logs, health endpoints, process and container metrics, and alerting patterns to FastAPI, Node.js, PM2, or Docker projects.
Why use it?
It helps you collect useful runtime information in a consistent format and check problems such as errors, slow requests, and unhealthy services.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to add structured logs, health endpoints, process and container metrics, and alerting patterns to FastAPI, Node.js, PM2, or Docker projects.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/luuow/meridian-mcp/observability
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.

Any agent
npx skills add LuuOW/meridian-mcp --skill observability
Clone the repo
git clone --depth 1 https://github.com/LuuOW/meridian-mcp

Made for: Claude Code, Codex.

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 observability

README.md
[![agentmods](https://agentmods.dev/badge/skills/luuow/meridian-mcp/observability/github.svg)](https://agentmods.dev/skills/luuow/meridian-mcp/observability)
Your own site
<a href="https://agentmods.dev/skills/luuow/meridian-mcp/observability"><img src="https://agentmods.dev/badge/skills/luuow/meridian-mcp/observability/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for observability

Your own site · 80×15
<a href="https://agentmods.dev/skills/luuow/meridian-mcp/observability"><img src="https://agentmods.dev/badge/skills/luuow/meridian-mcp/observability.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,562 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00028 $0.01562
Opus 5 $0.00014 $0.00781
Sonnet 5 $0.00006 $0.00312
Haiku 4.5 $0.00003 $0.00156

Measured 8d ago against content hash 48b1faef4185, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

observability scanned grade A with 1 finding 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 8d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
skills/observability/SKILL.md · 192 lines

How it starts

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

observability

Covers the three pillars — logs, metrics, and traces — with practical patterns for the Python/FastAPI + Node/PM2 + Docker stack.

1) Structured logging with structlog (Python)

import structlog

structlog.configure(
    processors=[
        structlog.stdlib.add_log_level,
        structlog.stdlib.add_logger_name,
        structlog.processors.TimeStamper(fmt="iso"),
        structlog.processors.StackInfoRenderer(),
        structlog.processors.JSONRenderer(),   # machine-parseable
    ],
    wrapper_class=structlog.stdlib.BoundLogger,
    context_class=dict,
    logger_factory=structlog.PrintLoggerFactory(),
)

log = structlog.get_logger()

# Bind context to a request
log = log.bind(request_id=req_id, domain=domain)
log.info("article_generated", word_count=1200, model="gpt-4o")
log.error("llm_timeout", retries=3, elapsed_ms=15000)

2) Structured logging in Node.js

// Minimal structured logger (no deps)
const log = (level, msg, ctx = {}) =>
  process.stdout.write(JSON.stringify({ ts: new Date().toISOString(), level, msg, ...ctx }) + '\n');

log('info',  'server_start', { port: 4401 });
log('error', 'cache_miss',   { key: 'status', latency_ms: 4500 });

3) FastAPI health endpoints

from fastapi import APIRouter
import psutil, time

router = APIRouter()
START = time.time()

@router.get("/health")
async def health():
    return {"status": "ok"}

@router.get("/health/ready")
async def ready(db: AsyncSession = Depends(get_db)):
    # Check every hard dependency
    try:
        await db.execute(text("SELECT 1"))
    except Exception as e:
        raise HTTPException(503, detail=f"db: {e}")
    return {"status": "ready", "uptime_s": round(time.time() - START)}

@router.get("/health/metrics")
async def metrics():
    return {
        "cpu_pct":    psutil.cpu_percent(interval=0.1),
        "mem_pct":    psutil.virtual_memory().percent,
        "disk_pct":   psutil.disk_usage("/").percent,
        "uptime_s":   round(time.time() - START),
    }

Read the full file on GitHub · 192 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. 8d ago First seen · 192 lines · 28 tokens per session scan A 48b1faef4185

Subscribe to this mod's changes

observability is a skill published in the GitHub repository LuuOW/meridian-mcp (0 stars, last pushed 4d ago), licensed MIT. It adds 28 tokens to every session and 1,562 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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

golang-observability-opentelemetry

Instrumenting Go applications with OpenTelemetry for distributed tracing, Prometheus for metrics, and structured logging with slog.

bobmatnyc/claude-mpm-skills · 31 tokens

otel-python-style

Python OpenTelemetry style: module-scope tracers/meters, decorators for bounded work, error spans, logs, and no wrappers.

superloglabs/skills · 31 tokens

structlog-structured-logging

Modern, powerful structured logging for Python using structlog. Use when adding or improving logging in Python projects, configuring structlog for dev/production, working with contextvars for request-scoped logging, integrating structlog with stdlib logging, or writing tests for logging behavior.

DemboNauta/skill-doc-generator · 61 tokens

build-audit-logs

Build or review audit trails in TypeScript/JavaScript apps using evlog (pipelines, typed actions, denials, retention, compliance-style reviews). For application code, not for extending the evlog package.

HugoRCD/evlog · 49 tokens

dd-code-generation

Use pup CLI for immediate Datadog operations or generate code for integration into applications.

DataDog/pup · 16 tokens

vendor-update

Upgrade Go/Node.js vendor dependencies and sync tool versions. Use whenever the user says "upgrade dependencies", "update vendors", "vendor update", "run vendor-upgrade", "bump dependencies", "update packages", or asks to run the vendor-update Make target. This skill also checks scripts/build/version.mk after…

apache/skywalking-banyandb · 95 tokens