Skip to content
OpenAgentSkill
Browsing is open · Catalog captured 2026-11-21 · Automatic updates and account services are paused.
Search & research

external-pattern-integrator

Integrates patterns from external sources (URLs or local files) into local skills, agents, and plugins. Use when comparing external agent definitions against local equivalents, extracting best practices from frameworks like GSD or BMAD-METHOD, enhancing local skills with external workflow patterns, or adding interoperability with external tool ecosystems. Runs a 3-phase workflow — parallel candidate mapping, contextual enhancement, and validation — with source attribution and backlog tracking for deferred enhancements.

Jamie-BitFlight · AI review on file

Installation

Read the source and dependencies before running a command. Copying does not install or execute anything.

npx skills add Jamie-BitFlight/claude_skills --skill external-pattern-integrator

About this skill


name: external-pattern-integrator description: Integrates patterns from external sources (URLs or local files) into local skills, agents, and plugins. Use when comparing external agent definitions against local equivalents, extracting best practices from frameworks like GSD or BMAD-METHOD, enhancing local skills with external workflow patterns, or adding interoperability with external tool ecosystems. Runs a 3-phase workflow — parallel candidate mapping, contextual enhancement, and validation — with source attribution and backlog tracking for deferred enhancements. argument-hint: [url-or-file...] user-invocable: true

<source_refs>$ARGUMENTS</source_refs>

External Pattern Integrator

Systematically analyze external agent/skill definitions and integrate their strengths into local skills while maintaining workflow coherence.

Arguments

<source_refs/>

Workflow Overview

Phase 1: Parallel Candidate Mapping
├── For each external source (concurrent):
│   ├── Fetch/read the external file
│   ├── Analyze its purpose and patterns
│   └── Scan local files for candidates (frontmatter only)
└── Output: Tracking document with source → candidates mapping

Phase 2: Contextual Enhancement (concurrent per source)
├── Understand local file's workflow context FIRST
├── Compare against external patterns
├── Identify enhancements that fit the workflow stage
├── Add external artifact recognition for interoperability
└── Edit files with coordinated changes

Phase 3: Validation
└── Run linting on all modified files

Phase 1: Parallel Candidate Mapping

Step 1.1: Create Tracking Document

Create a tracking file at .claude/external-pattern-integration-{date}.md:

# External Pattern Integration

**Date**: {YYYY-MM-DD}
**Sources**: {list of URLs/files from arguments}
**Status**: IN_PROGRESS

## Source Analysis

### Source 1: {URL or path}

**Purpose**: {What this external agent/skill does}
**Key Patterns**:
- {Pattern 1}
- {Pattern 2}

**Local Candidates** (by frontmatter similarity):
| Local File | Similarity Reason | Priority |
|------------|-------------------|----------|
| {path} | {why it matches} | {High/Medium/Low} |

### Source 2: {URL or path}
...

Step 1.2: Fetch External Sources

For each URL/file in <source_refs/>:

If URL: Use WebFetch or curl to download to /tmp/external-pattern-{slug}.md If local file: Read directly

Step 1.3: Analyze External Source

For each external source, extract:

  1. Purpose: What problem does it solve?
  2. Key Patterns: What techniques does it use?
  3. Artifact Files: What files does it create/read? (for interoperability)
  4. Workflow Stage: Where in a development workflow does it fit?

Step 1.4: Scan Local Candidates

Scan these locations for candidates (frontmatter only, not full files):

plugins/*/skills/*/SKILL.md
plugins/*/agents/*.md
.claude/skills/*/SKILL.md
.claude/agents/*.md

Match by:

  • Similar purpose (from description field)
  • Similar workflow stage
  • Overlapping functionality

Priority Assignment:

  • High: Direct functional overlap (same workflow stage, similar purpose)
  • Medium: Adjacent functionality (related workflow stage)
  • Low: Tangential (shared patterns but different purpose)

Step 1.5: Deduplicate Candidates

If a local file appears as candidate for multiple external sources:

  1. Assign to the BEST match (highest similarity)
  2. Note secondary matches for cross-reference during enhancement

Phase 2: Contextual Enhancement

Run concurrently for each external source. For each candidate local file:

Step 2.1: Understand Workflow Context

BEFORE comparing, determine:

  1. Is this file part of a multi-file workflow?

    • Check for references to other skills/agents in the file
    • Check if other files reference this one
    • Look for phase indicators (discovery → planning → implementation → verification)
  2. What stage of the workflow is this file for?

    • Discovery/Research (gathering context)
    • Planning (creating specs, acceptance criteria)
    • Implementation (writing code)
    • Verification (testing, validation)
    • Orchestration (coordinating other agents)
  3. What are the upstream/downstream dependencies?

    • What artifacts does this file expect as input?
    • What artifacts does this file produce?

Step 2.2: Compare and Identify Enhancements

Read the full external source and full local file. Identify:

Enhancement TypeDescriptionFits Current Stage?
Missing patternExternal has X, local lacks itYes/No
Stronger guidanceExternal has better instructions for YYes/No
Better structureExternal organizes Z more clearlyYes/No
Artifact recognitionExternal creates files local should recognizeYes/No

Critical Rule: Only recommend enhancements that fit the file's workflow stage. If an enhancement belongs in a different stage, note which file should receive it instead.

Step 2.3: Add External Artifact Recognition

For interoperability, add a section to context-gathering skills:

## External Framework Artifacts

<external_artifacts>

When gathering context, also check for these artifacts from external frameworks:

**Get Shit Done (GSD)**:
- `STATE.md` - Current project state and progress
- `ROADMAP.md` - Feature roadmap and planning
- `codebase-map.md` - Generated codebase structure
- `research-*.md` - Research documents
- `plan-*.md` - Execution plans

**BMAD-METHOD**:
- `*.agent.yaml` - Agent definitions
- `workflows/*.md` - Workflow definitions
- `party-mode-session.md` - Multi-agent collaboration notes

If found, incorporate their context into discovery.

</external_artifacts>

Step 2.4: Coordinat

Read the complete source ↗