review-logging-patterns

review-logging-patterns is a skill for Claude Code, Codex from HugoRCD/evlog. It costs 197 tokens per session (11,229 once invoked), scanned A, original, MIT.

A guide for reviewing logging and error-handling patterns in JavaScript and TypeScript projects. It covers structured event logs, useful error context, log delivery, and coverage checks for several web frameworks.

In plain words
What is it for?
Use it to set up evlog, review or improve logs and errors, check entry-point coverage, configure log delivery, and add CI checks for logging regressions.
Why use it?
It helps replace scattered or vague logs with records that are easier to understand and use when diagnosing production problems.

Skill for Claude CodeCodex

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/hugorcd/evlog/review-logging-patterns
Any agent
npx skills add HugoRCD/evlog --skill review-logging-patterns
Clone the repo
git clone --depth 1 https://github.com/HugoRCD/evlog

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 review-logging-patterns

README.md
[![agentmods](https://agentmods.dev/badge/skills/hugorcd/evlog/review-logging-patterns.svg)](https://agentmods.dev/skills/hugorcd/evlog/review-logging-patterns)
Your own site
<a href="https://agentmods.dev/skills/hugorcd/evlog/review-logging-patterns"><img src="https://agentmods.dev/badge/skills/hugorcd/evlog/review-logging-patterns.svg" alt="Measured on agentmods" height="20"></a>
Per session 197 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 11,229 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00197 $0.11229
Opus 5 $0.00098 $0.05615
Sonnet 5 $0.00039 $0.02246
Haiku 4.5 $0.00020 $0.01123

Measured yesterday against content hash 71c27b59d2ac, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

review-logging-patterns 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 yesterday.

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.

export default async function fetch(request: Request) {
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/review-logging-patterns/SKILL.md · 1,224 lines

How it starts

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

Review logging patterns

Review and improve logging patterns in TypeScript/JavaScript codebases. Transform scattered console.logs into structured wide events and convert generic errors into self-documenting structured errors.

When to Use

  • Setting up evlog in a new or existing project (any supported framework)
  • Reviewing code for logging best practices
  • Converting console.log statements to structured logging
  • Improving error handling with better context
  • Configuring log draining, sampling, or enrichment

Quick Reference

Working on... Resource
Setup (CLI) evlog init — wire evlog into the project
Project conventions (CLI) evlog agents — write the evlog block into the project's AGENTS.md
Coverage map (CLI) evlog map — score dark entry points
CI gating (CLI) evlog map --min-score / --baseline — gate regressions
Wide events patterns references/wide-events.md
Error handling references/structured-errors.md
Code review checklist references/code-review.md
Drain pipeline references/drain-pipeline.md
Audit logs build-audit-logs skill + docs

Audit logs

For security-sensitive actions (auth, billing, admin, data export), use evlog's audit layer: a typed audit field on wide events, not a parallel logger. See the build-audit-logs skill for end-to-end setup (log.audit, withAudit, denials, auditEnricher, auditOnly, signed, mockAudit).

Read the full file on GitHub · 1,224 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. yesterday Changed 71c27b59d2ac
  2. 4d ago First seen · 1,224 lines · 197 tokens per session scan A bf2270c3f1ad

Subscribe to this mod's changes

review-logging-patterns is a skill published in the GitHub repository HugoRCD/evlog (1,831 stars, last pushed 2d ago), licensed MIT. It adds 197 tokens to every session and 11,229 once invoked, about $0.0010 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-30.

Related

Other skills, from other repositories

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

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 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

数据模型文档生成

当用户要生成或更新 Doris 表的数据模型 Markdown(三一级标题:数据摘要、数据表列、JSON扩展字段)、从 Doris 拉取元数据与至少 100 行样本,并由脚本或 --llm 补全说明时启用。.

opsrobot-ai/opsrobot · 64 tokens

fix-loop

Use when a Java app that has stacktale installed is failing — after running it or its tests, to find what broke, fix it, and confirm the fix by re-running and checking for new errors. Also use when asked to "check the errors", "what's failing", or to work through errors-ai.log.

stacktale/stacktale · 68 tokens