logging-best-practices

logging-best-practices is a skill for Claude Code, Codex from theexperiencecompany/gaia. It costs 36 tokens per session (1,766 once invoked), scanned A, original, no licence file.

Guidance for adding wide-event logging to software. Logging records information about what code is doing; this guidance covers log fields, namespaces, audit records, and task boundaries.

In plain words
What is it for?
Use it when instrumenting code with GAIA logging methods, defining task boundaries, or checking whether important context is being lost.
Why use it?
It helps preserve useful context across related operations and avoid logging mistakes that make events hard to understand later.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it when instrumenting code with GAIA logging methods, defining task boundaries, or checking whether important context is being lost.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/theexperiencecompany/gaia/logging-best-practices
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 theexperiencecompany/gaia --skill logging-best-practices
Clone the repo
git clone --depth 1 https://github.com/theexperiencecompany/gaia

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 logging-best-practices

README.md
[![agentmods](https://agentmods.dev/badge/skills/theexperiencecompany/gaia/logging-best-practices/github.svg)](https://agentmods.dev/skills/theexperiencecompany/gaia/logging-best-practices)
Your own site
<a href="https://agentmods.dev/skills/theexperiencecompany/gaia/logging-best-practices"><img src="https://agentmods.dev/badge/skills/theexperiencecompany/gaia/logging-best-practices/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 logging-best-practices

Your own site · 80×15
<a href="https://agentmods.dev/skills/theexperiencecompany/gaia/logging-best-practices"><img src="https://agentmods.dev/badge/skills/theexperiencecompany/gaia/logging-best-practices.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,766 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.
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.1 $0.00036 $0.01766
Opus 5.5 $0.00014 $0.00706
Sonnet 5.5 $0.00007 $0.00353
Haiku 4.5 $0.00004 $0.00177

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

Security

Grade A, and why

logging-best-practices 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.

.agents/skills/logging-best-practices/SKILL.md · 130 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

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. 1mo ago Changed 40ced862ee16
  2. 2mo ago First seen · 130 lines · 36 tokens per session scan A c7f1eca219e1

Subscribe to this mod's changes

logging-best-practices is a skill published in the GitHub repository theexperiencecompany/gaia (324 stars, last pushed yesterday), with no licence file. It adds 36 tokens to every session and 1,766 once invoked, about $0.0001 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-30.

Related

Other skills, from other repositories

process-hygiene

Report, and with --reap stop, orphaned processes that interrupted agent test runs left behind in per-session scratchpads (PPID 1, this user, older than 2 h by default, cwd inside /claude- / / /scratchpad, and that session has ended). --spotlight keeps Spotlight from indexing scratchpad churn. For Sutando developers…

sonichi/sutando · 103 tokens

call-diagnostics

Analyze phone call observability data, detect problems, track them across calls, and recommend systematic repairs.

sonichi/sutando · 0 tokens

regression-search

Search phone-call history for when a feature regressed (find-regression.py) and drill into a single call to see what went wrong (diagnose-call.py). Skips reading 100+ transcripts by hand.

sonichi/sutando · 47 tokens

self-diagnose

Sutando introspection — read logs + git + memory + build log for a chosen time window and produce a concise narrative of what the agent has been doing, what's broken, and what to prioritize next.

sonichi/sutando · 47 tokens

factory-triage

Triage a Factory work item's issue — trace history, understand architecture, diagnose root cause, then advance the stage.

mastra-ai/mastra · 27 tokens

understand-issue

Investigate a GitHub issue or reported bug the way a seasoned maintainer would — form an independent model before reading the thread's theories, trace the mechanism and history, verify the diagnosis, and return a concise briefing with a verdict and fix direction. Use for triage, root-cause analysis, or…

mastra-ai/mastra · 70 tokens