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.
npx skills add easingthemes/dx-aem-flow --skill dx-pattern-extractgit clone --depth 1 https://github.com/easingthemes/dx-aem-flowWrote 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/easingthemes/dx-aem-flow/dx-pattern-extract)<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.
<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>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.00039 | $0.01650 |
| Opus 5.5 | $0.00016 | $0.00660 |
| Sonnet 5.5 | $0.00008 | $0.00330 |
| Haiku 4.5 | $0.00004 | $0.00165 |
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 23d 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 — 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 IDchosen— what was chosentags— for grouping by similarityfiles— for matching by file overlapalternatives— the rejected options (useful for understanding the pattern's scope)status— skip decisions withstatus: supersededorstatus: 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 Decisionssection (if present) — these are explicit design choices with alternatives - The
## Approachsection — the overall strategy - The
## Stepssection — scan step titles and file references for recurring patterns
Also read research.md from the same directory (if present):
- The
## Existing Implementation Checksection — which existing code was reused - The
## Key Findingssection — 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
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.
- 23d ago Changed 2a6d1bf29d46
- 1mo ago Changed · +1 lines b293c0fada78
- 3mo ago First seen · 172 lines · 39 tokens per session scan A 4a3639cc2f9b
dx-pattern-extract is a skill published in the GitHub repository easingthemes/dx-aem-flow (9 stars, last pushed 3d ago), licensed MIT. It adds 39 tokens to every session and 1,650 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.
dx-pattern-extract compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| dx-pattern-extracteasingthemes/dx-aem-flow | Skill | 9 | 3d ago | MIT | A | 39 | Claude Code |
| hr-onboardingnexu-io/open-design | Skill | 111k | today | Apache-2.0 | A | 62 | Claude Code, Codex |
| book-mirrorgarrytan/gbrain | Skill | 34k | today | MIT | A | 139 | Claude Code |
| lean-formalizewanshuiyin/Auto-claude-code-research-in-sleep | Skill | 20k | yesterday | MIT | A | 81 | Claude Code |
| deck-course-modulenexu-io/html-anything | Skill | 17k | 5d ago | Apache-2.0 | A | 25 | Claude Code, Codex |
| eli5companion-inc/feynman | Skill | 10k | 5d ago | MIT | A | 63 | Claude Code, Codex |
| explore-unknownsdzhng/skills | Skill | 1.5k | 20d ago | MIT | A | 162 | Claude Code, Codex |