logging-observability

A set of logging and observability patterns for applications, covering request context, log levels, Micrometer metrics, distributed tracing, and structured JSON logs. Observability means collecting information that helps explain what an application is doing in production.

In plain words
What is it for?
Use it when designing application logs, metrics, traces, or JSON logging for distributed systems.
Why use it?
It gives developers a consistent way to record events and measure application behaviour. This makes it easier to investigate failures and follow a request across multiple services.

Skill for Claude CodeCodex

Part of the forge-foundation plugin — 16 skills, 6 commands, 4 agents, 2 MCP servers 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/pan94u/forge/logging-observability
Any agent
npx skills add pan94u/forge --skill logging-observability
Clone the repo
git clone --depth 1 https://github.com/pan94u/forge

Made for: Claude Code, Codex.

Or install forge-foundation, the plugin that ships this one along with the rest of its 16 skills, 6 commands, 4 agents, 2 MCP servers.

Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 497 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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.00028 $0.00497
Opus 5 $0.00014 $0.00249
Sonnet 5 $0.00006 $0.00099
Haiku 4.5 $0.00003 $0.00050

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

Security

Grade A, and why

logging-observability 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 3d 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.

plugins/forge-foundation/skills/logging-observability/SKILL.md · 61 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 3d ago First seen · 61 lines · 28 tokens per session scan A f90b86e749bc

Subscribe to this mod's changes

logging-observability is a skill published in the GitHub repository pan94u/forge (40 stars, last pushed 1mo ago), with no licence file. It adds 28 tokens to every session and 497 once invoked, about $0.0001 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-30.

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

Observability & Monitoring

Structured logging, metrics, distributed tracing, and alerting strategies.

ArieGoldkin/ai-agent-hub · 17 tokens

opentelemetry-net-instrumentation

Provides guidance for implementing OpenTelemetry instrumentation in .NET codebases, covering tracing (Activities/Spans), metrics, logs, naming conventions, error handling, performance, SDK setup, resources, context propagation, and API design best practices.

Aaronontheweb/dotnet-skills · 56 tokens

frontmcp-observability

Use when adding tracing, structured logging, metrics, or monitoring to a FrontMCP server. Covers zero-config OpenTelemetry distributed tracing across all flows; the this.telemetry API for custom spans, events, and attributes in tools, plugins, agents, and skills; structured JSON logging with trace correlation and…

agentfront/frontmcp · 177 tokens

Observability Checklist

Reviews a service or codebase against a full observability checklist — logs, metrics, traces, and alerting gaps.

Notysoty/openagentskills · 28 tokens

anyrobot-shadcn-frontend-js

AnyRobot 前端开发核心指南:提供 JavaScript + React + shadcn/ui 开发的精简实用规范和最佳实践。 当用户需要前端开发指导、组件开发或项目结构建议时触发。 本技能提供实际可用于项目开发的核心代码示例和开发指南。.

opsrobot-ai/opsrobot · 74 tokens