Agent skill

Meta Pattern Recognition

by sandgardenhq in sandgardenhq/sgai

Spot patterns appearing in 3+ domains to find universal principles.

Custom licenceAuto-check passed

Install Meta Pattern Recognition

skills CLI
$ npx skills add sandgardenhq/sgai --skill meta-pattern-recognition -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sandgardenhq/sgai meta-pattern-recognition --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sandgardenhq/sgai.git skills-src && mkdir -p .claude/skills && cp -r skills-src/cmd/sgai/skel/.sgai/skills/problem-solving/meta-pattern-recognition .claude/skills/meta-pattern-recognition && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
meta-pattern-recognition
GitHub stars
137
Token cost
~519 tokens
SKILL.md length
203 words
Files
1
Skills in repo
53
Repo updated
First seen
Licence
Custom licence

At a glance

Spot patterns appearing in 3+ domains to find universal principles.

  • Works in 4 steps: Spot repetition - See same shape in 3+… → Extract abstract form - Describe… → Identify variations - How does it adapt… → …
  • SKILL.md covers Overview, Quick Reference, Process and Example, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Meta Pattern Recognition is an agent skill from sandgardenhq/sgai. Spot patterns appearing in 3+ domains to find universal principles. Same issue in different parts of codebase. Pattern feels familiar across projects. "Haven't I solved this before?" Different teams solving similar problems. Recurring solution shapes.

Its SKILL.md is about 520 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: Sandgarden AI Software Factory.

Example prompts

  • “t I solved this before?”
  • “/meta-pattern-recognition”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

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

What it can do on your machine

Read from SKILL.md and the folder at commit 9efbb7b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Meta Pattern Recognition loads about 519 tokens when it runs. Until then it costs about 69 tokens; SKILL.md has 203 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~69
When it runs · the whole SKILL.md, loaded when a task matches
~519

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 203 words (~519 tokens).

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

— opening of SKILL.md by sandgardenhq, Custom licence
name
meta-pattern-recognition

Read the full SKILL.md on GitHub

Files

Just SKILL.md in cmd/sgai/skel/.sgai/skills/problem-solving/meta-pattern-recognition of sandgardenhq/sgai.

Open the folder on GitHubat commit 9efbb7b

Compare with similar skills

Meta Pattern Recognition next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Meta Pattern Recognition compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Meta Pattern Recognition this skillsandgardenhq/sgai137—~519Automated safety check: PassCustom licence
Pattern Recognition Specialistudecode/plate17k—~1.2kAutomated safety check: PassCustom licence
Architecture Patternswshobson/agents40k—~2kAutomated safety check: PassMIT
Golang Patternsaffaan-m/ECC276k—~1.1kAutomated safety check: PassMIT
Architecture Patternsdavila7/claude-code-templates32k4 repos~483Automated safety check: PassMIT
Kotlin Exposed Patternsaffaan-m/ECC276k4 repos~5.5kAutomated safety check: PassMIT

Similar skills

  • Analyzes code for design patterns, anti-patterns, naming conventions, and duplication.

    17k GitHub stars~1.2k tokensUpdated today
    DevelopmentAuto-check passed
  • Architecture Patterns

    wshobson/agents

    Implement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design.

    40k GitHub stars~2k tokensUpdated 4 days ago
    DevelopmentAuto-check passed
  • Golang Patterns

    affaan-m/ECC

    Go-specific design patterns and best practices including functional options, small interfaces, dependency injection, concurrency patterns, error handling, and package organization.

    276k GitHub stars~1.1k tokensUpdated 4 days ago
    DevelopmentAuto-check passed
  • Architecture Patterns

    davila7/claude-code-templates

    Master proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design to build maintainable, testable, and scalable systems.

    32k GitHub starsUsed in 4 repos~483 tokens
    DevelopmentAuto-check passed
  • JetBrains Exposed ORM patterns including DSL queries, DAO pattern, transactions, HikariCP connection pooling, Flyway migrations, and repository pattern.

    276k GitHub starsUsed in 4 repos~5.5k tokens
    DatabasesAuto-check passed
  • Dotnet Patterns

    affaan-m/ECC

    Idiomatic C and .NET patterns, conventions, dependency injection, async/await, and best practices for building robust, maintainable .NET applications.

    276k GitHub starsUsed in 1 repo~2.3k tokens
    DevelopmentAuto-check passed

