pattern-mining
SkillTest 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-miningWhat 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 readPattern 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.
Skillssimilar to this one
All skills →awesome-claude-skills
A curated list of awesome Claude Skills, resources, and tools for customizing Claude AI workflows
71.2K stars
claude-automation-recommender
Analyze a codebase and recommend Claude Code automations (hooks, subagents, skills, plugins, MCP servers). Use when user asks for automation recommendations, wants to optimize their Claude Code setup, mentions improving Claude Code workflows, asks how to first set up Claude Code for a project, or wa
32.8K stars
agents-best-practices
Provider-neutral Agent Skill for Codex, Claude Code, and agentic harness design.
2.2K stars