capital-structure-and-covenants

capital-structure-and-covenants is a skill for Claude Code from cbrock84/headcount. It costs 102 tokens per session (816 once invoked), scanned A, original, MIT.

A guide to choosing between debt and equity financing and managing the financial rules attached to borrowed money. Covenants are lender conditions the business must keep meeting.

In plain words
What is it for?
It is for setting leverage limits, comparing funding options, calculating the cost of capital, reviewing loan covenants, and planning responses to missed tests.
Why use it?
It helps a business understand how financing affects future decisions, debt capacity, cash-flow risk, and the consequences of breaking loan conditions.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the finance plugin — 13 skills shipped together

Good fit It is for setting leverage limits, comparing funding options, calculating the cost of capital, reviewing loan covenants, and planning responses to missed tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cbrock84/headcount/capital-structure-and-covenants
About the project

headcount is an organization of independently installable Claude Code plugins, each grouping skills for a department such as finance, security, or demand generation. Claude Code users install the departments they need and invoke their skills for specialized work; the catalogue entries are skills and related agent tooling from that organization.

cbrock84/headcount · 1,335 stars · on GitHub · cbrock84.github.io

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 cbrock84/headcount --skill capital-structure-and-covenants
Clone the repo
git clone --depth 1 https://github.com/cbrock84/headcount

Made for: Claude Code.

Or install finance, the plugin that ships this one along with the rest of its 13 skills.

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 capital-structure-and-covenants

README.md
[![agentmods](https://agentmods.dev/badge/skills/cbrock84/headcount/capital-structure-and-covenants/github.svg)](https://agentmods.dev/skills/cbrock84/headcount/capital-structure-and-covenants)
Your own site
<a href="https://agentmods.dev/skills/cbrock84/headcount/capital-structure-and-covenants"><img src="https://agentmods.dev/badge/skills/cbrock84/headcount/capital-structure-and-covenants/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 capital-structure-and-covenants

Your own site · 80×15
<a href="https://agentmods.dev/skills/cbrock84/headcount/capital-structure-and-covenants"><img src="https://agentmods.dev/badge/skills/cbrock84/headcount/capital-structure-and-covenants.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 816 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 38
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00102 $0.00816
Opus 5 $0.00051 $0.00408
Sonnet 5 $0.00020 $0.00163
Haiku 4.5 $0.00010 $0.00082

Measured 6d ago against content hash ef030a8c70ee, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

capital-structure-and-covenants 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 6d 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.

plugins/finance/skills/capital-structure-and-covenants/SKILL.md · 66 lines

How it starts

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

Capital structure and covenants

Financing is not only where the money comes from. It is a set of ongoing constraints that will shape operating decisions for as long as the facility exists, and most of those constraints are discovered late.

Cost of capital sets the hurdle, so compute it rather than choosing a round number

Weighted average cost of capital blends the after-tax cost of debt and the cost of equity in the proportions actually used. It is the rate an investment has to clear before it creates value.

Debt is cheaper than equity — the rate is lower, the interest is deductible, and the claim is senior. That cheapness is exactly why leverage is tempting, and why the temptation needs a limit set in advance. Equity has a cost even though nobody writes a check for it; treating it as free is how capital gets consumed by projects that never earned their keep.

Size leverage to the bad case, not the plan

Leverage amplifies returns on equity and amplifies losses, and the losses arrive first because debt service does not wait for recovery.

Capacity is governed by the stability of cash flow, not by an industry average ratio. A predictable subscription business carries debt that a project business with lumpy collections cannot. The question is never "can we service this at plan" — it is "can we service this at the plan we would be embarrassed to show anyone."

Covenants are where financing becomes an operating constraint

  • Financial covenants — leverage ratio, interest coverage, fixed charge coverage, minimum liquidity, sometimes a minimum earnings floor. Tested quarterly in most agreements.
  • Affirmative covenants — what you must do: reporting by a deadline, audited statements, insurance, notice of material events.
  • Negative covenants — what you may not do without consent: additional debt, liens, asset sales, distributions, acquisitions, change of control.

The definitions matter more than the levels. Earnings in a credit agreement is a defined term with its own permitted add-backs and its own caps, and it will not equal the figure in your management accounts. Two facilities at the same headline ratio can allow very different behavior.

Read the full file on GitHub · 66 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. 6d ago First seen · 66 lines · 102 tokens per session scan A ef030a8c70ee

Subscribe to this mod's changes

capital-structure-and-covenants is a skill published in the GitHub repository cbrock84/headcount (1,335 stars, last pushed 7d ago), licensed MIT. It adds 102 tokens to every session and 816 once invoked, about $0.0005 per session on Opus 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-09-03.

Related

Other skills, from other repositories

bank-partnership

Assess partner bank compliance requirements — OCC/FDIC expectations, regulatory pass-through.

bromso/metapowers · 15 tokens

mortgage-compliance

You are operating under strict mortgage regulatory compliance rules. Every response you generate that touches on lending, rates, fees, qualifications, or loan terms MUST comply with the following regulations. Violations of these rules expose Lendtrain powered by Atlantic Home Mortgage and its borrowers to legal and…

lendtrain/mortgage · 0 tokens

invest

First-time fork users: run the invest-setup skill first to initialize. The main flow lives in this skill (the AI agent uses the CLI/MCP to view the portfolio / run the committee / replay decision history). The Web GUI has been retired (2026-07) — every capability is exposed via CLI subcommands / MCP tools. The backend…

longsizhuo/openInvest · 261 tokens

antinet-four-color-cards

A document-analysis skill that organises findings into four card types: facts, explanations, risks, and actions. It is intended for financial reports and legal documents.

anbeime/skill · 97 tokens

stockbit-auth

Log in to Stockbit and capture the session for this server — opens the browser login flow and verifies the token was stored. Use when the user asks to log in or re-authenticate to Stockbit, or after a status check reports the session expired, HTTP 401, or logged out.

INo-xious/stockbit-mcp · 63 tokens

phase-preview

Preview a signed-off design one release phase at a time — cut it down into a series of phase screens, each showing only what exists by that phase with the layout untouched, then put them on a scrubber you drag to watch the screen fill in release by release. Use when the user wants a Phase 1 / MVP version of an…

Cavalry-Collective/visual-stack · 107 tokens