More from sandgardenhq/sgai

All 53 skills in this repo
  • Root Cause Tracing

    sandgardenhq/sgai

    A skill your agent uses when errors occur deep in execution and you need to trace back to find the original trigger - systematically traces bugs backward through call stack, adding instrumentation…

    137 GitHub starsUsed in 4 repos~1.4k tokens
    Auto-check passed
  • Condition Based Waiting

    sandgardenhq/sgai

    A skill your agent uses when tests have race conditions, timing dependencies, or inconsistent pass/fail behavior - replaces arbitrary timeouts with condition polling to wait for actual state…

    137 GitHub starsUsed in 3 repos~933 tokens
    Auto-check passed
  • Defense In Depth

    sandgardenhq/sgai

    A skill your agent uses when invalid data causes failures deep in execution, requiring validation at multiple system layers - validates at every layer data passes through to make bugs structurally…

    137 GitHub starsUsed in 3 repos~970 tokens
    Auto-check passed
  • Agent Native Architecture

    sandgardenhq/sgai

    Build AI agents using prompt-native architecture where features are defined in prompts, not code.

    137 GitHub stars~2k tokensUpdated 18 days ago
    Auto-check passed
  • Adhoc

    sandgardenhq/sgai

    Run and manage ad-hoc AI prompts in sgai workspaces without starting a full agentic session.

    137 GitHub stars~1.2k tokensUpdated 18 days ago
    Auto-check passed
  • You must use this skill when debugging web UI bugs or testing interactive components that require multi-step browser interactions.

    137 GitHub stars~3.7k tokensUpdated 18 days ago
    Auto-check passed

Questions about Meta Pattern Recognition

What does Meta Pattern Recognition do?

Spot patterns appearing in 3+ domains to find universal principles. Meta Pattern Recognition is an agent skill from sandgardenhq/sgai. Spot patterns appearing in 3+ domains to find universal principles.

How do I install Meta Pattern Recognition in Claude Code?

Run `npx skills add sandgardenhq/sgai --skill meta-pattern-recognition -a claude-code`. Or copy the skill folder (cmd/sgai/skel/.sgai/skills/problem-solving/meta-pattern-recognition in sandgardenhq/sgai) into .claude/skills/meta-pattern-recognition in your project. Claude Code loads it when a task matches its description.

How do I install Meta Pattern Recognition in Codex?

Run `npx skills add sandgardenhq/sgai --skill meta-pattern-recognition -a codex`. Or copy the skill folder (cmd/sgai/skel/.sgai/skills/problem-solving/meta-pattern-recognition in sandgardenhq/sgai) into .agents/skills/meta-pattern-recognition in your project. Codex loads it when a task matches its description.

Can I use Meta Pattern Recognition in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sandgardenhq/sgai --skill meta-pattern-recognition -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/meta-pattern-recognition, .gemini/skills/meta-pattern-recognition, .github/skills/meta-pattern-recognition and .opencode/skills/meta-pattern-recognition in your project.

What does Meta Pattern Recognition need to run?

SKILL.md names no scripts, command-line tools or credentials: Meta Pattern Recognition is instructions for the agent only.

Does Meta Pattern Recognition access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Meta Pattern Recognition safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Meta Pattern Recognition use?

Meta Pattern Recognition has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Meta Pattern Recognition use?

About 519 tokens (SKILL.md is roughly 2.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Meta Pattern Recognition?

Skills that share tags, products or a category with Meta Pattern Recognition: Pattern Recognition Specialist (udecode/plate, 17k stars), Architecture Patterns (wshobson/agents, 40k stars), Golang Patterns (affaan-m/ECC, 276k stars) and Architecture Patterns (davila7/claude-code-templates, 32k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Meta Pattern Recognition?

sandgardenhq (a GitHub organization) maintains it in sandgardenhq/sgai, which has 137 GitHub stars. The repository holds 53 skills in this directory. The repository was last updated on September 21, 2026.

Source: sandgardenhq/sgai on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.