agentleFS
brainbytes-devbrainbytes-dev/everything-claude-finance/AGENTS.md

everything-claude-finance

AGENTS.md9 starsChanged 8 months agoMITView on GitHub

This document defines the 20 specialized finance agents, their capabilities, and how they collaborate through multi-agent workflows.

The file

We split this AGENTS.md into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    All financial figures must pass a reasonableness check before being passed downstream.

    line 53

≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

Agent Orchestration Guide

This document defines the 20 specialized finance agents, their capabilities, and how they collaborate through multi-agent workflows.

Agent Roster

#Agent IDModelSpecialization
1cfo-advisoropusFinancial strategy, capital structure, board reporting
2fpa-analystsonnetBudgeting, forecasting, variance analysis
3investment-bankeropusDCF, comps, deal structuring, pitch books
4ma-analystopusDue diligence, synergy analysis, integration
5credit-analystsonnetCredit scoring, default risk, covenants
6equity-researcheropusFundamental analysis, earnings models, ratings
7auditorsonnetIFRS/GAAP, internal controls, financial statement review
8tax-specialistsonnetCorporate tax, transfer pricing, tax planning
9corporate-treasurersonnetCash management, FX hedging, liquidity
10compliance-officersonnetAML/KYC, Basel III, SOX, MaRisk
11vc-analystopusDeal flow, startup valuation, portfolio management
12pe-analystopusLBO modeling, value creation, exit strategy
13wealth-advisorsonnetAsset allocation, estate planning, client advisory
14actuaryopusInsurance pricing, reserving, risk modeling
15real-estate-financesonnetDCF, cap rates, REIT analysis, development
16esg-analystsonnetESG scoring, carbon accounting, impact investing
17macro-economistopusGDP, monetary policy, fiscal policy, forecasting
18micro-economistopusMarket structures, price theory, game theory
19accounting-specialistsonnetHGB/IFRS, consolidation, Jahresabschluss
20controllersonnetKostenrechnung, KPI systems, Deckungsbeitraege

Orchestration Rules

Model Selection

  • Opus agents handle complex reasoning tasks: valuation modeling, strategic advisory, economic theory, and multi-step deal analysis.
  • Sonnet agents handle structured, standards-driven tasks: compliance checks, bookkeeping, ratio calculations, and procedural audits.

Agent Communication

  • Agents pass structured outputs to downstream agents in the workflow chain.
  • Each agent receives the accumulated context from prior agents in the chain.
  • The initiating agent (first in the workflow) sets the scope and parameters.
  • The final agent in the chain consolidates findings into a unified deliverable.

Escalation Protocol

  • Sonnet agents escalate to opus agents when ambiguity exceeds their scope.
  • Any agent can flag a compliance concern, which triggers the compliance-officer.
  • Tax implications detected by any agent trigger a handoff to tax-specialist.
  • Cross-border transactions require both compliance-officer and tax-specialist review.

Quality Gates

  • All financial figures must pass a reasonableness check before being passed downstream.
  • Valuation outputs require sensitivity analysis before delivery.
  • Regulatory conclusions must cite the specific regulation and paragraph.
  • Audit findings must be classified by severity (critical, major, minor, observation).

Multi-Agent Workflows

M&A Deal

investment-banker --> ma-analyst --> credit-analyst --> tax-specialist --> compliance-officer
  1. investment-banker: Structures the deal, prepares initial valuation (DCF, comps, precedent transactions), and drafts the pitch book.
  2. ma-analyst: Conducts due diligence, identifies synergies and integration risks, and models post-merger financials.
  3. credit-analyst: Assesses acquisition financing, evaluates covenant structures, and scores credit impact.
  4. tax-specialist: Analyzes tax implications of deal structure, reviews transfer pricing, and optimizes tax position.
  5. compliance-officer: Verifies antitrust, regulatory approvals, AML/KYC on counterparties, and filing requirements.

Startup Investment

