Transposer
A python script transposing chords from one key to another.
Install / Use
/learn @davidparsson/TransposerREADME
Transposer
Transposing chords from one key to another
Usage
To transpose chords, use transposer like this:
python transposer.py --from=F# --to=Eb input.txt
Input files
The input file should be a plain text file, but can contain any text - only lines starting with a vertical bar (|) will be transposed. On these lines, root notes must be in upper case while everything else should be in lower case.
Example
The contents of example.txt:
Rocking start, jazzy ending
| D | G A | Bbm7#11/Db |
Using transposer --from=D --to=E example.txt will produce the result
Result (D -> E):
Rocking start, jazzy ending
| E | A B | Cm7#11/D# |
Testing
Run unit tests using Python's doctest:
python -m doctest -v transposer.py
Related Skills
node-connect
336.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
claude-opus-4-5-migration
83.0kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
83.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
model-usage
336.9kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
