keyword-extractor

Extracts up to 50 highly relevant SEO keywords from text. Use when user wants to generate or extract keywords for given text.

31,392 stars
Complexity: medium

About this skill

The `keyword-extractor` skill is a specialized AI agent capability designed to identify and extract up to 50 highly relevant SEO keywords from any given text. It processes input content to pinpoint critical terms and phrases essential for search engine optimization, content categorization, and topic analysis. The skill is engineered to output these keywords in a strict, machine-ready format, specifically as a single comma-separated list. As part of the `antigravity-awesome-skills` collection, this tool significantly enhances an AI agent's natural language processing capabilities, providing a robust solution for detailed text analysis and strategic content optimization. It incorporates predefined rules for keyword quality, including priority guidelines and a list of forbidden keywords, alongside comprehensive failure handling for short or ambiguous texts.

Best use case

Optimizing content for search engines, generating relevant tags for articles or blog posts, identifying the core topics within a document, assisting with market research by highlighting prevalent industry terms, or improving overall content visibility and discoverability.

Extracts up to 50 highly relevant SEO keywords from text. Use when user wants to generate or extract keywords for given text.

A strictly formatted, single comma-separated list containing up to 50 highly relevant SEO keywords directly extracted from the provided text, suitable for immediate use in content optimization or data processing.

Practical example

Example input

I'm writing an article about the increasing popularity of remote work and its impact on company culture. I want to cover benefits like flexibility and cost savings, as well as challenges such as maintaining team cohesion and work-life balance. Could you help me generate some SEO keywords for this topic?

Example output

remote work, distributed teams, company culture, work from home, remote work benefits, workplace flexibility, cost savings, team cohesion, work-life balance, telecommuting, future of work, digital nomad

When to use this skill

  • When the user explicitly requests to 'generate keywords,' 'extract keywords,' 'find relevant terms,' or 'optimize for search engines' for a piece of text.
  • When preparing marketing copy, blog posts, website content, or product descriptions for improved SEO performance.
  • When analyzing the main themes and subject matter within a document or article.
  • When creating metadata, tags, or categories for digital content.

When not to use this skill

  • When the user is looking for a general summarization or abstract of the text rather than specific keywords.
  • When the user needs to generate entirely new content, as this skill focuses solely on extraction.
  • If the input text is extremely brief, lacks substantive content, or is irrelevant to keyword extraction (e.g., a simple greeting or a short, ambiguous sentence).
  • When the user specifically requires more than 50 keywords, as the skill has a hard limit.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/keyword-extractor/SKILL.md --create-dirs "https://raw.githubusercontent.com/sickn33/antigravity-awesome-skills/main/plugins/antigravity-awesome-skills-claude/skills/keyword-extractor/SKILL.md"

Manual Installation

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

How keyword-extractor Compares

Feature / Agentkeyword-extractorStandard Approach
Platform SupportClaudeLimited / Varies
Context Awareness High Baseline
Installation ComplexitymediumN/A

Frequently Asked Questions

What does this skill do?

Extracts up to 50 highly relevant SEO keywords from text. Use when user wants to generate or extract keywords for given text.

Which AI agents support this skill?

This skill is designed for Claude.

How difficult is it to install?

The installation complexity is rated as medium. You can find the installation instructions above.

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

# Keyword Extractor

Extracts **max 50 relevant keywords** from text and formats them in a strict machine-ready structure.

---

## QUICK START