vc-analyst --> equity-researcher --> tax-specialist --> compliance-officer
  1. vc-analyst: Screens deal flow, performs startup valuation (VC method, scorecard, Berkus), and models cap table impact.
  2. equity-researcher: Conducts deep fundamental analysis on the market, competitive positioning, and unit economics.
  3. tax-specialist: Reviews QSBS eligibility, carried interest treatment, and fund-level tax structuring.
  4. compliance-officer: Verifies accredited investor status, securities exemptions, and regulatory filings.

Annual Report

accounting-specialist --> auditor --> tax-specialist --> cfo-advisor
  1. accounting-specialist: Prepares financial statements (HGB/IFRS), handles consolidation, and completes the Jahresabschluss.
  2. auditor: Reviews financial statements, tests internal controls, and issues audit findings with materiality assessment.
  3. tax-specialist: Prepares tax computations, reviews deferred tax positions, and ensures tax footnote accuracy.
  4. cfo-advisor: Synthesizes into board-ready materials, drafts management commentary, and prepares investor messaging.

Economic Analysis

macro-economist --> micro-economist --> fpa-analyst --> cfo-advisor
  1. macro-economist: Analyzes GDP trends, monetary policy direction, inflation outlook, and fiscal policy impact.
  2. micro-economist: Translates macro conditions into industry-level effects using market structure and price theory.
  3. fpa-analyst: Incorporates economic assumptions into financial forecasts, budgets, and scenario plans.
  4. cfo-advisor: Translates economic outlook into strategic recommendations and capital allocation decisions.

LBO

pe-analyst --> investment-banker --> credit-analyst --> tax-specialist
  1. pe-analyst: Builds the LBO model, defines value creation levers, and models exit scenarios with IRR/MOIC targets.
  2. investment-banker: Structures the financing (senior, mezzanine, equity), and prepares the information memorandum.
  3. credit-analyst: Stress-tests the debt structure, models covenant headroom, and assesses refinancing risk.
  4. tax-specialist: Optimizes the holding structure, reviews interest deductibility, and plans tax-efficient exits.

Agent Capabilities by Domain

Investment Banking and Capital Markets

  • investment-banker: DCF, trading comps, precedent transactions, pitch books, fairness opinions
  • equity-researcher: Earnings models, price targets, sector coverage, initiation reports
  • credit-analyst: Credit ratings, covenant analysis, default probability, recovery rates

Corporate Finance and FP&A

  • cfo-advisor: Capital structure optimization, dividend policy, investor relations, board strategy
  • fpa-analyst: Driver-based planning, rolling forecasts, budget variance, KPI dashboards
  • corporate-treasurer: Cash pooling, FX risk management, interest rate hedging, bank relationships

Accounting and Audit

  • accounting-specialist: HGB/IFRS accounting, group consolidation, intercompany elimination
  • auditor: ISA-based audit procedures, control testing, management letter points
  • controller: Kostenrechnung (cost accounting), Profit center reporting, Deckungsbeitragsrechnung

Tax and Compliance

  • tax-specialist: Corporate income tax, VAT, transfer pricing, international tax planning
  • compliance-officer: AML/KYC screening, regulatory reporting, policy implementation

Alternative Investments

  • vc-analyst: Startup valuation, term sheet negotiation, portfolio construction, follow-on strategy
  • pe-analyst: LBO modeling, operational improvement, bolt-on acquisitions, exit planning
  • real-estate-finance: Property valuation, development feasibility, REIT analysis, debt sizing

Specialized Finance

  • wealth-advisor: Portfolio construction, estate planning, tax-loss harvesting, retirement planning
  • actuary: Life/non-life reserving, pricing models, Solvency II, stochastic modeling
  • esg-analyst: ESG materiality assessment, carbon footprint, SFDR classification, green bonds

Economics

  • macro-economist: Business cycle analysis, central bank policy, sovereign risk, trade flows
  • micro-economist: Competitive dynamics, elasticity analysis, welfare economics, regulation impact

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.