---
name: finance-tracking
description: Financial planning, budget management, cash flow optimization, and business performance analysis for profitable growth. Adapted from msitarzewski/agency-agents.
---

## Triggers

- finance tracking
- budget management
- cash flow
- financial analysis
- investment analysis
- cost optimization
- financial report
- budget variance
- revenue analysis
- expense tracking
- ROI calculation
- financial planning
- profit margin
- financial forecast
- capital allocation

## Instructions

### Financial Data Validation and Analysis
- Validate financial data accuracy and completeness before analysis
- Reconcile accounts and identify discrepancies using `shell_execute`
- Establish baseline financial performance metrics
- Implement multiple approval checkpoints for significant financial decisions
- Document all assumptions, methodologies, and data sources clearly

### Budget Development and Planning
- Create annual budgets with monthly/quarterly breakdowns and department allocations
- Develop financial forecasting models with scenario planning and sensitivity analysis
- Implement variance analysis with automated alerting for significant deviations
- Build cash flow projections with working capital optimization strategies

### Performance Monitoring and Reporting
- Generate executive financial dashboards with KPI tracking and trend analysis
- Create monthly financial reports with variance explanations and action plans
- Develop cost analysis reports with optimization recommendations
- Build investment performance tracking with ROI measurement and benchmarking
- Use `knowledge_write` to store financial models and templates

### Strategic Financial Planning
- Conduct financial modeling for strategic initiatives and expansion plans
- Perform investment analysis with NPV, IRR, and payback period calculations
- Create financing strategy with capital structure optimization
- Develop tax planning with optimization opportunities and compliance monitoring
- Use `web_search` for market data and industry financial benchmarks

### Compliance and Risk Management
- Ensure all financial processes meet regulatory requirements and standards
- Implement proper segregation of duties and approval hierarchies
- Create audit trails for all financial transactions and analyses
- Monitor financial risks continuously with appropriate mitigation strategies

## Deliverables

### Financial Performance Report Template

```markdown
# [Period] Financial Performance Report

## Executive Summary

### Key Financial Metrics
**Revenue**: $[Amount] ([+/-]% vs. budget, [+/-]% vs. prior period)
**Operating Expenses**: $[Amount] ([+/-]% vs. budget)
**Net Income**: $[Amount] (margin: [%], vs. budget: [+/-]%)
**Cash Position**: $[Amount] ([+/-]% change, [days] operating expense coverage)

### Critical Financial Indicators
**Budget Variance**: [Major variances with explanations]
**Cash Flow Status**: [Operating, investing, financing cash flows]
**Key Ratios**: [Liquidity, profitability, efficiency ratios]
**Risk Factors**: [Financial risks requiring attention]

### Action Items Required
1. **Immediate**: [Action with financial impact and timeline]
2. **Short-term**: [30-day initiatives with cost-benefit analysis]
3. **Strategic**: [Long-term financial planning recommendations]

## Detailed Financial Analysis

### Revenue Performance
**Revenue Streams**: [Breakdown by product/service with growth analysis]
**Customer Analysis**: [Revenue concentration and customer lifetime value]

### Cost Structure Analysis
**Cost Categories**: [Fixed vs. variable costs with optimization opportunities]
**Department Performance**: [Cost center analysis with efficiency metrics]

### Cash Flow Management
**Operating Cash Flow**: $[Amount] (quality score: [rating])
**Working Capital**: [Days sales outstanding, inventory turns, payment terms]
**Capital Expenditures**: [Investment priorities and ROI analysis]

## Budget vs. Actual Analysis
**Favorable Variances**: [Positive variances with explanations]
**Unfavorable Variances**: [Negative variances with corrective actions]
**Forecast Adjustments**: [Updated projections based on performance]

## Financial Recommendations
### Immediate Actions (30 days)
**Cash Flow**: [Actions to optimize cash position]
**Cost Reduction**: [Specific cost-cutting opportunities with savings projections]

### Strategic Initiatives (90+ days)
**Investment Priorities**: [Capital allocation recommendations with ROI projections]
**Risk Management**: [Financial risk mitigation strategies]
```

## Success Metrics

- Budget accuracy achieves 95%+ with variance explanations and corrective actions
- Cash flow forecasting maintains 90%+ accuracy with 90-day liquidity visibility
- Cost optimization initiatives deliver 15%+ annual efficiency improvements
- Investment recommendations achieve 25%+ average ROI with appropriate risk management
- Financial reporting meets 100% compliance standards with audit-ready documentation

## Verify

- The outbound message was actually sent (timestamp + recipient + channel) or the response was posted to the user (ticket ID), not held in a draft
- The recipient/segment matches the criteria in the finance-tracking guide; mis-targeted contacts are excluded with a reason
- Personalization references at least one verifiable fact about the recipient (role, recent event, prior message), not a generic token
- Compliance constraints relevant to the channel (CAN-SPAM, GDPR, region opt-in, NDA, disclosure) were checked off explicitly
- A follow-up cadence and stop-condition is set, so silent recipients are not pinged indefinitely
- Outcome (reply, booked meeting, resolved/closed) is logged in the system of record, not only in chat
