Skip to content
Back to skills

Keybert Keyword Extraction Bert

ASecurity

KeyBERT is a minimal and easy-to-use Python library that leverages BERT embeddings and cosine similarity to extract keywords and keyphrases from documents. It supports multiple embedding backends including sentence-transformers, Flair, and spaCy, with built-in diversity algorithms like Max Sum Similarity and Maximal Marginal Relevance.

  • 67 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added June 8, 2026
ai-agentspythongogitbackendsecurity

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned June 8, 2026

npx -y skills add agentskillexchange/skills --skill keybert-keyword-extraction-bert --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Keybert Keyword Extraction Bert?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Keybert Keyword Extraction Bert
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-keybert-keyword-extraction-bert/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-keybert-keyword-extraction-bert)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "KeyBERT Minimal Keyword Extraction with BERT Embeddings"
slug: "keybert-keyword-extraction-bert"
description: "KeyBERT is a minimal and easy-to-use Python library that leverages BERT embeddings and cosine similarity to extract keywords and keyphrases from documents. It supports multiple embedding backends including sentence-transformers, Flair, and spaCy, with built-in diversity algorithms like Max Sum Similarity and Maximal Marginal Relevance."
github_stars: 4143
verification: "security_reviewed"
source: "https://github.com/MaartenGr/KeyBERT"
category: "Content Writing & SEO"
framework: "Custom Agents"
tool_ecosystem:
  github_repo: "MaartenGr/KeyBERT"
  github_stars: 4143
---

# KeyBERT Minimal Keyword Extraction with BERT Embeddings

KeyBERT is a minimal and easy-to-use Python library that leverages BERT embeddings and cosine similarity to extract keywords and keyphrases from documents. It supports multiple embedding backends including sentence-transformers, Flair, and spaCy, with built-in diversity algorithms like Max Sum Similarity and Maximal Marginal Relevance.

## Installation

Use the upstream install or setup path that matches your environment:
- pip install keybert
- pip install keybert[flair]
- pip install keybert[gensim]
- pip install keybert[spacy]

Requirements and caveats from upstream:
- [![PyPI - Python](https://img.shields.io/badge/python-3.10+-blue.svg)](https://pypi.org/project/keybert/)
- python

Basic usage or getting-started notes:
- [Getting Started](#gettingstarted)
- 2.2. [Basic Usage](#usage)
- Thus, the goal was a pip install keybert and at most 3 lines of code in usage.

- Source: https://github.com/MaartenGr/KeyBERT
- Extracted from upstream docs: https://raw.githubusercontent.com/MaartenGr/KeyBERT/HEAD/README.md

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/keybert-keyword-extraction-bert/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.