← 返回 Skills 市场
Pattern Mine
作者
John DeVere Cooley
· GitHub ↗
· v1.0.0
287
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install pattern-mine
功能描述
Discovers recurring patterns buried in your codebase — similar logic written three different ways, duplicated validation in five controllers, the same error...
安全使用建议
Before installing, get and review the full SKILL.md (the runtime instructions). Specifically: 1) Confirm it limits scanning to the repository or paths you choose and does not read unrelated system files (e.g., home, /etc, secret files). 2) Confirm it does not send code or findings to external endpoints or request credentials. 3) Look for any steps that execute your code, run tests, or run arbitrary shell commands — if present, run the skill in an isolated environment first. 4) Prefer running the analysis locally yourself (give it a path) or in a sandboxed agent with read-only access to the project. If you can paste the full SKILL.md here, I can re-evaluate and raise the confidence level.
功能分析
Type: OpenClaw Skill
Name: pattern-mine
Version: 1.0.0
The OpenClaw skill 'pattern-mine' is described as a code analysis tool designed to identify recurring patterns, duplications, and inconsistencies within a codebase. The provided `_meta.json` contains standard skill metadata. The `SKILL.md` documentation clearly outlines the skill's purpose, methodology, and expected output. Crucially, the documentation explicitly states 'Zero external dependencies. Zero API calls. Pure structural and semantic analysis.' There are no instructions within the markdown that attempt prompt injection against the agent, nor any indications of malicious intent such as data exfiltration, unauthorized execution, or persistence mechanisms. The described file access (parsing source files) is legitimate and necessary for its stated code analysis function.
能力评估
Purpose & Capability
Name and description align with an agent that scans a codebase for semantically similar code and pattern divergences. The declared manifest (no binaries, no env vars, no install) is proportionate for a read-only analysis skill.
Instruction Scope
Visible SKILL.md describes local code analysis (expected). However the file is truncated and the runtime instructions (the critical security surface for instruction-only skills) are not fully shown. Verify the full SKILL.md to ensure it only reads repository files you intend to expose, does not request unrelated system paths, secrets, or explicit upload to external endpoints, and does not instruct execution of untrusted code.
Install Mechanism
No install spec and no code files — lowest-risk distribution model. Nothing would be written to disk by an installer per the registry metadata.
Credentials
The skill declares no required environment variables or credentials, which is proportionate for a static code analysis tool. Still check the hidden portion of SKILL.md to ensure it doesn't read config files (e.g., .env, .aws/credentials) or request tokens at runtime.
Persistence & Privilege
always:false and no install hooks shown. The skill does not request persistent presence or elevated platform privileges in the provided metadata.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install pattern-mine - 安装完成后,直接呼叫该 Skill 的名称或使用
/pattern-mine触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
常见问题
Pattern Mine 是什么?
Discovers recurring patterns buried in your codebase — similar logic written three different ways, duplicated validation in five controllers, the same error... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 287 次。
如何安装 Pattern Mine?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install pattern-mine」即可一键安装,无需额外配置。
Pattern Mine 是免费的吗?
是的,Pattern Mine 完全免费(开源免费),可自由下载、安装和使用。
Pattern Mine 支持哪些平台?
Pattern Mine 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(darwin, linux, win32)。
谁开发了 Pattern Mine?
由 John DeVere Cooley(@jcools1977)开发并维护,当前版本 v1.0.0。
推荐 Skills