evlog: Skill for Claude Code

.agents/skills/create-framework-integration/SKILL.md

create-evlog-framework-integration is a skill for Claude Code, Codex from HugoRCD/evlog. It costs 77 tokens per session (4,887 once invoked), scanned A, original, MIT.

A guide for adding automatic request-and-response logging to a new web framework in the evlog package. Middleware is framework code that runs around a web request, allowing logging to be attached to its lifecycle.

In plain words
What is it for?
Use it to add an evlog integration for frameworks such as Koa, H3 standalone, or Deno Fresh, including middleware, builds, package exports, tests, examples, and docs.
Why use it?
It provides a consistent path for supporting another framework and helps avoid missing source changes, exports, tests, examples, or documentation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

This is HugoRCD/evlog's own configuration. It tells Claude Code and Codex how to work on evlog itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything evlog configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import type { AuditableLogger } from '../audit'.

About the project

evlog is a TypeScript-first logging and observability project built around wide events and structured errors across runtimes. It is intended to help developers record application behavior and diagnose failures.

HugoRCD/evlog · 1,903 stars · on GitHub · evlog.dev

Reuse

Borrowing it

Nothing to install: this file belongs to HugoRCD/evlog. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/HugoRCD/evlog/main/.agents/skills/create-framework-integration/SKILL.md
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 create-evlog-framework-integration

README.md
[![agentmods](https://agentmods.dev/badge/skills/hugorcd/evlog/create-framework-integration/github.svg)](https://agentmods.dev/skills/hugorcd/evlog/create-framework-integration)
Your own site
<a href="https://agentmods.dev/skills/hugorcd/evlog/create-framework-integration"><img src="https://agentmods.dev/badge/skills/hugorcd/evlog/create-framework-integration/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 create-evlog-framework-integration

Your own site · 80×15
<a href="https://agentmods.dev/skills/hugorcd/evlog/create-framework-integration"><img src="https://agentmods.dev/badge/skills/hugorcd/evlog/create-framework-integration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,887 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 warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 50
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 292
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
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.00077 $0.04887
Opus 5.5 $0.00031 $0.01955
Sonnet 5.5 $0.00015 $0.00977
Haiku 4.5 $0.00008 $0.00489

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

Security

Grade A, and why

create-evlog-framework-integration 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 2mo 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/create-framework-integration/SKILL.md · 374 lines

How it starts

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

Create evlog Framework Integration

Add a new framework integration to evlog. The recommended path is the manifest mode built on defineFrameworkIntegration from evlog/toolkit, for any framework with a request/response middleware shape. For frameworks with a fundamentally different lifecycle you'll fall back to the lower-level createMiddlewareLogger.

Two paths

  • Manifest mode (preferred, ~30–80 lines of glue). Call defineFrameworkIntegration({ name, extractRequest, attachLogger, storage? }) once at module level, then write a tiny middleware that calls integration.start(ctx, options) and runs the framework's next() inside runWith. Reference implementations: all of packages/evlog/src/{hono,express,fastify,elysia,nestjs,orpc,react-router,sveltekit,workers}/index.ts use it.
  • Custom mode: use createMiddlewareLogger directly when the framework's lifecycle doesn't fit a standard middleware. Current custom-mode integrations: Next.js (src/next/), Nitro v2/v3 (src/nitro/, src/nitro-v3/), Eve (src/eve/).

Manifest mode now covers all classic HTTP frameworks. Use custom mode only when you can't extract a request synchronously at the start of the lifecycle (server actions, module-level hooks, agent turns).

Required API surface (from AGENTS.md)

Every framework integration must expose:

  1. evlog() middleware/plugin accepting the full BaseEvlogOptions (drain, enrich, keep, include, exclude, routes, plugins)
  2. useLogger() (ALS-backed). Workers is the one sanctioned exception (ALS needs a compat flag there; defineWorkerFetch attaches the logger instead)
  3. log.fork() support (automatic when storage is provided to the manifest)
  4. The framework-native accessor (c.get('log'), req.log, event.locals.log, …)

PR Title

feat({framework}): add {Framework} middleware integration

Scope timing caveat: the semantic PR check reads its scope list from the base branch, so a brand-new scope can't validate the very PR that introduces it. Either register the scope in a small preceding PR, or use an unscoped title (feat: add {Framework} middleware integration) on the introducing PR.

Read the full file on GitHub · 374 lines

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. 2mo ago First seen · 374 lines · 77 tokens per session scan A acc3ee2a4db4

Subscribe to this mod's changes

create-evlog-framework-integration is a skill published in the GitHub repository HugoRCD/evlog (1,903 stars, last pushed 12d ago), licensed MIT. It adds 77 tokens to every session and 4,887 once invoked, about $0.0003 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

create-evlog-framework-integration compared with skills from other repositories

create-evlog-framework-integration next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
create-evlog-framework-integrationHugoRCD/evlogSkill1.9k12d agoMITA77Claude Code, Codex
frontmcp-observabilityagentfront/frontmcpSkill148yesterdayApache-2.0A196Claude Code, Codex
error-handlingMadAppGang/claude-codeSkill2877mo agoMITA28Claude Code
logging-observabilitypan94u/forgeSkill405d agononeA28Claude Code
otel-fastapi-stylesuperloglabs/skillsSkill135mo agoApache-2.0A35Claude Code, Codex
otel-flask-stylesuperloglabs/skillsSkill135mo agoApache-2.0A34Claude Code, Codex
otel-instrument-featuresuperloglabs/skillsSkill135mo agoApache-2.0A92Claude Code, Codex