observability

Instrument code with structured logs, health endpoints, and persistent failure state.

1.0k|92|Updated May 22, 2026
One-click install
npx skills add https://github.com/open-gsd/gsd-pi --skill observability-open-gsd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: observability
Source: https://github.com/open-gsd/gsd-pi/tree/main/src/resources/skills/observability
Command: npx skills add https://github.com/open-gsd/gsd-pi --skill observability-open-gsd

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Uninstrumented, unattended agents are hard to diagnose after deployment; this skill provides the instrumentation blueprint to observe behavior through structured logs, health endpoints, persisted failure state, and explicit failure modes.

Core Features & Use Cases

  • Structured logs at decision points provide actionable signals rather than noise.
  • Health and status surfaces enable monitoring of long-running processes and background tasks.
  • Persistent failure state ensures forensics and post-mortem analysis without reruns.
  • Explicit failure modes prevent silent errors and improve error handling.

Quick Start

Instrument and configure basic observability by adding structured logs, a health endpoint, and a failure-state persistence mechanism.

Frequently Asked Questions about observability

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

FAQPage Schema
How do I add observability to unattended background jobs?

Observability for long-running processes requires structured logs at decision points, health endpoints for status monitoring, and persistent failure state to enable post-mortem analysis without rerunning the workflow.

What is the best way to debug a cold-start agent after deployment without rerunning it?

Debugging a cold-start agent requires instrumenting code with explicit failure modes and structured signals, allowing you to diagnose exactly what happened post-deployment without needing to rerun the process.

How do I implement structured logging at decision points for diagnostics?

Implement structured logging at decision points to capture actionable diagnostic signals rather than noise, ensuring that unattended auto-mode workflows generate traceable behavior data for reliability monitoring.

Does this observability approach work for auto-mode workflows and servers?

Yes, this observability approach applies to auto-mode workflows, servers, and long-running processes, providing the necessary health endpoints and explicit failure modes required to monitor and maintain system reliability.

Why do I need persistent failure state for post-mortem analysis?

Persistent failure state is needed for post-mortem analysis because it captures forensics from unattended agents, preventing silent errors and allowing you to diagnose failures without rerunning the entire workflow.

When should I instrument code with explicit failure modes and health endpoints?

Instrument code with explicit failure modes and health endpoints whenever deploying unattended agents, background tasks, or long-running servers where visibility is required for debugging and reliability.