一键导入
skills-extractor
Extracts duplicate content from Skills into shared modules. Use when user asks to refactor skills, extract common content, or merge duplicates.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Extracts duplicate content from Skills into shared modules. Use when user asks to refactor skills, extract common content, or merge duplicates.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Analyzes Claude Code Skills for lint issues and duplicate content. Use when user asks to analyze skills, lint skills, check quality, or find duplicates.
Validates Skills after refactoring to ensure they work correctly. Use when user asks to validate skills, verify refactoring, or check skills still work.
Processes various document formats and extracts content. Use when user asks to process documents, extract text, or convert file formats.
Analyzes documents for insights and patterns. Use when user asks to analyze documents, find patterns, or generate reports.
I can help you with various tasks. You can use this tool for anything.
A generic helper for various tasks. Assists with common operations.
| name | skills-extractor |
| description | Extracts duplicate content from Skills into shared modules. Use when user asks to refactor skills, extract common content, or merge duplicates. |
This is Step 2 of the refactoring workflow:
Prerequisite: Analysis report with identified duplicates.
From the analysis report, identify what content is duplicated and where.
| Duplicate Type | Strategy |
|---|---|
| Exact (100%) | Extract to shared file |
| Near (≥80%) | Parameterize or extract |
| Structural | Create template |
Show preview before making changes:
Example:
references/example.md
After user confirms:
# Extraction Complete
## Changes Made
- Created: shared/[name].md ([n] lines)
- Modified: [skill]/SKILL.md (-[n] lines)
## Summary
- Duplicates eliminated: [n] → 1
- Lines saved: [total]
Run skills-validator to verify refactoring