Skip to content
Back to skills

Pattern Capture

ASecurity

> Extract and store reusable patterns from completed tasks.

  • 229 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 6, 2026
code-qualitybashdebuggingfrontendbackenddevops

Security analysis

A100/100

Scanned June 6, 2026

npx -y skills add Miosa-osa/canopy --skill pattern-capture --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pattern Capture?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pattern Capture
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/miosa-osa-pattern-capture/badge)](https://www.skillsdirectory.com/skills/miosa-osa-pattern-capture)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# /pattern-capture

> Extract and store reusable patterns from completed tasks.

## Usage
```
/pattern-capture [--domain <domain>] [--from-session] [--list]
```

## What It Does
Analyzes completed work to extract reusable patterns: code patterns, debugging approaches, architectural decisions, process improvements. Stores them in the pattern library indexed by domain and task type, with usage count and success rate tracking.

## Implementation
1. **Analyze** -- review the current session's tool executions and outcomes.
2. **Extract** -- identify repeatable patterns (code structures, debugging steps, decision frameworks).
3. **Classify** -- domain (frontend, backend, devops, etc.), type (code_pattern, process, decision), confidence.
4. **Deduplicate** -- check against existing patterns, increment usage count if duplicate.
5. **Store** -- write to pattern library with metadata (domain, confidence, usage_count, success_rate).

Pattern format:
```json
{
  "id": "pattern-id",
  "domain": "backend",
  "type": "code_pattern",
  "title": "Pattern name",
  "description": "When and how to use",
  "confidence": 0.85,
  "usage_count": 5
}
```

## Examples
```bash
# Capture patterns from current session
/pattern-capture --from-session

# Capture patterns for a specific domain
/pattern-capture --domain backend

# List all stored patterns
/pattern-capture --list
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.