analyze-agent-overlap

Analyzes existing agents, skills, prompts, and instructions to identify overlaps, redundancies, and conflicts. Works with GitHub Copilot, Claude Code, Codex, OpenCode, and other providers. Use before creating new customization files to avoid duplication, when consolidating agents, or when troubleshooting conflicting behaviors.

16 stars

Best use case

analyze-agent-overlap is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Analyzes existing agents, skills, prompts, and instructions to identify overlaps, redundancies, and conflicts. Works with GitHub Copilot, Claude Code, Codex, OpenCode, and other providers. Use before creating new customization files to avoid duplication, when consolidating agents, or when troubleshooting conflicting behaviors.

Teams using analyze-agent-overlap should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/analyze-agent-overlap/SKILL.md --create-dirs "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/data-ai/analyze-agent-overlap/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/analyze-agent-overlap/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How analyze-agent-overlap Compares

Feature / Agentanalyze-agent-overlapStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Analyzes existing agents, skills, prompts, and instructions to identify overlaps, redundancies, and conflicts. Works with GitHub Copilot, Claude Code, Codex, OpenCode, and other providers. Use before creating new customization files to avoid duplication, when consolidating agents, or when troubleshooting conflicting behaviors.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# Analyze Agent Overlap

Detects redundancy, overlap, and potential conflicts between AI coding assistant customization files.

## Provider Folder Reference

This skill works across multiple AI coding assistant providers:

| Provider | Base Folder |
|----------|-------------|
| GitHub Copilot | `.github/` |
| Claude Code | `.claude/` |
| Codex | `.codex/` |
| OpenCode | `.config/opencode/` |

**Throughout this document, `<provider>/` represents your chosen provider's base folder.**

## When to Use

- Before creating a new agent, skill, prompt, or instruction
- When you suspect two agents are doing similar things
- To audit and consolidate your customization files
- When agent behaviors seem to conflict

## Analysis Process

### Step 1: Inventory Existing Items

Scan these locations (replace `<provider>/` with actual folder):
- `<provider>/agents/*.md` - All agent definitions (including `.subagent.agent.md`)
- `<provider>/skills/*/SKILL.md` - All skill definitions
- `<provider>/prompts/*.prompt.md` - All prompt templates
- `<provider>/instructions/*.instructions.md` - All instruction files

For each item, extract:
- **Name**: The identifier
- **Purpose**: What problem it solves (from description)
- **Domain**: What areas/topics it covers
- **Triggers**: Keywords or scenarios that activate it
- **User-Invokable**: Whether it's a user-facing agent or sub-agent

### Step 2: Compare Against Proposed Item

When analyzing a proposed new item, compare:

**Direct Overlap Indicators:**
- Same or very similar name
- Same primary purpose statement
- Identical target domain
- Overlapping trigger keywords (>50% match)

**Partial Overlap Indicators:**
- Related but distinct purposes
- Some shared expertise areas
- Similar but different trigger scenarios
- Complementary functionality

**No Overlap Indicators:**
- Different domains entirely
- Non-overlapping use cases
- Distinct trigger keywords

### Step 3: Detect Conflicts

Look for these conflict types:

**Behavioral Conflicts:**
- Two agents giving contradictory guidance for same scenario
- Instructions that override each other for same file patterns
- Skills that produce incompatible outputs

**Scope Conflicts:**
- Multiple agents claiming the same use cases
- Overlapping `applyTo` patterns in instructions
- Ambiguous routing between similar agents

**Naming Conflicts:**
- Names too similar causing confusion
- Same name in different contexts

## Overlap Severity Levels

### 🔴 Critical (Do Not Proceed)
- Exact duplicate of existing item
- Direct contradiction with existing guidance
- Name collision
- >80% purpose overlap

### 🟡 Warning (Needs Discussion)
- Significant overlap (50-80% shared purpose)
- Potential user confusion about which to use
- Overlapping triggers with different behaviors
- Partial scope conflict

### 🟢 Low Risk (Proceed with Awareness)
- Minor overlap (<50% shared concerns)
- Complementary purposes
- Clear differentiation possible
- Different trigger contexts

## Resolution Strategies

When overlap is detected, consider:

### Merge
Combine into single, more comprehensive item.
- Best when: Items serve nearly identical purpose
- Action: Create unified item, deprecate duplicates

### Extend
Add new functionality to existing item.
- Best when: New need is subset of existing item's scope
- Action: Modify existing item, don't create new

### Differentiate
Clarify boundaries between items.
- Best when: Items serve related but distinct needs
- Action: Update descriptions to make distinctions clear

### Reference
Have one item delegate to another.
- Best when: Items have hierarchical relationship
- Action: Add handoff or reference in description

### Supersede
Replace older item with improved version.
- Best when: New item is strictly better
- Action: Create new, mark old as deprecated

## Output Format

