Agent skill

keyword-extractor

Extract keywords and key phrases from text using TF-IDF, RAKE, and frequency analysis. Generate word clouds and export to various formats.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill keyword-extractor --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 5 KB
Bundled scripts: none
Path: skills/analysis/keyword-extractor/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Keyword Extractor Extract important keywords and key phrases from text documents using multiple algorithms. Supports TF-IDF, RAKE, and simple frequency analysis with word cloud visualization. ## Quick Start ```python from scripts.keyword_extractor import KeywordExtractor # Extract keywords extractor = KeywordExtractor() keywords = extractor.extract("Your long text document here...") print(keywords[:10]) # Top 10 keywords # From file keywords = extractor.extract_from_file("document.txt") extractor.to_wordcloud("keywords.png") ``` ## Features - **Multiple Algorithms**: TF-IDF, RAKE, frequency-based - **Key Phrases**: Extract multi-word phrases, not just single words - **Scoring**: Relevance scores for ranking - **Stopword Filtering**: Built-in + custom stopwords - **N-gram Support**: Unigrams, bigrams, trigrams - **Word Cloud**: Visualize keyword importance - **Batch Processing**: Process multiple documents ## API Reference ### Initialization ```python extractor = KeywordExtractor( method="tfidf", # tfidf, rake, frequency max_keywords=20, # Maximum keywords to return min_word_length=3, # Minimum word length ngram_range=(1, 3) # Unigrams to trigrams ) ``` ### Extraction Methods ```p

What's inside
Steps it walks through
  1. Quick Start
  2. Features
  3. API Reference
  4. Initialization
  5. Extraction Methods
  6. Results Format
  7. Customization
  8. Visualization
  9. Export
  10. CLI Usage
  11. CLI Arguments
  12. Examples
  13. Article Keyword Extraction
  14. Compare Multiple Documents
Ships with 1 file
  • metadata.json
Commands it runs
Extract from text
python keyword_extractor.py --text "Your text here" --top 10
Extract from file
python keyword_extractor.py --input document.txt --method tfidf --output keywords.json
Generate word cloud
python keyword_extractor.py --input document.txt --wordcloud cloud.png
Batch process directory
python keyword_extractor.py --input-dir ./docs --output keywords_all.csv
More from claude-skill-registry
All skills →
About this skill
What does the keyword-extractor skill do?

Extract keywords and key phrases from text using TF-IDF, RAKE, and frequency analysis. Generate word clouds and export to various formats.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill keyword-extractor --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going