Word Cloud Generator for Openclaw

A python-powered skill for creating customizable word cloud images from various text sources including direct input, files, and entire directories.

lijiahao885
v1.0.1
Mar 19, 2026
0
891
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install wordcloud-skill

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install wordcloud-skill using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Word Cloud Generator?

The Word Cloud generator is a specialized tool designed for the Openclaw Skills framework that transforms raw text into insightful visual representations. By processing strings, individual documents, or scanning entire directories, it identifies word frequency and generates high-quality images that highlight key themes and concepts.

This skill is particularly valuable for developers and data analysts who need to summarize large volumes of text quickly. It supports advanced features like custom dimensions, Chinese language segmentation via jieba, and the ability to use image masks to create word clouds in specific geometric or artistic shapes.

Word Cloud Generator Use Cases

  • Creating visual summaries of long-form documents or project notes.
  • Visualizing the core themes of a codebase by scanning a directory of source files.
  • Generating creative social media assets or report illustrations using custom image masks.
  • Identifying the most frequent terms in a dataset while excluding common stopwords.

How Word Cloud Generator Works

  1. The skill receives input via target_text, target_file, or target_dir and aggregates the text content.
  2. It processes the text using tokenization, supporting multi-language segmentation including Chinese fonts.
  3. Frequency analysis is performed on the words, filtering out any terms listed in the stopwords.md file.
  4. The WordCloud engine generates a layout based on specified width/height or the provided PNG mask.
  5. The final visualization is rendered as a picture and saved to the designated output directory.

Word Cloud Generator Setup

To use this Openclaw Skills entry, ensure you have Python 3.x installed along with the necessary dependencies:

pip install jieba numpy wordcloud pillow

You can then run the script directly via the CLI:

python scripts/generate_wordcloud.py --target_text "your text here" --output_dir "./images"

Word Cloud Generator Data Schema & Taxonomy

The skill organizes data and configuration using the following parameters:

Parameter Type Description
target_text string Direct text input for visualization
target_file string Path to a specific file to parse
target_dir string Directory path to crawl for text files
mask string Path to a PNG file used for the cloud shape
stopwords.md file A markdown list used to exclude specific words
output_dir string The destination folder for generated images (defaults to /images)

Word Cloud Generator Advanced Features

  • Masking Support: Upload a PNG file to serve as a template for non-rectangular word clouds.
  • Stopword Management: Dynamically exclude irrelevant words by appending them to a dedicated stopwords.md file.
  • Multi-Source Aggregation: Combine text from direct input, files, and directories simultaneously for a comprehensive analysis.
  • High-Resolution Controls: Manually specify width, height, and maximum word counts for professional-grade exports.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*