```markdown
## Overlap Analysis: [Proposed Item Name]

### Summary
**Proposed Type:** [Agent|Skill|Prompt|Instruction]
**Proposed Purpose:** [Brief description]
**Overlap Level:** None | Low | Medium | High | Critical
**Recommendation:** Proceed | Modify | Merge | Reconsider

### Comparison Matrix

| Existing Item | Type | Overlap | Shared Concerns |
|---------------|------|---------|-----------------|
| [name] | [type] | [level] | [what overlaps] |

### Detailed Findings

#### High/Critical Overlap Items
[For each significant overlap:]

**[Existing Item Name]**
- Type: [type]
- Purpose: [their purpose]
- Overlap Areas: [specific shared concerns]
- Key Distinction: [how proposed differs]
- Resolution: [recommended action]

#### Potential Conflicts
[List any behavioral or scope conflicts]

#### Complementary Items
[Items that could work well alongside proposed]

### Recommendations

1. [Primary recommendation with rationale]
2. [Secondary options if applicable]

### Questions to Resolve
- [Clarifying questions that would help decision]
```

## Example Analysis

**Proposed:** `database-helper` agent for SQL query assistance

**Findings:**
- `dx12-terrain-engine-dev` - No overlap (different domain)
- `agent-builder` - No overlap (different domain)

**Result:** ✅ Proceed - no conflicts detected

---

**Proposed:** `code-reviewer` agent for code review

**Findings:**
- Existing `dx12-terrain-engine-dev` mentions code quality
- Partial overlap in "review code" scenarios

**Result:** ⚠️ Warning - clarify scope boundaries
- Recommendation: `code-reviewer` for general review, `dx12-terrain-engine-dev` for DX12-specific review only

Related Skills

excel-field-analyzer

16
from diegosouzapw/awesome-omni-skill

分析Excel/CSV字段结构,AI自动生成中英文映射,验证翻译质量,输出统计报告。用于电子表格分析、数据字典创建、字段映射场景。

analyze-us-bank-credit-deposit-decoupling

16
from diegosouzapw/awesome-omni-skill

分析銀行貸款與存款之間的「信貸創造脫鉤」現象,追蹤存款的絕對收縮與回升軌跡,用以辨識聯準會緊縮政策在銀行體系內部的真實傳導效果。

analyze-silver-miner-metal-ratio

16
from diegosouzapw/awesome-omni-skill

以「銀礦股價格 ÷ 白銀價格」的相對比率衡量礦業股板塊相對於金屬本體的估值區間(偏貴/偏便宜),並用歷史分位數與類比區間推導「底部/頂部」訊號與情境推演。

analyze-jgb-insurer-superlong-flow

16
from diegosouzapw/awesome-omni-skill

從日本保險公司對超長期(10年以上)JGB 的淨買賣時間序列,自動產出「本月是否創紀錄淨賣出、連續淨賣出月數、期間累積淨賣出」等結論。

analyze-japan-debt-service-tax-burden

16
from diegosouzapw/awesome-omni-skill

以日本公債殖利率變化為觸發,量化「政府利息支出 / 稅收」負擔(含情境壓力測試),並判斷是否進入債務利息螺旋風險區。

analyze-investment-clock-rotation

16
from diegosouzapw/awesome-omni-skill

把「獲利成長 × 財務狀況(金融環境)」映射成「投資時鐘」,判斷目前落在哪個象限、近期是順時針還是逆時針旋轉、以及相對於上一輪循環的位置差異。

analyze-copper-supply-concentration-risk

16
from diegosouzapw/awesome-omni-skill

用公開資料量化「銅供應是否過度集中、主要產地是否結構性衰退、替代增量是否依賴少數國家」,並輸出可行的中期供應風險結論與情境推演。

analyze-copper-stock-resilience-dependency

16
from diegosouzapw/awesome-omni-skill

用跨資產訊號(全球股市韌性 + 中國利率環境)評估銅價能否突破關卡或進入「回補/回踩」到支撐的機率與路徑。

ab-testing-analyzer

16
from diegosouzapw/awesome-omni-skill

全面的AB测试分析工具,支持实验设计、统计检验、用户分群分析和可视化报告生成。用于分析产品改版、营销活动、功能优化等AB测试结果,提供统计显著性检验和深度洞察。

32-analyze-verify-150

16
from diegosouzapw/awesome-omni-skill

[32] ANALYZE. Ensure every critical claim has verifiable evidence with confidence levels. Each fact must have source + confidence percentage. If confidence <85%, enter Loop150 to find more sources. Use for critical decisions, factual claims, legal/compliance work, or any situation where unverified claims are dangerous.

video-analyzer

16
from diegosouzapw/awesome-omni-skill

鏅鸿兘鍒嗘瀽 Bilibili/YouTube/鏈湴瑙嗛锛岀敓鎴愯浆鍐欍€佽瘎浼板拰鎬荤粨銆傛敮鎸佸叧閿抚鎴浘鑷姩宓屽叆銆?

edu-video-analyzer

16
from diegosouzapw/awesome-omni-skill

Analyze educational YouTube channels for classroom adoption potential, curriculum alignment, and pedagogical effectiveness. Use when comparing educational video content (like MRU vs Crash Course), evaluating teaching methodologies, identifying content gaps for course design, or developing educational video strategy focused on student learning outcomes rather than monetization.