Skill 053

From baojie/shiji-kb · View interactive version

Skill 053 is an AI agent skill from the GitHub repository baojie/shiji-kb. Use when calculating pentatonic scale pipe lengths or tuning traditional Chinese instruments. Applies the three-division method (三分损益法) to derive 宫商角徵羽 from base unit 81 using alternating 2/3 and 4/3 ratios.

How to use this skill

Skill file

Three Division Tuning Method (三分损益法)

This ancient Chinese method calculates the lengths of musical pipes for the pentatonic scale (宫商角徵羽 - Gong, Shang, Jue, Zhi, Yu).

Overview

The method uses alternating division by 3 to generate successive notes, creating a mathematical relationship between pipe lengths.

Base Values

Calculation Steps

  1. Calculate 徵
  1. Calculate 商
  1. Calculate 羽
  1. Calculate 角

Final Scale Lengths

| Note | Length | Relationship |

|------|--------|--------------|

| 宫 | 81 | Base |

| 商 | 72 | 宫 × 8/9 |

| 角 | 64 | 宫 × 64/81 |

| 徵 | 54 | 宫 × 2/3 |

| 羽 | 48 | 宫 × 16/27 |

Principle

Validation

  1. Confirm the final scale lengths match: 宫=81, 商=72, 角=64, 徵=54, 羽=48
  2. Verify each calculation alternates correctly between 下生 (×2/3) and 上生 (×4/3) operations
  3. Check that the mathematical relationships in the summary table are consistent with the step-by-step calculations
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.