# Observability agent

> Observability agent is an open-source agent skill for developer tools. Adds logging, health checks, metrics and alert rules to a service without touching. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/ivy00johns/Skill-Madness/tree/main/skills/roles/observability-agent
- **Repository:** https://github.com/ivy00johns/skill-madness
- **GitHub stars:** 12
- **License:** MIT
- **Skill name:** observability-agent
- **Collection:** https://github.com/ivy00johns/Skill-Madness
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill tells the agent to instrument an application rather than change what it does. The agent sets up structured JSON logging with levels and request correlation IDs, and defines liveness and readiness health endpoints that check database and external service reachability.

It also covers metrics such as request counts, latency percentiles, error rates and database query duration, plus alert thresholds for error rate, p95 latency, consecutive health check failures and disk or memory pressure. Dashboard configs are produced only when a monitoring platform has been specified. The skill asks the agent to keep sensitive values such as passwords, tokens and personal data out of logs.

It is written for a multi-agent build driven by an orchestrator and expects contracts in a contracts folder, a service map and a file-ownership map. It can also be used for solo instrumentation work when the user supplies scope and approved paths. Output goes into telemetry, logging, monitoring and alerts directories, and the skill notes that unverified work should be reported as unverified rather than passed.

## When your agent uses it

> Set up logging, tracing, monitoring, metrics and alerting in native orchestrator dispatch or explicitly requested solo instrumentation work. Preserve business-logic ownership; load it when the orchestrator assigns this role or the user asks for it.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/ivy00johns/Skill-Madness/tree/HEAD/skills/roles/observability-agent)
- [Asks for: Read, Write, Edit, Bash, Glob, Grep](https://github.com/ivy00johns/Skill-Madness/blob/HEAD/skills/roles/observability-agent/SKILL.md)
- [License: MIT](https://github.com/ivy00johns/Skill-Madness/tree/HEAD/skills/roles/observability-agent)

## Features

- **Structured JSON logging:** Sets up leveled JSON logs with request correlation IDs and consistent field names across services.
- **Health check endpoints:** Defines liveness and readiness routes that report database and external dependency status.
- **Application metrics:** Covers request counts, duration percentiles, error rate and database query timing.
- **Alert threshold rules:** Documents alert conditions for error rate, latency, failed health checks and resource usage.
- **Ownership-bounded changes:** Limits edits to telemetry, logging, monitoring and alert directories while reading source code.
- **Optional dashboard configs:** Creates overview, resource and business dashboards only when a monitoring platform is named.

## Good for

- Add structured JSON logging with request IDs to a backend service
- Create /health and /health/ready endpoints for Docker or Kubernetes probes
- Instrument request latency and error rate metrics for an API
- Define alert rules for error spikes and slow p95 response times
- Set up a telemetry module that backend code can import

## Install

### Claude Code

This skill ships in the `skill-madness` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add ivy00johns/Skill-Madness
/plugin install skill-madness@skill-madness
```

Or copy only this skill to `~/.claude/skills/observability-agent`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/observability-agent &&
cp -R "$tmp/skills/roles/observability-agent" ~/.claude/skills/observability-agent &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/observability-agent` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/observability-agent` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/observability-agent &&
cp -R "$tmp/skills/roles/observability-agent" ~/.agents/skills/observability-agent &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/observability-agent` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/observability-agent` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/observability-agent &&
cp -R "$tmp/skills/roles/observability-agent" ~/.cursor/skills/observability-agent &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/observability-agent` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/ivy00johns/Skill-Madness.git --path skills/roles/observability-agent
```

Or copy the folder to `~/.gemini/skills/observability-agent` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/observability-agent`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/observability-agent &&
cp -R "$tmp/skills/roles/observability-agent" ~/.copilot/skills/observability-agent &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/observability-agent` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git
```

Then copy `Skill-Madness/skills/roles/observability-agent` into your agent's skills folder as `observability-agent`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does Observability agent load?

It loads when an orchestrator assigns the observability role or when the user explicitly asks for instrumentation work.

### Does Observability agent change business logic?

No. The skill says the agent instruments around existing code and does not modify business logic, route handlers or database code.

### Which directories does Observability agent write to?

It owns src/telemetry/, src/logging/, monitoring/ and alerts/, and only reads src/.

### What tools does Observability agent use?

The allowed tools are Read, Write, Edit, Bash, Glob and Grep.

### How do I install Observability agent in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/observability-agent to use it in all your projects, or to .claude/skills/observability-agent in one project. Or install the skill-madness plugin, which includes it: /plugin marketplace add ivy00johns/Skill-Madness, then /plugin install skill-madness@skill-madness.

### Does Observability agent run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Observability agent?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Observability agent?

The closest alternatives to Observability agent are Observability and instrumentation, Go observability, Spring observability, Enterprise agent ops and API health monitoring.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Observability and instrumentation](https://ai-powered.com/skills/observability-and-instrumentation): Observability and instrumentation is an open-source agent skill for developer tools.
- [Go observability](https://ai-powered.com/skills/go-observability): Go observability is an open-source agent skill for developer tools.
- [Spring observability](https://ai-powered.com/skills/spring-observability): Spring observability is an open-source agent skill for developer tools.
- [Enterprise agent ops](https://ai-powered.com/skills/enterprise-agent-ops): Enterprise agent ops is an open-source agent skill for developer tools.
- [API health monitoring](https://ai-powered.com/skills/api-health-monitoring): API health monitoring is an open-source agent skill for health and science.
- [Observability gap](https://ai-powered.com/skills/observability-gap): Observability gap is an open-source agent skill for developer tools.
- [Troubleshoot observability](https://ai-powered.com/skills/troubleshoot-observability): Troubleshoot observability is an open-source agent skill for cloud and infrastructure.
- [Dashboard builder](https://ai-powered.com/skills/dashboard-builder): Dashboard builder is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/observability-agent
