Meta-Pattern Recognition

Meta-Pattern Recognition is a skill for Claude Code from huuanh20/awesome-ai-agent-skills. It costs 17 tokens per session (485 once invoked), scanned A, a copy of Meta-Pattern Recognition, MIT.

A problem-solving guide for noticing the same pattern in at least three different areas and extracting a general rule from it. For example, it compares caching, layering, queues, pooling, and rate limits across different systems.

In plain words
What is it for?
Use it when similar structures appear across several domains and you want to identify the shared principle, its variations, and other places where it may apply.
Why use it?
It helps turn repeated observations into reusable design ideas. This can make solutions easier to apply beyond the original system where the pattern was noticed.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it when similar structures appear across several domains and you want to identify the shared principle, its variations, and other places where it may apply.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/huuanh20/awesome-ai-agent-skills/meta-pattern-recognition
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 huuanh20/awesome-ai-agent-skills --skill meta-pattern-recognition
Clone the repo
git clone --depth 1 https://github.com/huuanh20/awesome-ai-agent-skills

Made for: Claude Code.

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 Meta-Pattern Recognition

README.md
[![agentmods](https://agentmods.dev/badge/skills/huuanh20/awesome-ai-agent-skills/meta-pattern-recognition/github.svg)](https://agentmods.dev/skills/huuanh20/awesome-ai-agent-skills/meta-pattern-recognition)
Your own site
<a href="https://agentmods.dev/skills/huuanh20/awesome-ai-agent-skills/meta-pattern-recognition"><img src="https://agentmods.dev/badge/skills/huuanh20/awesome-ai-agent-skills/meta-pattern-recognition/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 Meta-Pattern Recognition

Your own site · 80×15
<a href="https://agentmods.dev/skills/huuanh20/awesome-ai-agent-skills/meta-pattern-recognition"><img src="https://agentmods.dev/badge/skills/huuanh20/awesome-ai-agent-skills/meta-pattern-recognition.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 485 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 86% copy Near-identical to another mod 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.00017 $0.00485
Opus 5.5 $0.00007 $0.00194
Sonnet 5.5 $0.00003 $0.00097
Haiku 4.5 $0.00002 $0.00049

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

Security

Grade A, and why

Meta-Pattern Recognition 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 1mo 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.

Origin

This is a copy

86% identical to Meta-Pattern Recognition — 32 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/problem-solving/meta-pattern-recognition/SKILL.md · 57 lines

How it starts

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

Meta-Pattern Recognition

Overview

When the same pattern appears in 3+ domains, it's probably a universal principle worth extracting.

Core principle: Find patterns in how patterns emerge.

Quick Reference

Pattern Appears In Abstract Form Where Else?
CPU/DB/HTTP/DNS caching Store frequently-accessed data closer LLM prompt caching, CDN, browser cache
Layering (network/storage/compute) Separate concerns into abstraction levels Clean architecture, OS rings
Queuing (message/task/request) Decouple producer from consumer with buffer Event systems, async processing, print queues
Pooling (connection/thread/object) Reuse expensive resources Memory management, worker pools
Rate limiting (API/traffic/admission) Bound resource consumption to prevent exhaustion LLM token budgets, DB connection limits

Process

  1. Spot repetition — See same shape in 3+ places
  2. Extract abstract form — Describe it independent of any domain
  3. Identify variations — How does it adapt per domain?
  4. Check applicability — Where else might this pattern help?

Example

Pattern spotted: Rate limiting in API throttling, traffic shaping, circuit breakers, admission control, connection pooling

Abstract form: Bound resource consumption to prevent exhaustion

Variation points: What resource, what limit, what happens when exceeded (reject / queue / degrade)

New application: LLM token budgets (same pattern — prevent context window exhaustion)

Red Flags You're Missing Meta-Patterns

  • "This problem is unique" (it probably isn't)
  • Multiple teams independently solving "different" problems identically
  • Reinventing wheels across domains
  • "Haven't we done something like this?" (yes — find it)
  • Writing the same logic in 3+ different places

Remember

  • 3+ domains = likely universal principle
  • Abstract form reveals new applications
  • Variations show adaptation points
  • Universal patterns are battle-tested across contexts

Read the full file on GitHub · 57 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. 1mo ago First seen · 57 lines · 17 tokens per session scan A 52ab597aefaa

Subscribe to this mod's changes

Meta-Pattern Recognition is a skill published in the GitHub repository huuanh20/awesome-ai-agent-skills (1 stars, last pushed 3mo ago), licensed MIT. It adds 17 tokens to every session and 485 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 86% identical to Meta-Pattern Recognition, differing in 32 lines, and is treated as a copy.

Related

Other skills, from other repositories

loop

Work through the taskboard unattended for hours, pacing against the usage limits and filling the gap before a reset with CPU-only jobs. Use when asked to run all day, work unattended, or loop over tickets.

tjqscott/dory · 44 tokens

learn

Record a correction, decision, finding or failed attempt in the wiki. Use when the user corrects you, when a decision is made with a reason, when an experiment returns a verdict, or when you learn something the next session would otherwise re-derive.

tjqscott/dory · 54 tokens

wrap-up

Close out a task by folding what it taught into the wiki, updating the taskboard, and linting. Use at the end of a task, before clearing a session, or when asked to wrap up.

tjqscott/dory · 45 tokens

handoff

Write one self-contained goal that a fresh session can continue from. Use when context is running out, before clearing a session, when usage passes 95% on a long run, or when asked for a handoff.

tjqscott/dory · 47 tokens

init

Set up Dory in this repo by exploring it, creating wiki/ from the template, and connecting the usage statusline. Use when a project has no wiki/ yet, or when asked to set up Dory.

tjqscott/dory · 46 tokens

check-mcp-json

Safely review, triage, repair, and merge ToolSDK MCP Registry package JSON pull requests. Use when an agent needs to validate files under packages/, detect duplicate registry keys, classify community PRs, make authorized fixes on contributor branches, close invalid or duplicate PRs, or squash-merge approved PRs.

toolsdk-ai/toolsdk-mcp-registry · 68 tokens