ClaudeSuperPower

pattern-mining

Skill

Test repeated implementation shapes against independent exemplars and a holdout before routing an earned abstraction. Triggers: "mine a recurring code pattern", "is this abstraction earned", "extract invariants from implementations".

Install

git clone https://github.com/boshu2/agentops.git ~/.claude/skills/pattern-mining

What is pattern-mining?

Test repeated implementation shapes against independent exemplars and a holdout before routing an earned abstraction. Triggers: "mine a recurring code pattern", "is this abstraction earned", "extract invariants from implementations".

What this can do

Capabilities declared in this component's own frontmatter — not inferred.

Inherit all session tools

Declares no tool restrictions — inherits every session tool

~58 tokens of context used while enabled, before you invoke anything

Documentation

README · ~4 min read

Pattern Mining

Decide whether repeated code demonstrates a reusable rule or only a plausible hypothesis. Similar names and syntax are not enough; the abstraction must survive examples it was not designed around.

Constraints

  • To prevent lineage copies from faking recurrence, use independently implemented exemplars with repository anchors.
  • Because the candidate must generalize, form it without seeing the holdout and back-apply every holdout-driven refinement.
  • To keep weak evidence from becoming architecture, route hypotheses to

Reviews

Log in to leave a review.

No reviews yet — be the first.

Explore related

Other things in this space — across every part of the ecosystem, not just skills.