☁️
DataPython

Txt2WordCloud

by CoderWanFeng

Txt2WordCloud is a Data skill for Claude Code, published by CoderWanFeng in python-office.

1.3K stars301 forkson CoderWanFeng/python-officeAdded 2026/08/12Repository updated 2026/08/04
officepippypipythonweixin
Install in seconds
Install Txt2WordCloud
Copy Txt2WordCloud into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/CoderWanFeng/python-office/tree/develop/skills/image/txt2wordcloud ~/.claude/skills/txt2wordcloud

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/CoderWanFeng/python-office.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/image/txt2wordcloud/SKILL.md in CoderWanFeng/python-office
Installs to
~/.claude/skills/txt2wordcloud
Collection
One of 50 skills cataloged from this repository
Category
Data668 skills

What Txt2WordCloud does

Txt2WordCloud generates a word cloud image from a text file. Use it when you need word frequency visualization with a custom background color.

Txt2WordCloud is cataloged under Data on DirSkills. Txt2WordCloud comes from a repository tagged office, pip, pypi, python and weixin.

Documentation

README

txt2wordcloud Skill

根据指定的文本文件生成词云图像

功能描述

根据指定的文本文件内容,生成词云图片。

所属分类

office/skills/image/txt2wordcloud/

调用方式

from skills.image import txt2wordcloud

txt2wordcloud(
    filename='./text.txt',
    color='white',
    result_file='wordcloud.png'
)

参数说明

参数 类型 必填 默认值 说明
filename str - 文本文件的路径
color str "white" 词云的背景颜色
result_file str "your_wordcloud.png" 生成的词云图像文件名

返回值

None

使用示例

from skills.image import txt2wordcloud
txt2wordcloud(filename='./article.txt', result_file='./my_wordcloud.png')

原始函数

office.api.image.txt2wordcloud

Frequently asked about Txt2WordCloud

  • What else does CoderWanFeng publish alongside Txt2WordCloud?

    Txt2WordCloud is one of 50 skills that DirSkills catalogs from CoderWanFeng/python-office, the repository it ships in. Its siblings there include Add Image Watermark, Add Line by Type and Add Text Watermark. Each one is a separate skill with its own page in this directory, installs the same way Txt2WordCloud does, and is maintained by CoderWanFeng in that same repository. The rest of the collection is listed on the CoderWanFeng/python-office page.

  • How does Txt2WordCloud compare to other Data skills?

    Txt2WordCloud ranks #413 by stars among the 668 Data skills in this catalog. The most-starred ones next to it are Benchmark Methodology, Jupyter Notebook and Solana. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Txt2WordCloud against them. Open each page to compare what they document and how they install.