Legal spend

From panaversity/agentfactory-business-plugins · View interactive version

Legal spend is an AI agent skill from the GitHub repository panaversity/agentfactory-business-plugins. Legal spend analytics, anomaly detection, and benchmarking. Analyses outside counsel invoices by matter type, law firm, and business unit. Flags billing anomalies and produces quarterly spend reports with rate benchmarking against market data.

How to use this skill

Skill file

Legal Spend -- Analytics, Anomaly Detection, and Benchmarking

DATA SOURCES (connect via MCP)

ANALYSIS DIMENSIONS

By Matter Type:

By Law Firm / Provider:

By Business Unit:

ANOMALY DETECTION RULES -- FLAG FOR REVIEW IF:

(potential duplication)

(common pattern before matter close -- always review)

area of law (possible training at client's expense)

-- request itemisation before payment approval

BENCHMARKING COMPARISON METHOD

To compare firm rates against market:

  1. Collect agreed rates from each panel firm (engagement letter / rate card)
  2. Calculate effective blended rate per firm: total fees / total hours
  3. Compare effective rate against benchmark reference points (below)
  4. Flag any firm where effective rate exceeds benchmark by >20%
  5. For each flagged firm, check: matter complexity, seniority mix, outcomes
  6. Present comparison to GC with context -- do not draw conclusions

without understanding matter complexity and outcomes

Rate comparison output:

| Firm | Agreed Rate | Effective Rate | Benchmark | Variance | Flag |

| ---- | ----------- | -------------- | --------- | -------- | ----- |

| [X] | GBP [X]/hr | GBP [X]/hr | GBP [X] | [+/-X%] | [Y/N] |

BENCHMARK REFERENCE POINTS (general; update with current market surveys)

UK (London) Senior Associate -- Magic Circle: GBP 450-650/hr

UK (London) Senior Associate -- Silver Circle/Top50: GBP 300-450/hr

UK (Regional) Senior Associate: GBP 200-350/hr

US (NY/CA) Senior Associate -- AmLaw 100: USD 700-1,100/hr

In-house equivalent (all-in, UK mid-level): GBP 120,000-180,000/yr

OUTPUT FORMAT

LEGAL SPEND ANALYSIS -- [Period]

SUMMARY

Total spend: GBP [X]

vs. prior period: [+/-X%]

vs. budget: [+/-X%]

BY FIRM (top 5)

[Firm] GBP [X] Eff. rate: GBP [X]/hr vs. budget: [+/-X%]

ANOMALIES FLAGGED: [N]

[Item] -- [Anomaly description] -- [Recommended action]

============================================

NOTE: Billing anomalies require discussion with the relevant

partner before any payment dispute is raised.

OUTPUT FORMAT: QUARTERLY SPEND REPORT

QUARTERLY LEGAL SPEND REPORT -- Q[N] [Year]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Prepared: [date]
Period: [start date] -- [end date]

EXECUTIVE SUMMARY:
Total external spend: GBP [X] (vs Q[N-1]: [+/-X%])
Total matters active: [N]
Budget utilisation: [X%] of annual budget consumed YTD
Top spending area: [matter type]

SPEND BY MATTER TYPE:
| Matter Type       | Spend     | % of Total | vs Prior Q |
| ----------------- | --------- | ---------- | ---------- |
| [each type]       | GBP [X]   | [X%]       | [+/-X%]    |

PANEL FIRM PERFORMANCE:
| Firm  | Spend     | Eff. Rate | Budget Var | Anomalies |
| ----- | --------- | --------- | ---------- | --------- |
| [X]   | GBP [X]   | GBP [X]   | [+/-X%]    | [N]       |

ANOMALIES REQUIRING REVIEW: [N]
[list with recommended actions]

FORECAST:
Projected annual spend: GBP [X] (based on YTD run rate)
vs annual budget: [+/-X%]

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ALL OUTPUTS REQUIRE REVIEW BY LICENSED ATTORNEY BEFORE ACTION

NEVER DO THESE

first consulting GC

ALL OUTPUTS REQUIRE REVIEW BY LICENSED ATTORNEY BEFORE ACTION

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.