Skill
Capital structure and covenants
Decides how the business is financed and what that financing then requires of it — debt versus equity, weighted average cost of capital as a hurdle rate, how much leverage cash fl…
- Finance
- capital-structure-and-covenants
- version 1.1.0
- MIT license
- 2 outside sources
When it loads
Your assistant reads this description and loads the skill when a request matches it. Nothing else is in context until then.
Decides how the business is financed and what that financing then requires of it — debt versus equity, weighted average cost of capital as a hurdle rate, how much leverage cash flow can carry, and the financial, affirmative and negative covenants, definitions, test dates and cure rights that come attached. Use this to evaluate a financing option, set an investment hurdle, check whether a planned decision will trip a covenant, or work out what a lender can do when one breaks.
Add it to your assistant
This skill ships in the Finance department, with 12 others.
Claude Code
/plugin marketplace add cbrock84/headcount
/plugin install finance@headcount
ChatGPT and Codex
This department is packaged for the ChatGPT plugin directory and not listed there yet. Until it is, add this repository as a plugin marketplace, or copy plugins/finance/skills/ into .agents/skills/ in your own project.
GitHub Copilot CLI
copilot plugin marketplace add cbrock84/headcount
copilot plugin install finance@headcount
Cursor
The repository is a Cursor plugin marketplace. On a Teams or Enterprise plan, import it under Dashboard, Plugins & MCPs, New marketplace, Import from a repository. To try this department on one machine, copy plugins/finance into ~/.cursor/plugins/local/ and reload the window.
Gemini CLI
Gemini CLI installs one skill at a time:
gemini skills install https://github.com/cbrock84/headcount.git --path plugins/finance/skills/capital-structure-and-covenants
The skill is identical in every tool. The Copilot, Cursor and Gemini steps follow each tool's published format and have not been run end to end here.
What the skill tells the assistant
The full text, as it installs. View the source on GitHub.
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.
Model covenants forward at every material decision. A hiring plan, a capex commitment, or an acquisition can trip a ratio two quarters out while looking affordable this quarter. Headroom at each future test date belongs in the forecast, not in a separate spreadsheet nobody opens.
When a breach is coming, the timing of the conversation is the whole outcome
Approach the lender before the test date. A waiver requested in advance is a negotiation; a breach discovered afterward is a default, and the difference in leverage between those two positions is enormous.
Know what the agreement gives you before you need it: cure periods, grace periods, whether an equity cure is permitted and how often, and whether cross-default provisions pull other agreements in behind this one. Consequences escalate rather than arriving all at once — a fee, then a rate step-up, then tightened covenants, then a cash sweep, then acceleration.
Sources
references/sources.md in this skill lists the outside authorities that settle the questions here — what each one is authoritative for, and what you may do with it. Check them before answering on anything they cover, and cite what you used. Most are free to read and not free to reproduce; the use note on each is binding.
Never
- Sign a facility without modeling its covenants against the downside case.
- Read a covenant level without reading the definitions it depends on.
- Arrive at a test date without already knowing the number.
- Treat equity as costless because no payment leaves the account.
Company context
Before answering, look for the company profile: the file .headcount/company.md in the working folder, or a document titled "Headcount company profile" in the conversation, the project's instructions or files, or saved memory. Where there is one, answer for that company and do not ask for anything it already states. Where it conflicts with what the person says now, the person is right, and say that the profile looks out of date. Where there is none, carry on: ask only for the facts this question turns on, and mention once that executive:company-onboarding records them so they are not asked again.
Other departments
A skill written as department:skill belongs to another department, and each department installs separately. If the one a question belongs to is not installed, name the department that owns it and how to add it, and do not improvise its work. references/departments.md in this skill lists each department this skill names, with the install step for Claude Code and for ChatGPT.
Files it ships with
Loaded only when the skill calls for them.
Sources it checks against
Where a question has an outside authority, the skill points the assistant at it instead of answering from memory.
- Interagency Guidance on Leveraged Lending, SR 13-3 Board of Governors of the Federal Reserve System
What regulators treat as a leveraged transaction and the repayment-capacity, covenant and valuation analysis they expect behind a credit agreement. Supervisory guidance rather than a rule — the analytical lens, not binding law.
- Non-GAAP financial measures — compliance and disclosure interpretations US Securities and Exchange Commission, Division of Corporation Finance
When a non-GAAP measure becomes misleading and therefore prohibited — individually tailored recognition, excluding normal operating costs, improper labeling, and the equal-prominence requirement.
More in Finance
- Budgeting and forecasting
Runs the planning cycle — annual budget, rolling forecast, consolidation of business unit inputs, and the variance analysis that explains actuals against plan.
- Capital allocation
Evaluates where to spend limited capital — investment appraisal, hurdle rates, payback, and comparing proposals that are not alike.
- Chief Financial Officer
Owns the financial position: planning, budgeting, forecasting, unit economics, cash, and the numbers the business is run and reported on.
- Cost accounting
Establishes what something actually costs — fixed, variable and mixed cost behavior, absorption versus variable costing, job-order, process and activity-based methods, breakeven a…
- Financial modeling
Builds and stress-tests financial models for forecasting, scenario planning, and decision support — revenue build, cost structure, driver logic, and the sensitivities that show wh…
- Financial reporting and close
Runs the period-end close and produces reporting — close calendar, reconciliations, accruals, variance analysis, and reporting that gets read.
- Financial statement analysis
Reads a set of financial statements and establishes what changed and why — fluctuation analysis against prior period and against budget, profitability, liquidity, solvency and eff…
- Internal controls and audit
Designs and tests controls over financial reporting — segregation of duties, approval limits, evidence, and preparing for audit.
- Revenue recognition
Determines when and how revenue is recognized — performance obligations, contract terms that change the answer, and the deal structures that create accounting problems.
- Tax
Structures the tax questions a growing business faces — corporate income, sales and use, payroll, nexus, and the obligations created by hiring or selling somewhere new.
- Treasury and liquidity
Manages cash and liquidity — cash forecasting, runway, working capital, banking structure, and currency and counterparty exposure.
- Unit economics
Establishes whether the business makes money on each customer or unit — contribution margin, acquisition cost, payback period, lifetime value, and the cohort behavior underneath.