A structural analysis tool that identifies duplicated, inconsistent, and dead code patterns to guide intelligent refactoring.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install pattern-mine
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install pattern-mine using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Pattern Mine is a sophisticated codebase analysis engine that goes beyond basic linting to discover the underlying architectural logic of your project. It identifies four distinct types of patterns: convergent logic that should be unified, divergent implementations that cause bugs, emerging abstractions that are ready for extraction, and fossilized code that serves no modern purpose. By treating patterns as repeated decisions, it helps developers transition from a codebase that simply grew to one that is intentionally cultivated.
As part of the broader ecosystem of Openclaw Skills, this tool operates entirely locally with zero external dependencies. It analyzes your code's structure and semantics without making any API calls, ensuring your proprietary logic stays private while providing actionable insights into your project's health and evolution.
Pattern Mine is a zero-dependency tool compatible with macOS, Linux, and Windows. To add it to your Openclaw Skills workflow, use the following commands:
# Install the pattern-mine skill
openclaw install pattern-mine
# Run the mining operation on your source directory
openclaw run pattern-mine ./src
Pattern Mine classifies findings using a specific taxonomy and organizes metadata to assist in refactoring decisions:
| Data Point | Description |
|---|---|
| Pattern Type | Categorization into Convergent, Divergent, Emerging, or Fossilized clusters. |
| Instance Count | The number of unique locations where the pattern was detected. |
| Extraction ROI | A calculated metric based on lines saved multiplied by the frequency of change. |
| Canonical Form | The most common or robust version of a detected pattern suggested as the standard. |
| Location Mapping | Precise file paths and line ranges for every detected occurrence. |
Loading
Parallax is a multi-perspective reasoning framework that evaluates technical decisions through five distinct stakeholder lenses to eliminate blind spots.

A sophisticated diagnostic tool that identifies and maps complexity imbalances across software boundaries to prevent architectural collapse.

ResonanceEngine is a zero-cost algorithmic tool that analyzes conversational micro-signals to optimize AI bot responses for maximum engagement and conversion.

A local, zero-cost persistent memory system that enables AI agents to remember user preferences and project context without external APIs.

A situational awareness skill that monitors upstream dependencies and downstream consumers for changes that could break your current work.

Phantom Limb is a cognitive diagnostic tool that detects ghost references and silent dependencies that no longer exist in your live environment.








































