Borrowing it
Nothing to install: this file belongs to greenpau/go-authcrunch. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/greenpau/go-authcrunch/main/.codex/skills/logging/SKILL.mdgit clone --depth 1 https://github.com/greenpau/go-authcrunchWrote 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.
[](https://agentmods.dev/skills/greenpau/go-authcrunch/logging)<a href="https://agentmods.dev/skills/greenpau/go-authcrunch/logging"><img src="https://agentmods.dev/badge/skills/greenpau/go-authcrunch/logging/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.
<a href="https://agentmods.dev/skills/greenpau/go-authcrunch/logging"><img src="https://agentmods.dev/badge/skills/greenpau/go-authcrunch/logging.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00045 | $0.02486 |
| Opus 5.5 | $0.00018 | $0.00994 |
| Sonnet 5.5 | $0.00009 | $0.00497 |
| Haiku 4.5 | $0.00005 | $0.00249 |
Grade A, and why
logging 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 12d 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.
How it starts
The opening of the file, as written. The whole thing — 207 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Logging and Authentication Events
pkg/logging owns diagnostic suppression; pkg/logging/parser owns the logging
block grammar. authcrunch.Config.Logging persists *logging.Config, and
NewServer wraps its supplied logger before constructing every component.
The caller's original logger remains unchanged. Filtering never changes returned
authentication errors, authorization flags, redirects, or HTTP responses.
Authentication event attribution
Password, TOTP and backend WebAuthn failures in JSON and browser sandbox flows
emit WARN messages password authentication failed,
totp passcode authentication failed, and u2f authentication failed.
They include portal_name, canonical realm and username, session_id,
request_id, numeric checkpoint_id, checkpoint_name, checkpoint_type,
src_ip and src_conn_ip. The portal name comes from the selected portal config;
the realm comes from the server-held sandbox authenticator, paired with its
canonical backend account. Email aliases and transformed display/subject claims
must not replace that identity. Connected LDAP can move subsequent MFA into an
attached local account; its factor realm is that local realm, not necessarily
the originally submitted federation realm.
The INFO message user was successfully authenticated records final JSON
checkpoint login after token issuance and applicable session/OP admission
succeed. It includes the same portal/realm/account attribution, request/session
correlation, and authentication_flow=api. Incomplete factors and failed
issuance must not emit it. The call precedes HTTP serialization/write and cannot
prove network delivery. API-key, provider and refresh flows are separate; this
message is not a universal successful-authentication counter.
Preserve exact messages, levels and timing when adding fields. Browser
user passed all authorization checkpoints and Successful login describe
earlier boundaries, not final credential delivery. Rate limiting, invalid forms,
factor discovery, sandbox limits and malformed/origin-rejected WebAuthn can
fail before the three backend warnings. Assert actual HTTP outcomes separately;
some browser factor failures render an error page with HTTP 200.
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.
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.
- 12d ago Changed · +72 lines · +2 tokens per session e2cfccb40eb8
- 1mo ago First seen · 135 lines · 43 tokens per session scan A b4fe39194668
logging is a skill published in the GitHub repository greenpau/go-authcrunch (60 stars, last pushed 10d ago), licensed Apache-2.0. It adds 45 tokens to every session and 2,486 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-09-21.
logging compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| logginggreenpau/go-authcrunch | Skill | 60 | 10d ago | Apache-2.0 | A | 45 | Codex |
| systematic-debuggingopen-metadata/OpenMetadata | Skill | 16k | yesterday | Apache-2.0 | A | 37 | Claude Code |
| log-error-digestzebbern/claude-code-guide | Skill | 4.7k | 3d ago | MIT | A | 71 | Claude Code, Codex |
| cwv-optimizeradobe/skills | Skill | 319 | yesterday | Apache-2.0 | A | 112 | Claude Code |
| ci-fixersipyourdrink-ltd/bernstein | Skill | 1.2k | yesterday | Apache-2.0 | A | 15 | Claude Code, Codex |
| incident-response-incident-responsermyndharis/antigravity-skills | Skill | 1.9k | 23d ago | MIT | A | 36 | Claude Code |
| triaging-web-analytics-supportPostHog/posthog | Skill | 41k | yesterday | none | A | 151 | Claude Code, Codex |