Token导航 LogoToken导航

Agent Skill · 研究检索

pattern-detection(模式检测)

pattern-detection 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

pattern-detection 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证信息还不明确,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 35,826。

总安装 2,022周安装 81GitHub Stars 11下载 654核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:pattern-detection(模式检测)
来源仓库:https://github.com/akillness/oh-my-skills
仓库路径:skills/pattern-detection
安装命令:
npx skills add https://github.com/akillness/oh-my-skills --skill pattern-detection
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/akillness/oh-my-skills --skill pattern-detection

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

pattern-detection 用于识别代码、日志、遥测数据中的重复模式或异常情况,提供初步扫描和候选集分组。适用于发现可疑 irregularities 或需要优先检查的模式,支持跨多种数据源进行快速筛查。输出包含置信度说明和误报风险提示,便于后续人工验证。安装前建议确认是否涉及敏感数据访问及命令执行权限。

适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/pattern-detection

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/akillness/oh-my-skills --skill pattern-detecti…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

pattern-detection 怎么安装?

在终端执行 npx skills add https://github.com/akillness/oh-my-skills --skill pattern-detection。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

pattern-detection 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

pattern-detection 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

pattern-detection 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

pattern-detection 用的人多吗?

公开数据是累计安装 2,022 次,近一周安装 81 次,下载 654 次,GitHub 11 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

pattern-detection 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
pattern-detection

模式检测 · 本页

2,02211操作浏览器未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Pattern Detection

When to use this skill

  • The main job is finding repeated shapes or suspicious irregularities, not fully explaining or fixing them yet.
  • The user needs a reusable scan, shortlist, grouped candidate set, or anomaly triage across code, logs/events, telemetry, or metric tables.
  • The prompt is really asking "what patterns keep showing up?", "what looks off?", or "what should we inspect first?" even if it never says "pattern detection".
  • The user needs confidence notes, false-positive risks, or the fastest validation step, not a raw wall of hits.
  • The request mentions patterns, anomalies, outliers, repeated failures, suspicious spikes, odd cohorts, rule packs, signatures, code smells, anti-patterns, fraud signals, or recurring issue families.

Do not use this skill as the main workflow when:

  • The real job is root-cause incident reconstruction from logs or traces → log-analysis
  • The real job is decision-ready KPI explanation, experiment analysis, or stakeholder reporting → data-analysis
  • The real job is repo tracing, ownership lookup, or metric-definition search → codebase-search
  • The real job is security remediation, policy design, or vulnerability hardening → security-best-practices or code-review
  • The real job is alert tuning, telemetry coverage, or incident operations → monitoring-observability

Core idea

pattern-detection should behave like a detection packet router, not a giant bag of regexes.

  1. Normalize the prompt into one primary detection packet.
  2. Pick the cheapest evidence mode that can surface trustworthy candidates.
  3. Return grouped findings with confidence and false-positive notes.
  4. Give one fastest validation step.
  5. Route out aggressively once the bottleneck becomes diagnosis, explanation, remediation, or operations.

Read these support docs before choosing the packet:

Instructions

Step 1: Normalize the request

Convert the prompt into this intake shape first:

pattern_detection_packet:
  primary_packet: text-prefilter | structural-code-rule | log-event-pattern | metric-anomaly
  evidence_shape: code | configs | logs | events | telemetry | tables | time-series | mixed | unknown
  detection_goal: repeated-shape | risky-structure | noisy-family | suspicious-spike | drift | outlier | rule-draft | shortlist
  grouping_key: file-path | symbol-shape | error-family | event-name | build-version | environment | browser-device | cohort | metric-segment | unknown
  trust_risk: broad-match | parser-drift | instrumentation-change | denominator-gap | seasonality | sample-size | none | mixed | unknown
  route_after: stay-here | log-analysis | data-analysis | codebase-search | security-best-practices | monitoring-observability | code-review

Choose one primary packet for the run. If two are plausible, pick the one that reduces uncertainty fastest.

Step 2: Choose the packet

PacketUse whenBest fitsTypical outputs
text-prefilterYou need a cheap first pass to narrow a big scopeTODO/FIXME clusters, repeated strings, suspicious config values, broad error familiescandidate files/lines, counts, and next packet suggestion
structural-code-ruleSyntax or call shape matters more than plain textrisky API usage, duplicate branching/error shapes, migration candidates, rule draftsgrouped match families, exclusions, reusable rule idea
log-event-patternRepeated signals show up in logs or event recordsnoisy retries, browser/build splits, repeated errors, suspicious event familiesgrouped clusters, spread/count context, likely segmentation keys
metric-anomalyThe pattern lives in aggregates or time windowsKPI spikes/drops, retention or funnel anomalies, suspicious spend or telemetry shiftssuspicious segments/windows, baseline note, confidence and caveats

Packet rules:

  • Prefer text-prefilter when the fastest win is to narrow the search space cheaply.
  • Prefer structural-code-rule when plain text matching is too noisy or misses true code shape.
  • Prefer log-event-pattern when volume, spread, parser quality, or cohort grouping matters more than single-line reading.
  • Prefer metric-anomaly when the user cares about spikes, drift, cohorts, or time-window irregularities.

Step 3: Narrow the evidence before claiming a pattern

Apply at least one narrowing move before interpreting results:

  • limit by file/path/language scope
  • limit by time window, deploy window, or experiment window
  • group by one stable key: message family, event name, exception class, browser/device, build, cohort, metric segment
  • separate one noisy source from a broad multi-source spread
  • compare a suspicious window with a baseline window
  • note whether parser, schema, or instrumentation drift could dominate the signal

