Tooluck logoTooluck
SKILL.md

observability-and-instrumentation

Agent skill fromaddyosmani/agent-skills

Instruments code so production behavior is visible and diagnosable. Use when adding logging, metrics, tracing, or alerting. Use when shipping any feature that runs in production and you need evidence it works. Use when production issues are reported but you can't tell what happened from the available data.

How to install observability-and-instrumentation

install observability-and-instrumentation
# install the agent-skills pack with the skills CLI
npx skills add addyosmani/agent-skills

# or add only this skill to Claude Code: copy the folder

skills/observability-and-instrumentation/

# into

~/.claude/skills/observability-and-instrumentation/ (all projects)

.claude/skills/observability-and-instrumentation/ (one project)

skills/observability-and-instrumentation/SKILL.md

MITFull file
1# Observability and Instrumentation
2
3## Overview
4
5Code you can't observe is code you can't operate. Observability is the ability to answer "what is the system doing and why?" from the outside, using the telemetry the code emits. Instrumentation is not a post-launch add-on — it's written alongside the feature, the same way tests are. If a feature ships without telemetry, the first user-reported bug becomes archaeology instead of a query.
6
7## When to Use
8
9- Building any feature that will run in production
10- Adding a new service, endpoint, background job, or external integration
11- A production incident took too long to diagnose ("we couldn't tell what happened")
12- Setting up or reviewing alerting rules
13- Reviewing a PR that adds I/O, retries, queues, or cross-service calls
14
15**NOT for:**
16- Diagnosing a failure happening right now — use the `debugging-and-error-recovery` skill (observability is what makes that skill fast next time)
17- Profiling and optimizing measured slowness — use the `performance-optimization` skill
18- Launch-day monitoring checklists and rollback triggers — see the `shipping-and-launch` skill; this skill covers the instrumentation that feeds them
19
20## Process
21
22### 1. Define "working" before instrumenting
23
24Telemetry without a question is noise. Before adding any instrumentation, write down 2–4 questions an on-call engineer will ask about this feature:
25
26```
27FEATURE: checkout payment retry
28QUESTIONS ON-CALL WILL ASK:
29…

Excerpt shown under the repository's MIT license.

More skills in agent-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

nexu-io /

open-design
107k

The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create motion, prototypes, websites, apps, dashboards, presentations, images, and videos with your team and AI agents. Share work, exchange feedback, and iterate together in one workspace.

40 skills

tt-a1i /

archify
95k

Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.

CCCXOC1 skill

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates