evlog: Skill for Claude Code

.agents/skills/create-map-rule/SKILL.md

create-evlog-map-rule is a skill for Claude Code, Codex from HugoRCD/evlog. It costs 74 tokens per session (2,639 once invoked), scanned A, original, MIT.

A development guide for adding rules or framework adapters to `evlog map`, a command-line scanner that checks application entry points. A rule asks a question about each entry point; an adapter teaches the scanner where a framework's entry points are.

In plain words
What is it for?
Use it to add coverage requirements or opportunities, support a new framework, and update the related source, registry, types, tests, docs, and published skill.
Why use it?
It keeps new checks consistent with the scanner's scoring, applicability, tests, documentation, and command-line behaviour.

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 →

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-map-rule/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-map-rule

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hugorcd/evlog/create-map-rule"><img src="https://agentmods.dev/badge/skills/hugorcd/evlog/create-map-rule.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,639 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 154
    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 154
    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.00074 $0.02639
Opus 5.5 $0.00030 $0.01056
Sonnet 5.5 $0.00015 $0.00528
Haiku 4.5 $0.00007 $0.00264

Measured 2mo ago against content hash 6eee3d6e2e4c, 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-map-rule 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-map-rule/SKILL.md · 159 lines

How it starts

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

Create an evlog map Rule (or Framework Adapter)

Extend the coverage scanner in @evlog/cli. Two kinds of extension:

  • A rule: a new question asked of every entry point (packages/cli/src/lib/map/rules/). This is the common case.
  • A framework adapter: teach evlog map to find entry points in a new framework (packages/cli/src/lib/map/adapters/). Rarer and heavier; see the last section.

PR Title

feat(cli): add the {id} map rule

The cli scope already exists, so no scope registration is needed.

Requirement or opportunity? Decide first

This is the design decision everything else follows from (see apps/docs/content/3.cli/3.rules.md for the published contract):

Requirement Opportunity
Effect on the score Costs weight points when it fails None, ever — the type forbids a weight
When it appears Whenever it applies Only when the project already uses the feature (appliesTo.when gated on project.features / project.pairable)
In the report FIX FIRST / THEN GOING FURTHER
Can fail a CI gate (--min-score, --baseline) Yes No

Guiding principle (from error-catalog.ts): a rule that fires on perfectly good code is policing, not helping. Opportunities must be gated on a signal that makes the case on its own (duplication, an installed package used without its evlog integration), never on "you could adopt a feature you don't use".

Current requirements: wide-event (40), audit (25), structured-errors (20), page-error-handling (20), context (15), error-handling (15). Current opportunities: error-catalog, audit-coverage, ai-logging, auth-identity.

Touchpoints Checklist (rule)

# File Action
1 packages/cli/src/lib/map/rules/{id}.ts Create the rule (one exported const)
2 packages/cli/src/lib/map/rules/index.ts Import + one line in REGISTRY
3 packages/cli/src/lib/map/types.ts Add the id to the CheckId union (a type assert in index.ts fails the build if the registry and union drift)
4 packages/cli/test/map/rules.test.ts Add cases (the file has an ESLint-RuleTester-style Case harness — runRuleSet exercises one rule in isolation)
5 apps/docs/content/3.cli/3.rules.md Add a row to the Requirements or Opportunities table + a ### {title} section
6 apps/docs/content/3.cli/4.scoring.md Requirements only: reflect the new weight in the scoring explanation
7 skills/review-logging-patterns/references/code-review.md Add a row to the matching rules table
8 .changeset/{id}-map-rule.md Changeset for "@evlog/cli": minor

Read the full file on GitHub · 159 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 · 159 lines · 74 tokens per session scan A 6eee3d6e2e4c

Subscribe to this mod's changes

create-evlog-map-rule is a skill published in the GitHub repository HugoRCD/evlog (1,903 stars, last pushed 12d ago), licensed MIT. It adds 74 tokens to every session and 2,639 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-map-rule compared with skills from other repositories

create-evlog-map-rule next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
create-evlog-map-ruleHugoRCD/evlogSkill1.9k12d agoMITA74Claude Code, Codex
gh-issueapache/skywalking-banyandbSkill355todayApache-2.0A91Claude Code
gh-pull-requestapache/skywalking-banyandbSkill355todayApache-2.0A37Claude Code
vendor-updateapache/skywalking-banyandbSkill355todayApache-2.0A95Claude Code
bydbqlapache/skywalking-banyandbSkill355todayApache-2.0A71Claude Code
frontmcp-observabilityagentfront/frontmcpSkill148yesterdayApache-2.0A196Claude Code, Codex
compilingapache/skywalking-banyandbSkill355todayApache-2.0A31Claude Code