Classical Chinese Poetry AI Skill for Openclaw

A comprehensive AI-driven tool for generating authentic classical Chinese poetry and searching an extensive corpus of historical literary works.

wscats
v1.0.1
Mar 18, 2026
4
7.5k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install poetry

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 poetry 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 Classical Chinese Poetry AI Skill?

This specialized skill within the Openclaw Skills ecosystem provides a bridge between modern AI and traditional Chinese literature. It leverages the massive chinese-poetry open-source dataset, encompassing over 300,000 records including Tang poetry, Song lyrics, and Yuan songs. By integrating this skill, users can both create original poetic works that follow strict metrical rules and perform deep-dive research into the vast history of Chinese literary arts.

The skill functions as a dual-purpose engine: it acts as a creative assistant for generating new verses based on specific themes or styles and as a powerful search tool for locating specific poems by author, dynasty, or keyword. Whether you are looking for a rare piece from the Shijing or want to compose a new poem in the style of Li Bai, this skill provides the necessary data and logic to achieve high-fidelity results.

Classical Chinese Poetry AI Skill Use Cases

  • Generate original five-character or seven-character quatrains based on specific themes like spring or separation.
  • Search and retrieve complete works of specific authors like Su Shi or Li Qingzhao from the local database.
  • Identify and extract poems containing specific imagery such as the bright moon or autumn frost across different dynasties.
  • Analyze and compare the stylistic differences between different poetic schools, such as the Haofang and Wanyue styles of Song lyrics.

How Classical Chinese Poetry AI Skill Works

  1. The AI agent detects a trigger related to poetry generation or querying, such as write a poem or find a verse.
  2. For generation requests, the agent uses the provided prompt guidelines to craft verses that adhere to classical Chinese metrical patterns.
  3. For query requests, the agent accesses the local data directory which houses structured JSON files of historical poetry.
  4. The agent filters the dataset based on user-defined criteria like author, title, keyword, or time period.
  5. The final output is formatted and presented to the user, including relevant metadata like dynasty and author background.

Classical Chinese Poetry AI Skill Setup

To get started with this skill in your Openclaw Skills environment, you must initialize the local dataset as it is not included in the base package due to its size (approximately 291MB).

# Navigate to the poetry skill directory
cd poetry

# Run the setup script to download and initialize the poetry database
./setup.sh

Classical Chinese Poetry AI Skill Data Schema & Taxonomy

The skill organizes its vast library into a structured directory under data/. The following table outlines the data coverage:

Category Estimated Volume Includes
Tang Poetry 57,607 poems Author info, full text
Song Poetry 254,248 poems Author info, full text
Song Lyrics (Ci) 21,053 pieces Lyricist info, rhythmic patterns
Yuan Songs 11,057 pieces Qu works
Classics 300+ chapters Shijing, Chuci, Lunyu, Four Books and Five Classics
Specialized Sets 200+ pieces Nalan Xingde, Cao Cao, and Five Dynasties collections

Classical Chinese Poetry AI Skill Advanced Features

  • Support for specific poetic forms including Jueju, Lushi, and various Ci rhythmic patterns.
  • Metrical pattern validation using the strains data to ensure tonal balance in generated works.
  • Deep thematic search capabilities allowing users to find specific metaphors across thousands of years of literature.
  • Comparative analysis tools to evaluate imagery usage between different master poets like Li Bai and Du Fu.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*