chinese-classical-poetry

chinese-classical-poetry is a skill for Claude Code, Codex from cxcscmu/SkillLearnBench. It costs 36 tokens per session (890 once invoked), scanned A, original, MIT.

A guide to writing a seven-character regulated poem in Classical Chinese, a traditional form with eight lines of seven Chinese characters each. It explains the required couplets, tone patterns, and rhymes.

In plain words
What is it for?
Use it to compose or check an eight-line regulated verse with the expected structure, tonal pattern, and rhyme scheme.
Why use it?
It helps writers follow formal rules that are difficult to check by intuition alone, including parallel lines and repeated end sounds.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to compose or check an eight-line regulated verse with the expected structure, tonal pattern, and rhyme scheme.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cxcscmu/skilllearnbench/chinese-classical-poetry
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add cxcscmu/SkillLearnBench --skill chinese-classical-poetry
Clone the repo
git clone --depth 1 https://github.com/cxcscmu/SkillLearnBench

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for chinese-classical-poetry

README.md
[![agentmods](https://agentmods.dev/badge/skills/cxcscmu/skilllearnbench/chinese-classical-poetry/github.svg)](https://agentmods.dev/skills/cxcscmu/skilllearnbench/chinese-classical-poetry)
Your own site
<a href="https://agentmods.dev/skills/cxcscmu/skilllearnbench/chinese-classical-poetry"><img src="https://agentmods.dev/badge/skills/cxcscmu/skilllearnbench/chinese-classical-poetry/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for chinese-classical-poetry

Your own site · 80×15
<a href="https://agentmods.dev/skills/cxcscmu/skilllearnbench/chinese-classical-poetry"><img src="https://agentmods.dev/badge/skills/cxcscmu/skilllearnbench/chinese-classical-poetry.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 890 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00036 $0.00890
Opus 5 $0.00018 $0.00445
Sonnet 5 $0.00007 $0.00178
Haiku 4.5 $0.00004 $0.00089

Measured 6d ago against content hash 25bd03ec4d75, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

chinese-classical-poetry scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/b1-one-shot-claude-sonnet-4-6/chinese-poem-generator/chinese-classical-poetry/SKILL.md · 95 lines

How it starts

The opening of the file, as written. The whole thing — 95 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Seven-Character Regulated Verse (七言律诗)

Overview

A 七言律诗 (qīyán lǜshī) is a classical Chinese poetic form with strict structural, tonal, and rhyme rules. It consists of 8 lines, each containing exactly 7 Chinese characters.


Structure

Lines Name Requirement
1–2 首联 (shǒulián) Opening couplet; sets the scene/theme
3–4 颔联 (hànlián) Second couplet; must be parallel (对仗)
5–6 颈联 (jǐnglián) Third couplet; must be parallel (对仗)
7–8 尾联 (wěilián) Closing couplet; conveys emotion or conclusion

Rhyme Scheme

  • Lines 2, 4, 6, 8 must rhyme (end on the same rhyme group).
  • Line 1 may optionally rhyme with the even lines.
  • All rhyming characters must be 平声 (level tone = tones 1 and 2 in Mandarin).
  • For modern Mandarin rhyming, characters sharing the same final vowel cluster (韵母) are considered rhyming.
    • Example rhyme groups: -ang (长/肠/方/凉/光), -ing (明/清/声/情), -an (安/天/年/眠)

Tonal Pattern (平仄)

Two primary patterns (starting with 仄 or 平). For lines ending in rhyme (平声):

Pattern A (仄起首句入韵):

Line 1: 仄仄平平仄仄平 (rhymes)
Line 2: 平平仄仄仄平平 (rhymes)
Line 3: 平平仄仄平平仄
Line 4: 仄仄平平仄仄平 (rhymes)
Line 5: 仄仄平平平仄仄
Line 6: 平平仄仄仄平平 (rhymes)
Line 7: 平平仄仄平平仄
Line 8: 仄仄平平仄仄平 (rhymes)

Key rule: 平 = tones 1 & 2; 仄 = tones 3 & 4.


Parallelism Requirements (对仗)

Lines 3–4 and 5–6 must form syntactic parallels:

  • Nouns match nouns, verbs match verbs
  • Same grammatical position, contrasting or complementary meaning
  • Typical word categories: place/nature nouns, action verbs, descriptors

Example:

田园荒废无人种,(田园 / 荒废 / 无人种)
骨肉分离各一方。(骨肉 / 分离 / 各一方)

Composition Tips for War/Peace Themes

  • 首联: Establish the wartime setting with sensory imagery (drums, smoke, banners)
  • 颔联: Describe civilian suffering in parallel couplet (abandoned fields, separated families)
  • 颈联: Deepen emotion — isolated figures, silence, longing (geese as messengers, lone lamps)
  • 尾联: Pivot to hope — express longing for peace, transforming weapons to tools

Read the full file on GitHub · 95 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 95 lines · 36 tokens per session scan A 25bd03ec4d75

Subscribe to this mod's changes

chinese-classical-poetry is a skill published in the GitHub repository cxcscmu/SkillLearnBench (83 stars, last pushed 2mo ago), licensed MIT. It adds 36 tokens to every session and 890 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.