Jump to any section:
1. [CORE MANDATE](#core-mandate) – Output rules and formatting 
2. [WHEN TO USE](#when-to-use) – Trigger conditions for this skill 
3. [KEYWORD QUALITY RULES](#keyword-quality-rules) – Priorities and forbidden keywords 
4. [WORKFLOW](#workflow) – Step-by-step generation and processing 
5. [FAILURE HANDLING](#failure-handling) – Short text or edge cases 

---

# CORE MANDATE

Return **exactly one comma-separated line** of keywords, following these rules:
- max 50 keywords  
- ordered by relevance  
- all lowercase  
- no duplicates or near-duplicates  
- mix of single words and 2–4 word phrases  
- no numbering, bullets, explanations, or trailing period

---

## When to Use
Use this skill when the user wants to generate or extract **SEO-friendly keywords or tags** from text including:
- Extracting keywords or tags for any given text or paragraph  
- Creating **comma-separated keywords or tags** suitable for SEO, search, or metadata  
- Generating topic-specific keywords or tags based on the content’s main subjects and concepts  

This skill should be triggered for **all text-based keyword extraction requests**, regardless of phrasing, as long as the goal is SEO, tagging, or metadata generation.

Do NOT trigger this skill for:  
- Summaries or paraphrasing requests  
- Text analysis without keyword generation

---

# KEYWORD QUALITY RULES

Prefer noun phrases over verbs or adjectives.
Prefer keywords useful for:
- SEO and search
- tagging
- metadata

Prioritize:
- domain terminology
- meaningful nouns
- search phrases
- entities
- technical concepts

Avoid weak keywords like:
- things and various topics
- general concepts
- important ideas
- methods

**IMPORTANT: Each keyword must strictly represent a phrase that a user would type into a search engine**

---

# WORKFLOW

## Step 1 — Analyze

Identify:
- main subject
- key topics
- domain terminology
- entities
- concepts

Ignore filler words.

---

## Step 2 — Generate Keywords

Generate up to 50 strictly SEO-friendly keywords directly from the text.

Include:
- core topics
- domain terminology
- related concepts
- common search queries

Allowed formats:
- single words
- 2 word phrases
- 3 word phrases
- 4 word phrases

Example:
```machine learning, neural networks, deep learning models, ai algorithms, data science tools```

Avoid vague keywords, filler phrases, adjectives without nouns like:
```important methods, different ideas, various techniques, things```

Keywords must not exceed 4 words.

---

## Step 3 — Rank

Order keywords by SEO importance using these signals:
1. main topic of the text
2. high-value domain terminology
3. technologies, tools, or entities mentioned
4. common search queries related to the topic
5. supporting contextual topics

Most important keywords should always appear first.

---

## Step 4 — Normalize

Ensure:
- lowercase, comma separated, no duplicates
- ≤50 keywords
- Remove near-duplicate keywords that represent the same concept.
- Keep only the most common search phrase.
- If two keywords represent the same concept, keep only the more common search phrase.

---

## Step 5 — Validate

Before returning output ensure:
- keyword_count <= 50
- no duplicates and near-duplicates
- all lowercase and comma separated
- no trailing period
- each keyword is a clear searchable topic
- keywords do not exceed 4 words

If any rule fails regenerate the list.

---

# FAILURE HANDLING

If text is very short, infer likely topics and still generate keywords. Never exceed 50 keywords.

---

Related Skills

hugging-face-papers

31392
from sickn33/antigravity-awesome-skills

Read and analyze Hugging Face paper pages or arXiv papers with markdown and papers API metadata.

Text AnalysisClaude

flutter-expert

31392
from sickn33/antigravity-awesome-skills

Master Flutter development with Dart 3, advanced widgets, and multi-platform deployment.

Text AnalysisClaude

docs-architect

31392
from sickn33/antigravity-awesome-skills

Creates comprehensive technical documentation from existing codebases. Analyzes architecture, design patterns, and implementation details to produce long-form technical manuals and ebooks.

Text AnalysisClaude

data-storytelling

31392
from sickn33/antigravity-awesome-skills

Transform raw data into compelling narratives that drive decisions and inspire action.

Text AnalysisClaude

data-engineering-data-pipeline

31392
from sickn33/antigravity-awesome-skills

You are a data pipeline architecture expert specializing in scalable, reliable, and cost-effective data pipelines for batch and streaming data processing.

Text AnalysisClaude

behavioral-modes

31392
from sickn33/antigravity-awesome-skills

AI operational modes (brainstorm, implement, debug, review, teach, ship, orchestrate). Use to adapt behavior based on task type.

Text AnalysisClaude

azure-search-documents-py

31392
from sickn33/antigravity-awesome-skills

Azure AI Search SDK for Python. Use for vector search, hybrid search, semantic ranking, indexing, and skillsets.

Text AnalysisClaude

azure-ai-textanalytics-py

31392
from sickn33/antigravity-awesome-skills

Azure AI Text Analytics SDK for sentiment analysis, entity recognition, key phrases, language detection, PII, and healthcare NLP. Use for natural language processing on text.

Text AnalysisClaude

nft-standards

31392
from sickn33/antigravity-awesome-skills

Master ERC-721 and ERC-1155 NFT standards, metadata best practices, and advanced NFT features.

Web3 & BlockchainClaude

nextjs-app-router-patterns

31392
from sickn33/antigravity-awesome-skills

Comprehensive patterns for Next.js 14+ App Router architecture, Server Components, and modern full-stack React development.

Web FrameworksClaude

new-rails-project

31392
from sickn33/antigravity-awesome-skills

Create a new Rails project

Code GenerationClaude

networkx

31392
from sickn33/antigravity-awesome-skills

NetworkX is a Python package for creating, manipulating, and analyzing complex networks and graphs.

Network AnalysisClaude