Skip to content
Agentmart
Submit a tool

lyrics-validator

Verify translated lyrics against musical constraints including syllable counts, rhyme scheme, and syllable patterns.

Skill by guan404ming

IndexedApache-2.0★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/guan404ming-lyrics-validator

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Verify translated lyrics against musical constraints including syllable counts, rhyme scheme, and syllable patterns. Use after translating lyrics to check quality.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/lyrics-validator

What's inside

Skill name
lyrics-validator
Description
Verify translated lyrics against musical constraints including syllable counts, rhyme scheme, and syllable patterns. Use after translating lyrics to check quality.
License
Apache-2.0
Instructions
44 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (2)

  • SKILL.md
  • validate.py · scripts/

SKILL.md (first lines)

# Lyrics Validator

Verify that translated lyrics meet all musical constraints at once.

## Usage

```bash
python skills/lyrics-validator/scripts/validate.py "<language>" '<target_syllables_json>' "<line1>" "<line2>" ...
```

Example:

```bash
python skills/lyrics-validator/scripts/validate.py cmn '[5,7,5]' "随风而去吧" "在那遥远的天边飞" "随它去吧"
```

Output is JSON with:
- `syllables`: actual syllable counts per line
- `syllables_match`: whether all match targets
- `rhyme_endings`: detected rhyme endings
- `rhymes_valid`: whether rhyme scheme is satisfied
- `feedback`: human-readable constraint feedback

## Constraint Priority

1. **Syllable patterns** (highest) - word-level syllable distribution
2. **Syllable counts** - total syllables per line must match exactly
3. **Rhyme scheme** (lowest) - lines with same label must rhyme

## From Python

```python
from validate import verify_all_constraints

result = verify_all_constraints(
    lines=["line1", "line2"],
    language="cmn",
    target_syllables=[5, 7],
    rhyme_scheme="AA",
    target_patterns=[[2, 3], [3, 4]],
)
```

From guan404ming/blt-skills, Apache-2.0.

Signals

Stars
1
Forks
1
Open issues
0
Last commit (this folder)
Aug 27, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from guan404ming

Cite this page

lyrics-validator skill. Agent Mart. https://agentmart.dev/skills/guan404ming-lyrics-validator (last updated 2026-10-24)