# Analyze Skill Library Gaps

Skill libraries become hard to govern as coverage, overlap, and usage drift. This skill guides Claude, Codex, and Claude Code through structured portfolio analysis.

## Install

```bash
npx skillstore add dnyoussef/when-analyzing-skill-gaps-use-skill-gap-analyzer
```

## Metadata

- Status: approved
- Slug: dnyoussef-when-analyzing-skill-gaps-use-skill-gap-analyzer
- Version: 1.0.0
- Author version: 1.0.0
- Skillstore revision: r1
- Version status: valid
- Tree hash: a621d100ba357ab719c1cf8c6e5bff4d62ef17c69799b08d842e24ccf1f5fc9f
- Author: DNYoussef
- GitHub username: DNYoussef
- License: MIT
- Repository: https://github.com/DNYoussef/ai-chrome-extension/tree/main/.claude/skills/meta-tools/when-analyzing-skill-gaps-use-skill-gap-analyzer
- Ref: c579efd02184f1128d6741d16e6c8d951d7d4208
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: allowed
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands, filesystem
- Quality score: 50
- Quality tier: warning
- Public page: https://skillstore.pages.dev/skills/dnyoussef-when-analyzing-skill-gaps-use-skill-gap-analyzer
- Manifest: https://skillstore.pages.dev/api/skills/dnyoussef-when-analyzing-skill-gaps-use-skill-gap-analyzer/manifest

## Capabilities

- Builds an inventory of skills by category, capability, tag, agent, and complexity.
- Compares skill capabilities against domain requirements to identify missing coverage.
- Detects redundant skills using capability overlap and consolidation thresholds.
- Highlights under-used and over-complex skills from usage and success metrics.
- Generates prioritized recommendations for new skills, refactors, consolidation, and archival.
- Defines report formats for coverage, redundancy, optimization, and scenario readiness.

## Use Cases

- Plan a New Skill Library: Map required domains, identify missing capabilities, and prioritize the first skills to create.
- Run a Quarterly Portfolio Review: Measure coverage, redundancy, utilization, and complexity before planning maintenance work.
- Prepare a Refactoring Roadmap: Find overlapping or over-complex skills and turn them into measurable consolidation tasks.

## Prompt Templates

### Basic Gap Review

```
Analyze my skill library for missing coverage, duplicate capabilities, and the top three improvement priorities.
```

### Domain Coverage Audit

```
Review this skill library against development, DevOps, data, AI, and integration domains. Rank gaps by priority and explain the impact.
```

### Redundancy and Refactor Plan

```
Identify skills with overlapping capabilities, estimate consolidation value, and propose a phased refactor plan with risks and expected savings.
```

### Portfolio Optimization Report

```
Use skill metadata, usage metrics, success rates, and core scenarios to create a portfolio optimization report with immediate, monthly, and quarterly actions.
```

## Limitations

- Requires access to skill metadata or a skill directory supplied by the user.
- Quality depends on accurate descriptions, tags, usage metrics, and success metrics.
- Does not implement changes to skills without separate user action.
- Example workflow uses external claude-flow commands that should be reviewed before execution.

## Best Practices

- Provide current skill metadata, usage metrics, and success metrics before requesting recommendations.
- Review command examples before allowing any external tool execution.
- Validate recommendations with maintainers before creating, merging, or archiving skills.

## Anti Patterns

- Do not treat generated priorities as final decisions without human review.
- Do not scan private skill directories unless the user has approved the scope.
- Do not optimize only for token savings when coverage or reliability would decrease.

## Security Audit

- Audited at: 2026-07-05T13:43:33.663\+00:00
- Summary: Most static findings are false positives from Markdown fences, inline backticks, JSON examples, or JavaScript template literals. The real risks are workflow instructions that run npx claude-flow@alpha hooks or memory commands, which can execute external package code and write or disclose task metadata. No prompt injection attempt or deliberate data-exfiltration intent was found in the reviewed files.

## Stats

- Views: 165
- Downloads: 13
- Favorites: 1
- Popularity score: 0
