dx-pattern-extract

dx-pattern-extract is a skill for Claude Code from easingthemes/dx-aem-flow. It costs 39 tokens per session (1,648 once invoked), scanned A, original, MIT.

A pattern-finding tool that reviews completed work and records recurring technical decisions for reuse across tickets.

In plain words
What is it for?
Use it to scan completed specifications, group similar decisions, and create shared notes when a pattern appears across multiple tickets.
Why use it?
It helps teams avoid making the same design decisions repeatedly or losing useful lessons from earlier work.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter.

Part of the dx-core plugin — 49 skills, 7 agents shipped together

Good fit Use it to scan completed specifications, group similar decisions, and create shared notes when a pattern appears across multiple tickets.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/easingthemes/dx-aem-flow/dx-pattern-extract
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 easingthemes/dx-aem-flow --skill dx-pattern-extract
Clone the repo
git clone --depth 1 https://github.com/easingthemes/dx-aem-flow

Made for: Claude Code.

Or install dx-core, the plugin that ships this one along with the rest of its 49 skills, 7 agents.

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 dx-pattern-extract

README.md
[![agentmods](https://agentmods.dev/badge/skills/easingthemes/dx-aem-flow/dx-pattern-extract/github.svg)](https://agentmods.dev/skills/easingthemes/dx-aem-flow/dx-pattern-extract)
Your own site
<a href="https://agentmods.dev/skills/easingthemes/dx-aem-flow/dx-pattern-extract"><img src="https://agentmods.dev/badge/skills/easingthemes/dx-aem-flow/dx-pattern-extract/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 dx-pattern-extract

Your own site · 80×15
<a href="https://agentmods.dev/skills/easingthemes/dx-aem-flow/dx-pattern-extract"><img src="https://agentmods.dev/badge/skills/easingthemes/dx-aem-flow/dx-pattern-extract.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,648 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.00039 $0.01648
Opus 5.5 $0.00016 $0.00659
Sonnet 5.5 $0.00008 $0.00330
Haiku 4.5 $0.00004 $0.00165

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

Security

Grade A, and why

dx-pattern-extract 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 2d 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.

plugins/dx-core/skills/dx-pattern-extract/SKILL.md · 173 lines

How it starts

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

You scan all completed spec directories for recurring decisions and approaches, then promote patterns that appear in 3+ tickets to .ai/graph/nodes/patterns/ for cross-ticket knowledge reuse.

1. Scan Decision Sources

Collect decisions from two sources — structured YAML (preferred) and markdown fallback.

1a. Decision Nodes (primary source)

Scan for structured decision YAML files:

find .ai/graph/nodes/decisions/ -name "*.yaml" -type f 2>/dev/null

Read shared/decision-schema.md for the schema definition. For each decision YAML file, extract:

  • ticket — the work item ID
  • chosen — what was chosen
  • tags — for grouping by similarity
  • files — for matching by file overlap
  • alternatives — the rejected options (useful for understanding the pattern's scope)
  • status — skip decisions with status: superseded or status: rejected

1b. Implement.md fallback (for pre-Phase 4 tickets)

Find all spec directories with completed work:

find .ai/specs/ -name "implement.md" -type f 2>/dev/null

For each implement.md found, check if decision YAML files already exist for that ticket (by matching the ticket ID from the spec directory name against .ai/graph/nodes/decisions/<ticket>-*.yaml). If YAML files exist, skip the markdown scan for that ticket — the YAML is the authoritative source.

For tickets without decision YAML files, read from implement.md:

  • The ## Key Decisions section (if present) — these are explicit design choices with alternatives
  • The ## Approach section — the overall strategy
  • The ## Steps section — scan step titles and file references for recurring patterns

Also read research.md from the same directory (if present):

  • The ## Existing Implementation Check section — which existing code was reused
  • The ## Key Findings section — important discoveries

Skip spec directories that have no implement.md or where all steps are still pending (ticket not yet worked on).

2. Identify Recurring Patterns

Read the full file on GitHub · 173 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. 2d ago Changed · +1 lines b293c0fada78
  2. 1mo ago First seen · 172 lines · 39 tokens per session scan A 4a3639cc2f9b

Subscribe to this mod's changes

dx-pattern-extract is a skill published in the GitHub repository easingthemes/dx-aem-flow (6 stars, last pushed 2d ago), licensed MIT. It adds 39 tokens to every session and 1,648 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-03.

Related

Other skills, from other repositories

gsd-milestone-summary

Generate a comprehensive project summary from milestone artifacts for team onboarding and review.

open-gsd/gsd-core · 20 tokens

git-pr-workflows-onboard

Plan technical onboarding with environment setup, codebase orientation, team integration, and learning milestones. Use when helping developers join a project or preparing onboarding materials.

rmyndharis/antigravity-skills · 37 tokens

team-onboarding-playbook

Design a structured onboarding experience that gets new team members productive in 30, 60, and 90 days. Use when a new hire is joining, when contractors or agency partners need to ramp up, when an existing team is restructuring and members are switching focus, or when current onboarding feels chaotic and slow. Also…

rampstackco/claude-skills · 124 tokens

mentor

Draft a teaching-register comment on a GitHub issue or PR thread on the configured repo, aimed at a contributor missing context the maintainer would spell out. Reads the thread, decides whether an intervention is warranted, drafts one comment per the tone guide and convention pointers, and waits for explicit…

apache/magpie · 85 tokens

book-club

A structured workflow for running a book club, covering book selection, scheduling, preparation, discussion, and planning the next meeting.

text2future/flowix · 29 tokens

product-adoption

Diagnose and design product adoption for onboarding, activation, behavior change, feature discovery, rollout, and sustained use after launch. Covers consumer, B2B, internal-tool, and public-service contexts with evidence-based decision points and cohort segmentation. Does not own acquisition campaigns or marketing…

magnus919/agent-skills · 114 tokens