用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/majiayu000/claude-skill-registry --skill text-analyzer命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | text-analyzer |
| description | Advanced text analysis and summarization skill for Claude |
| version | 1.0.0 |
| author | claude-team |
| tags | ["text","analysis","nlp"] |
A comprehensive skill for analyzing, processing, and summarizing text documents with support for multiple formats and output types.
Text Analyzer provides intelligent text processing capabilities including:
curl -s https://claude.ai/skills/text-analyzer | bash
Or manually:
text-analyzer.md to ~/.claude/skills//text-analyzer command/text-analyzer summarize --file document.txt --length short
/text-analyzer sentiment --text "This is amazing!"
/text-analyzer keywords --file article.md --count 10
Create ~/.config/text-analyzer.yaml:
summarization:
default_length: medium
preserve_structure: true
sentiment:
model: bert-base
confidence_threshold: 0.7
keywords:
algorithm: tfidf
min_frequency: 2
Generates summaries of text documents with configurable length.
Usage:
/text-analyzer summarize [OPTIONS]
Options:
--file PATH - Input file path (required)--length {short|medium|long} - Summary length (default: medium)--format {text|json|markdown} - Output format (default: text)--preserve-structure - Keep original document structure--ignore-stopwords - Remove common words from summaryExample:
/text-analyzer summarize --file research.pdf --length long --format json
Analyzes text sentiment and emotional tone.
Usage:
/text-analyzer sentiment [OPTIONS]
Options:
--text STRING - Input text (required if no --file)--file PATH - Input file path (required if no --text)--detailed - Show detailed emotion breakdown--comparative - Compare sentiment across sectionsExample:
/text-analyzer sentiment --file feedback.txt --detailed
Extracts key terms and topics from text.
Usage:
/text-analyzer keywords [OPTIONS]
Options:
--file PATH - Input file path (required)--count N - Number of keywords to extract (default: 5)--min-frequency N - Minimum occurrence frequency (default: 1)--include-phrases - Include multi-word phrases--exclude-pos TAGS - Exclude parts of speechExample:
/text-analyzer keywords --file document.md --count 15 --include-phrases
Process large documentation automatically:
Track sentiment across customer feedback:
/text-analyzer sentiment --file feedback.csv --detailed
/text-analyzer sentiment --file support_tickets.json --comparative
Build AI-powered content analysis workflows:
# Extract summary and keywords
/text-analyzer summarize --file article.md > summary.txt
/text-analyzer keywords --file article.md --count 20 > keywords.txt
# Analyze sentiment
/text-analyzer sentiment --file comments.txt --detailed > sentiment.json
Plain text output with clear sections.
Summary:
[summarized content]
Statistics:
- Original Length: 5,234 words
- Summary Length: 1,045 words
- Compression Ratio: 80%
Structured output for integration:
{
"summary": "...",
"statistics": {
"original_words": 5234,
"summary_words": 1045
},
"metadata": {
"processed_at": "2026-02-03T10:30:00Z",
"version": "1.0.0"
}
}
Enhanced markdown with formatting:
# Summary
## Key Points
- Point 1
- Point 2
- Point 3
## Metadata
**Original:** 5,234 words | **Summary:** 1,045 words
Process multiple files at once:
/text-analyzer batch --input-dir ./documents --output-dir ./summaries --length short
Use custom language models:
/text-analyzer summarize --file doc.txt --model gpt-4 --temperature 0.3
Handle large files with streaming:
/text-analyzer stream --input-pipe < large_file.txt --chunk-size 10000
--stream option to avoid memory issues--detailed flag with sentiment analysis--parallel to process multiple filesEnsure skill is installed:
ls ~/.claude/skills/ | grep text-analyzer
Use streaming mode:
/text-analyzer summarize --file huge.txt --stream
Clear cache and retry:
/text-analyzer clear-cache
/text-analyzer summarize --file document.txt
from text_analyzer import TextAnalyzer
analyzer = TextAnalyzer()
summary = analyzer.summarize("path/to/file.txt", length="medium")
keywords = analyzer.extract_keywords("path/to/file.txt", count=10)
sentiment = analyzer.analyze_sentiment("This is great!")
curl -X POST http://localhost:8080/api/summarize \
-H "Content-Type: application/json" \
-d '{"text": "...", "length": "short"}'
Contributions welcome! Please:
MIT License - See LICENSE file for details
Last Updated: 2026-02-03 Maintained by: Claude Team