ed-patterns

ed-patterns is a skill for Claude Code, Codex from edgedelta/edgedelta-mcp-server. It costs 21 tokens per session (724 once invoked), scanned A, original, MIT.

A tool for grouping similar log messages into patterns with counts, proportions, sentiment, and changes over time. This makes repeated or newly increasing messages easier to inspect than raw log lines.

In plain words
What is it for?
Use it to list common or negative log patterns, compare them with an earlier period, filter by service, and retrieve the raw messages behind a pattern.
Why use it?
It helps find new or rising errors without reading every log entry. Comparing time windows can highlight possible incidents.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to list common or negative log patterns, compare them with an earlier period, filter by service, and retrieve the raw messages behind a pattern.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/edgedelta/edgedelta-mcp-server/ed-patterns
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 edgedelta/edgedelta-mcp-server --skill ed-patterns
Clone the repo
git clone --depth 1 https://github.com/edgedelta/edgedelta-mcp-server

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 ed-patterns

README.md
[![agentmods](https://agentmods.dev/badge/skills/edgedelta/edgedelta-mcp-server/ed-patterns/github.svg)](https://agentmods.dev/skills/edgedelta/edgedelta-mcp-server/ed-patterns)
Your own site
<a href="https://agentmods.dev/skills/edgedelta/edgedelta-mcp-server/ed-patterns"><img src="https://agentmods.dev/badge/skills/edgedelta/edgedelta-mcp-server/ed-patterns/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 ed-patterns

Your own site · 80×15
<a href="https://agentmods.dev/skills/edgedelta/edgedelta-mcp-server/ed-patterns"><img src="https://agentmods.dev/badge/skills/edgedelta/edgedelta-mcp-server/ed-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 724 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 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.00021 $0.00724
Opus 5.5 $0.00008 $0.00290
Sonnet 5.5 $0.00004 $0.00145
Haiku 4.5 $0.00002 $0.00072

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

Security

Grade A, and why

ed-patterns 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 8d 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.

pkg/skills/data/ed-patterns/SKILL.md · 86 lines

How it starts

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

Edge Delta Log Patterns

Edge Delta clusters similar log messages into patterns. Each pattern carries count, proportion, sentiment (positive/negative/neutral) and delta (change vs an earlier window). Patterns are the fastest way to answer "what's new or surging in the logs?" without reading raw lines.

Prerequisites

The edx CLI must be installed and authenticated. See the ed-edx skill.

Quick Start

# ~50 interesting clusters: top anomalies, biggest delta up/down, top counts
edx patterns list --summary --lookback 1h

# Negative-sentiment patterns only (errors, failures, timeouts)
edx patterns list --negative --lookback 1h

# Scoped to one service
edx patterns list -q 'service.name:"api"' --negative --limit 20

Comparing Windows (Delta)

The delta stat compares against an earlier window. Default offset equals the lookback. To compare against the same window yesterday:

edx patterns list --lookback 1h --offset 24h

A large positive delta on a negative-sentiment pattern is a strong incident signal: a new or surging error signature.

Getting Raw Samples

Once a suspicious pattern is found, fetch the raw log lines behind it. The most reliable way is to search logs for a distinctive token from the signature (patterns render variable parts as *, so pick the literal words):

edx logs search -q '"connection refused"' --lookback 1h

edx patterns samples returns raw lines too, but it filters only by -q and time - the --param pattern= value is currently ignored by the backend (the same lines come back regardless), so it cannot isolate a single pattern. Use it to pull recent lines for a service, and use the logs search token approach above to read lines for one specific pattern:

edx patterns samples -q 'service.name:"api"' --lookback 1h

Interpretation Guide

Signal Meaning
New pattern, high count New failure mode or new deploy behavior
delta >> 0, negative sentiment Surging error - investigate first
delta << 0 on normal traffic patterns Possible traffic drop / outage
High proportion shift Behavior change even if totals look flat

Read the full file on GitHub · 86 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. 8d ago First seen · 86 lines · 21 tokens per session scan A af5d1d6095db

Subscribe to this mod's changes

ed-patterns is a skill published in the GitHub repository edgedelta/edgedelta-mcp-server (10 stars, last pushed yesterday), licensed MIT. It adds 21 tokens to every session and 724 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-11-26.

Related

ed-patterns compared with skills from other repositories

ed-patterns next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ed-patternsedgedelta/edgedelta-mcp-serverSkill10yesterdayMITA21Claude Code, Codex
systematic-debuggingopen-metadata/OpenMetadataSkill16ktodayApache-2.0A37Claude Code
log-error-digestzebbern/claude-code-guideSkill4.7ktodayMITA71Claude Code, Codex
observability-audit-sessionsIBM/mcp-context-forgeSkill4.9ktodayApache-2.0A64Claude Code, Codex
cwv-optimizeradobe/skillsSkill343todayApache-2.0A112Claude Code
performance-verificationvalkor-ai/loomSkill1.6k2d agoApache-2.0A45Claude Code, Codex
ci-fixersipyourdrink-ltd/bernsteinSkill1.2kyesterdayApache-2.0A15Claude Code, Codex