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 13d 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 13d 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. 13d 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

Other skills, from other repositories

hr-onboarding

A new-hire onboarding plan as a single page — first week schedule, buddy + manager intro, learning track, equipment checklist, and "you're set when…" outcomes. Use when the brief mentions "onboarding", "new hire", "first week plan", or "入职".

nexu-io/open-design · 62 tokens

book-mirror

Take any book (EPUB/PDF), produce a personalized chapter-by-chapter analysis. Each chapter is preserved in detail (The Chapter) and mirrored back to the reader's actual life (The Mirror) using brain context. The mirror observes and resonates — a friend pointing out parallels, NOT a consultant rearranging the reader's…

garrytan/gbrain · 138 tokens

exam-forecast

Analyze past exams from the same professor to surface patterns — subject weighting, recurring issue-spot traps, favored hypo types, policy-vs-doctrine mix — and forecast likely emphases for the upcoming exam. Use when the user says "what's on the exam", "analyze past exams", "predict the exam", or shares past exams.

anthropics/claude-for-legal · 73 tokens

lean-formalize

Develop and verify a mathematical proof in Lean, continue an incomplete Lean project, or audit whether it proves the original statement. Connect actual inputs to intermediate lemmas, assemble the target theorem, check its transitive axioms, and provide a reproducible handoff. Use when Lean is requested or a specific…

wanshuiyin/Auto-claude-code-research-in-sleep · 81 tokens

miniapp

Build a tiny interactive HTML playground only when someone asks to see, play with, or step through a mechanism.

yc-software/qm · 25 tokens

eli5

Explain research, papers, or technical ideas in plain English with minimal jargon, concrete analogies, and clear takeaways. Use when the user says "ELI5 this", asks for a simple explanation of a paper or research result, wants jargon removed, or asks what something technically dense actually means.

companion-inc/feynman · 63 tokens