awesome-logging-standards

awesome-logging-standards is a skill for Claude Code from khasky/awesome-agent-skills. It costs 50 tokens per session (1,786 once invoked), scanned A, original, MIT.

A set of rules for making application logs structured, useful for troubleshooting, and safe around personal or secret data.

In plain words
What is it for?
Use it when adding or reviewing logs, choosing severity levels, designing request-wide log entries, or investigating an incident involving missing or leaked information.
Why use it?
It helps teams find the answers needed during incidents without producing noisy, inconsistent, or sensitive logs.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: positional $N argument.

Part of the awesome-agent-skills plugin — 49 skills shipped together

Good fit Use it when adding or reviewing logs, choosing severity levels, designing request-wide log entries, or investigating an incident involving missing or leaked information.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/khasky/awesome-agent-skills/awesome-logging-standards
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.

Any agent
npx skills add khasky/awesome-agent-skills --skill awesome-logging-standards
Clone the repo
git clone --depth 1 https://github.com/khasky/awesome-agent-skills

Made for: Claude Code.

Or install awesome-agent-skills, the plugin that ships this one along with the rest of its 49 skills.

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 awesome-logging-standards

README.md
[![agentmods](https://agentmods.dev/badge/skills/khasky/awesome-agent-skills/awesome-logging-standards/github.svg)](https://agentmods.dev/skills/khasky/awesome-agent-skills/awesome-logging-standards)
Your own site
<a href="https://agentmods.dev/skills/khasky/awesome-agent-skills/awesome-logging-standards"><img src="https://agentmods.dev/badge/skills/khasky/awesome-agent-skills/awesome-logging-standards/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for awesome-logging-standards

Your own site · 80×15
<a href="https://agentmods.dev/skills/khasky/awesome-agent-skills/awesome-logging-standards"><img src="https://agentmods.dev/badge/skills/khasky/awesome-agent-skills/awesome-logging-standards.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,786 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00050 $0.01786
Opus 5.5 $0.00020 $0.00714
Sonnet 5.5 $0.00010 $0.00357
Haiku 4.5 $0.00005 $0.00179

Measured 1mo ago against content hash 9e34acb21907, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

awesome-logging-standards 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 1mo 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.

skills/awesome-logging-standards/SKILL.md · 123 lines

How it starts

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

Logging Standards

Apply consistent logging so operations are debuggable and compliant without leaking secrets or PII.

When to Activate

  • Adding or refactoring log statements
  • User asks for "logging", "log format", or "what to log"
  • Defining or reviewing logging standards for the project
  • After an incident where logs were insufficient or leaked data

Core principles

  • Define "working" before instrumenting — Write the 2–4 questions on-call will actually ask ("did checkout succeed for this user?", "which dependency is slow?") and make every signal map to one of them. A log line that answers no operational question is noise.
  • Structured — Prefer key-value fields (e.g. JSON) over long prose so logs are queryable and parseable. Use the same structure across the app (timestamp, level, message, fields).
  • Cardinality — Never use unbounded values as index/label keys (user_id, email, full URL, raw error text) in metrics/labels — they explode cardinality; keep them as event fields instead. Alert on symptoms (user-visible failure), not causes (one host's CPU).
  • Verify the telemetry itself — After instrumenting, induce the failure and confirm you can locate it from the logs/metrics alone. Untested observability tends to be silently wrong — e.g. sampling upstream of metric generation skews a request-rate metric by the sampling ratio while nothing looks broken.
  • Levels — Use consistently: ERROR (failures, exceptions), WARN (recoverable issues, deprecations), INFO (key business events, request summary), DEBUG (detailed flow; disable or sample in production).
  • Context — Include request_id, trace_id, or correlation_id when available. Include user_id, order_id, or similar only when safe and allowed by policy. Do not log full PII (email, phone, address) in plain text unless required and compliant.
  • No secrets — Never log passwords, tokens, API keys, or full card numbers. Redact or omit. For debugging, mask or show last 4 digits only where policy allows.
  • One place — Use the project's logging library (Winston, Pino, log4j, structlog, etc.) and output to the same pipeline (e.g. stdout) that the platform collects.

Read the full file on GitHub · 123 lines

Files

What ships with it

1 file 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. 1mo ago Changed 9e34acb21907
  2. 1mo ago Changed · +3 lines 39917574068a
  3. 2mo ago Changed · -28 tokens per session 0f7dc3368f93
  4. 2mo ago Changed 041517c13f3d
  5. 2mo ago Changed · -18 tokens per session c614328003d7
  6. 3mo ago First seen · 120 lines · 96 tokens per session scan A 3166b5b84e92

Subscribe to this mod's changes

awesome-logging-standards is a skill published in the GitHub repository khasky/awesome-agent-skills (45 stars, last pushed 2d ago), licensed MIT. It adds 50 tokens to every session and 1,786 once invoked, about $0.0002 per session on Opus 5.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-31.

Related

awesome-logging-standards compared with skills from other repositories

awesome-logging-standards next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
awesome-logging-standardskhasky/awesome-agent-skillsSkill452d agoMITA50Claude Code
datadogG1Joshi/Agent-SkillsSkill151mo agoMITA36Claude Code, Codex
sentryG1Joshi/Agent-SkillsSkill151mo agoMITA34Claude Code, Codex
doubt-driven-developmentaddyosmani/agent-skillsSkill121k6d agoMITA96Claude Code
performance-optimizationaddyosmani/agent-skillsSkill121k6d agoMITA59Claude Code
systematic-debuggingjnMetaCode/superpowers-zhSkill8.6k14d agoMITA24Claude Code
diagnosing-superpowersjnMetaCode/superpowers-zhSkill8.6k14d agoMITA111Claude Code