← ClaudeAtlas

maffaylisted

Print one bonmot from a random Peter Maffay song — a pick-me-up for a long refactor. Takes an optional theme keyword. Needs no repo and no git, so it works anywhere.
Jebel-Quant/rhiza-claude · ★ 4 · Code & Development · score 67
Install: claude install-skill Jebel-Quant/rhiza-claude
You are running `/maffay`. Goal: print **one** bonmot from a random Peter Maffay song. That is the whole command. It reads nothing, writes nothing, and needs no repo — so it works anywhere, including outside a rhiza-managed project. **Do not pick the song yourself.** Asked to choose "at random" you will reach for *Über sieben Brücken* and *Nessaja* almost every time, and by the third run the command feels broken. The bundled script owns the choice, and `random.choice` over the catalogue is uniform where you are not. Run it and relay the output verbatim. Argument (optional): `$ARGUMENTS` — a theme keyword (`mut`, `sommer`, `nessaja`, `liebe`, …) or part of a song title, matched case-insensitively. Anything else is still passed through: the script reports the known themes itself on a miss, which is more useful than you guessing what the user meant. ## 1. Draw one `${CLAUDE_PLUGIN_ROOT}` resolves at runtime (**keep the quotes**); in a source checkout it's empty, so fall back to the repo-relative path. ```bash uv run --python 3.12 --no-project python "${CLAUDE_PLUGIN_ROOT}/scripts/maffay.py" --theme "$ARGUMENTS" ``` Drop `--theme` entirely when `$ARGUMENTS` is empty — an empty theme is not the same as no theme, and passing `--theme ""` matches everything by accident rather than by intent. Exit **1** means the theme matched nothing. The script has already printed the known themes; show that and stop. Do **not** retry without the filter and pass the result off as what they