---
name: keyword-extractor-591117595ed8
description: >
  Extracts up to 50 highly relevant SEO keywords from text. Use when user wants to generate or extract keywords for given text.
risk: safe
source: original
date_added: "2026-03-11"
---

# 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.

---

## Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.


---
Source attribution: FrancoStino
Original project: https://github.com/FrancoStino/opencode-skills-collection/blob/9a4d25d6b2b25441e049bb2ccb479d0f9fa67c70/bundled-skills/keyword-extractor/SKILL.md
License: MIT
License information: https://opensource.org/license/mit
Original upstream instructions; downloaded from Mega AI Hub.

## Upstream license notice

MIT License

Copyright (c) 2026 Davide Ladisa

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.



# Mega AI Hub resource metadata

Creator / publisher: FrancoStino
Original project: https://github.com/FrancoStino/opencode-skills-collection/blob/9a4d25d6b2b25441e049bb2ccb479d0f9fa67c70/bundled-skills/keyword-extractor/SKILL.md
Attribution basis: Source repository record

Fields of work: Marketing
Roles: Content Marketer, Marketing Analyst, SEO Specialist
Specialties: Cross Platform
Tools: Tool not specified
Country applicability: Country not specified
Classification basis: Source catalog labels
Instruction SHA-256: 6a8276b9058f82fd69986d1cf138f6e84a1bbcc804fa45c17afd1a6288032402
