functional-harmony

functional-harmony is a skill for Claude Code, Codex from GuitarAlchemist/ga. It costs 98 tokens per session (2,493 once invoked), scanned A, original, MIT.

A reference and answering guide for tonal harmony, the study of how chords create tension and resolve around a key.

In plain words
What is it for?
Use it to answer questions about chord movement and resolution, including dominant sevenths, secondary dominants, tritone substitutions, and cadences.
Why use it?
It gives consistent explanations for dominant chords, altered chords, and cadence types, while keeping note names and chord functions accurate.

Skill for Claude CodeCodex

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

Good fit Use it to answer questions about chord movement and resolution, including dominant sevenths, secondary dominants, tritone substitutions, and cadences.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/guitaralchemist/ga/functional-harmony
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 GuitarAlchemist/ga --skill functional-harmony
Clone the repo
git clone --depth 1 https://github.com/GuitarAlchemist/ga

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 functional-harmony

README.md
[![agentmods](https://agentmods.dev/badge/skills/guitaralchemist/ga/functional-harmony/github.svg)](https://agentmods.dev/skills/guitaralchemist/ga/functional-harmony)
Your own site
<a href="https://agentmods.dev/skills/guitaralchemist/ga/functional-harmony"><img src="https://agentmods.dev/badge/skills/guitaralchemist/ga/functional-harmony/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 functional-harmony

Your own site · 80×15
<a href="https://agentmods.dev/skills/guitaralchemist/ga/functional-harmony"><img src="https://agentmods.dev/badge/skills/guitaralchemist/ga/functional-harmony.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,493 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.
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.00098 $0.02493
Opus 5.5 $0.00039 $0.00997
Sonnet 5.5 $0.00020 $0.00499
Haiku 4.5 $0.00010 $0.00249

Measured 1mo ago against content hash 799c02e97ef2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

functional-harmony 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 1mo 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/functional-harmony/SKILL.md · 116 lines

How it starts

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

Functional Harmony: Dominants, Predominants and Cadences

You answer questions about how chords function and resolve in tonal harmony. The reference below is verified: base your answer on it and never contradict it. Answer the question that was asked, in a few short paragraphs or a small table. Use the C major or C minor examples below unless the user names a key; for another key, move every note by the same interval and spell it with the letter that interval requires. Do not give fret numbers, tablature or chord diagrams; name the chords and their notes instead.

Dominant seventh (V7) and its resolution

  • V7 is built on scale degree 5 with a major 3rd, perfect 5th and minor 7th. In C major, G7 = G B D F (scale degrees 5, 7, 2, 4).
  • Its 3rd and 7th form a tritone: B up to F is a diminished fifth (F up to B is an augmented fourth). That unstable interval is what wants to resolve.
  • V7 → I in C (G7 → C):
    • the 3rd of V7 is the leading tone (degree 7): B rises a half step to C, the root of I;
    • the 7th of V7 (degree 4): F falls a half step to E, the 3rd of I;
    • so the tritone B–F contracts to the third C–E (voiced F below B, the augmented fourth expands to the sixth E–C);
    • the root G (a fifth above C) falls a fifth, or rises a fourth, to C in the bass; in an upper voice it is held as the common tone G;
    • the 5th, D, moves by step to C (or to E), or is left out.
  • In a minor key, V7 takes the raised 7th degree of harmonic minor: in A minor, E7 = E G# B D, and G# rises to A.

Tritone substitution

  • Replace a dominant seventh with the dominant seventh whose root is a tritone away: G7 → Db7 (written bII7). In a ii–V–I in C: Dm7 – Db7 – Cmaj7.
  • It works because both chords contain the same tritone. G7 has B (3rd) and F (7th); Db7 = Db F Ab Cb has F (3rd) and Cb (7th), and Cb is the same pitch as B. In each chord the 3rd up to the 7th is a diminished fifth: B–F in G7, F–Cb in Db7.
  • The two pitches swap roles. Db7 → C: F, now the 3rd of Db7, falls a half step to E, the 3rd of C; Cb (B), now the 7th of Db7, rises a half step to C, the root of C; the bass slides down a half step, Db → C.
  • The substitute replaces V on its way to I. It does not tonicize V.

Read the full file on GitHub · 116 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. 1mo ago First seen · 116 lines · 98 tokens per session scan A 799c02e97ef2

Subscribe to this mod's changes

functional-harmony is a skill published in the GitHub repository GuitarAlchemist/ga (2 stars, last pushed yesterday), licensed MIT. It adds 98 tokens to every session and 2,493 once invoked, about $0.0004 per session on Opus 5.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-10-04.

Related

functional-harmony compared with skills from other repositories

functional-harmony next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
functional-harmonyGuitarAlchemist/gaSkill2yesterdayMITA98Claude Code, Codex
hr-onboardingnexu-io/open-designSkill111ktodayApache-2.0A62Claude Code, Codex
book-mirrorgarrytan/gbrainSkill34ktodayMITA139Claude Code
lean-formalizewanshuiyin/Auto-claude-code-research-in-sleepSkill20kyesterdayMITA81Claude Code
deck-course-modulenexu-io/html-anythingSkill17k3d agoApache-2.0A25Claude Code, Codex
eli5companion-inc/feynmanSkill10k3d agoMITA63Claude Code, Codex
explore-unknownsdzhng/skillsSkill1.5k18d agoMITA162Claude Code, Codex