Useful heuristics by packet:

  • text-prefilter → counts + representative examples before deeper claims
  • structural-code-rule → describe the shape in words before drafting a rule
  • log-event-pattern → separate volume from spread and isolate cohort/environment differences
  • metric-anomaly → include denominator, baseline, and segment context before calling something abnormal

Step 4: Surface grouped candidates, not a raw hit list

Use this order:

  1. Candidate family — what repeated shape or anomaly exists?
  2. Why it matters — correctness, reliability, security, cost, UX, or player/product impact
  3. Confidence — high / medium / low
  4. False-positive risk — what could make it misleading?
  5. Next check — the fastest validation or route-out

Do not silently turn detection into a full diagnosis, code rewrite, dashboard memo, or alert rollout.

Step 5: Use packet-specific heuristics

For text-prefilter
  • Use it only as a cheap narrowing pass.
  • Capture counts and representative examples, not every hit.
  • Explicitly note when syntax/context is too important for plain text alone.
  • Escalate to structural-code-rule or log-event-pattern when the match quality is too noisy.
For structural-code-rule
  • Describe the code shape in words before reaching for tooling.
  • Group matches by family, not by file order.
  • Call out likely exclusions and false positives.
  • Route actual remediation or security hardening outward once the family is identified.
For log-event-pattern
  • Normalize one grouping unit first: error family, event name, exception class, browser, build, region, feature flag, tenant.
  • Separate repeated fallout from the likely primary family.
  • Flag parser or instrumentation drift explicitly.
  • Route root-cause reconstruction to log-analysis once the user needs the actual incident story.
For metric-anomaly
  • Name baseline vs comparison window.
  • Compare absolute and relative change with denominator context.
  • Test whether the anomaly is broad or concentrated in one segment.
  • Flag seasonality, low sample size, or instrumentation changes before implying business meaning.
  • Route deeper explanation, recommendations, or experiment narration to data-analysis.

Step 6: Return one compact detection brief

Default response shape:

## Detection brief
- Packet: text-prefilter | structural-code-rule | log-event-pattern | metric-anomaly
- Scope: [files / logs / rows / metrics / time window]
- Grouping key: [file family / symbol shape / error family / cohort / segment]
- Trust level: high | medium | low

## Candidate findings
1. [pattern family or anomaly]
   - Why it matters: ...
   - Confidence: high | medium | low
   - False-positive risk: ...
   - Next check: ...
2. ...

## Route-out
- stay here | log-analysis | data-analysis | codebase-search | security-best-practices | monitoring-observability | code-review

Keep it compact. The point is to leave the user with the smallest trustworthy shortlist, not a giant implementation memo.

Step 7: Route out aggressively

Switch when the next job is no longer first-pass detection:

  • Root-cause incident or outage reconstruction → log-analysis
  • KPI explanation, experiment readout, or business narrative → data-analysis
  • Repo tracing, ownership lookup, or metric-definition hunting → codebase-search
  • Security remediation or hardening design → security-best-practices
  • Judgment-heavy patch / PR review → code-review
  • Alert routing, telemetry coverage, incident ops, or monitoring policy → monitoring-observability

If the evidence is too thin:

  1. mark confidence low
  2. ask for the smallest missing anchor only if required: scope, time window, grouping key, or baseline
  3. do not pretend certainty from one noisy excerpt or thin sample

Examples

Example 1: Repeated risky code shape

Prompt:

Scan this repo for repeated risky error-handling patterns and tell me what to inspect first.

Good response shape:

  • choose text-prefilter or structural-code-rule
  • group matches by family
  • include confidence and false-positive notes
  • route remediation to review/refactor/security skills instead of fixing everything in place

Example 2: KPI spike triage

Prompt:

We have a KPI spike in a CSV export. Is this pattern-detection or data-analysis?

Good response shape:

  • choose metric-anomaly for first-pass detection
  • name baseline, denominator, and trust checks
  • route explanation and recommendations to data-analysis

Example 3: Gameplay telemetry outliers

Prompt:

Look for suspicious gameplay telemetry outliers after yesterday's update.

Good response shape:

  • choose log-event-pattern or metric-anomaly
  • segment by build, cohort, region, or item/class
  • include instrumentation caveats
  • stay in detection mode instead of promising a full balance fix

Example 4: Alert or anomaly?

Prompt:

We keep getting noisy anomaly alerts on one metric; should I debug the threshold, inspect the pattern, or write a dashboard summary?

Good response shape:

  • start with metric-anomaly to classify whether there is a real suspicious window or just alert noise
  • call out seasonality / low-history / denominator risks
  • route alert tuning to monitoring-observability and KPI explanation to data-analysis

Best practices

  1. Start with the unit of evidence and grouping key, not the tool name.
  2. Use the cheapest trustworthy packet before escalating.
  3. Always include confidence, false-positive risk, and one next check.
  4. Group findings into candidate families, not raw hit lists.
  5. Distinguish detection from diagnosis, remediation, explanation, and alert operations.
  6. Treat parser, instrumentation, seasonality, and denominator issues as first-class caveats.
  7. Prefer reusable rule thinking when the same pattern is likely to recur.

References

平台分布

Codex

34.57%
按下载量换算226

Claude

30.72%
按下载量换算201

Cursor

20.78%
按下载量换算136

Gemini CLI

9.99%
按下载量换算65

安全审计

Gen Agent Trust Hub

通过

Socket

未通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills