Billing And Litigation Budget 标志

Billing And Litigation Budget

社区
THUYRan
billing-and-litigation-budget

当用户需要跟踪或管理律师工时、专家费用和调查成本,控制诉讼开支,或为客户准备工时表、费用清单时,使用此技能。常见触发场景包括但不限于:- 提及“计费工时”“专家费用”“调查成本”“案件费用”“工时表”“费用清单”“预算”或“成本控制”等关键词 - 询问某位律师的工时、某个事项的案件费用或诉讼开支 - 要求整理律师工时汇总、案件工时表或案件费用清单,以便交付客户或申请报销 - 需要为某项事务或持续性法律服务(常法服务)编制预算、监控预算执行情况或分析预算偏差 - 需要评估诉讼成本与预期收益,并进行诉讼经济分析

Add to TypingMind

概览

发布者THUYRan
代码仓库Legal-Skills-Chinese
技能名称billing-and-litigation-budget
星标数
876
复刻数
97
附带文件
仅含指令
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 THUYRan 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Billing And Litigation Budget AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/THUYRan/Legal-Skills-Chinese/tree/main/English/skills/billing-and-litigation-budget
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/THUYRan/Legal-Skills-Chinese.git /tmp/Legal-Skills-Chinese
mkdir -p .claude/skills
cp -r /tmp/Legal-Skills-Chinese/English/skills/billing-and-litigation-budget .claude/skills/billing-and-litigation-budget
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Billing And Litigation Budget,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Billing And Litigation Budget。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Billing And Litigation Budget 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Chinese source (authoritative): ../../skills/billing-and-litigation-budget/SKILL.md

Time Billing and Litigation Budget Control

Overview Table

ItemContent
Capability NameTime Billing and Litigation Budget Control
Capability ID30
Capability TypeLegal Practice Management
Core FunctionsManage attorney hours, expert fees, and investigation costs; prepare and monitor litigation budgets; keep litigation costs under control
InputsMatter information, role time records, expense receipts, budget targets, rate schedules
OutputsTimesheets, expense statements, budget execution reports, cost variance analyses, litigation economics assessments
Related CapabilitiesFull Matter Lifecycle Planning (obtain matter milestones); Legal Document Generation (issue formal invoices/bills)
Risk LevelMedium (billing errors may lead to client disputes or firm losses)

Legal Disclaimer

Important notices:

  1. The time-tracking and fee-management methods in this skill are for reference only. Actual billing must follow the Measures for the Administration of Lawyers' Service Fees (律师服务收费管理办法) and local bar association fee standards.
  2. Hourly billing requires prior agreement with the client on billing method, rates, and billing granularity (typically 0.1 hour or 6 minutes).
  3. Contingency (风险代理), fixed-fee, and hourly billing modes use different cost-accounting logic and must be handled separately.
  4. Client billing data must be properly safeguarded to ensure data security and confidentiality.
  5. Budget control is for internal management reference only and does not constitute a service commitment to the client.

I. Core Concepts

1.1 Billing Mode Classification

Billing ModeDescriptionTypical Use CasesBudget Control Focus
Hourly billingActual hours worked × hourly rateLitigation; complex non-contentious mattersPrecise time recording; control total hours
Fixed feeOne-time or staged fixed feeStandardized legal services (contract review; ongoing/retainer legal services 常法)Keep actual effort within the agreed fee
Contingency / risk agency (风险代理)Base fee + percentage of outcomeDispute resolution; enforcement mattersEnsure base fee covers costs; treat success fee as upside
Hybrid billingCombination of hourly + fixed + contingencyLarge, complex projectsManage by module; account separately

1.2 Cost Components

Total Litigation Cost
├── Internal Labor Cost
│   ├── Partner hours × partner rate
│   ├── Lead counsel hours × attorney rate
│   ├── Paralegal / associate hours × assistant rate
│   └── Intern hours × intern rate (usually non-billable or discounted)
├── External Expert Fees
│   ├── Appraisal / forensic fees (judicial appraisal 司法鉴定, asset valuation, audit, etc.)
│   ├── Expert witness fees
│   └── Technical advisor fees
├── Investigation & Evidence Costs
│   ├── Notarization fees (公证费)
│   ├── Investigation / evidence-gathering fees
│   ├── Travel (transport, lodging, meals)
│   └── Translation fees
├── Court / Arbitration Institution Fees
│   ├── Court fees / arbitration fees (诉讼费/仲裁费)
│   ├── Preservation fees (保全费, including guarantee fees)
│   ├── Public notice fees (公告费)
│   └── Enforcement fees (执行费)
└── Other Expenses
    ├── Document printing and binding
    ├── Courier and communications
    └── Third-party platform fees

1.3 Three Stages of Budget Management

StageTimingCore Tasks
Budget preparationBefore matter kickoff / at engagementEstimate total cost; set rates; confirm budget cap with client
Budget executionDuring the matterRecord time and expenses in real time; issue bills periodically; monitor budget utilization
Budget finalizationAt matter closeAggregate all costs; issue final bill; perform cost-benefit analysis

II. End-to-End Workflow

Stage One: Initialization

Step 1: Confirm Billing Mode and Rates
  • Confirm the matter's billing mode (hourly / fixed / contingency / hybrid)
  • Specify hourly rates by role (partner, attorney, assistant, intern)
  • Specify billing granularity (recommend 0.1 hour or 6 minutes as the minimum unit)
  • Confirm whether a budget cap or hour cap applies
  • Enter rate information into the system as the basis for subsequent automatic calculation
Step 2: Create Matter and Role Profiles
  • Enter the matter name (e.g., "Company A v. Company B Infringement Dispute")
  • Identify matter type (litigation / arbitration / ongoing retainer 常法 / special project)
  • Create or match participating roles (partner, lead counsel, legal assistant, intern)
  • Assign a rate to each role
  • For ongoing/retainer legal services, also set the service period and monthly/quarterly budget

Stage Two: Time and Expense Recording

Step 3: Time Entry
  • Record date, start time, end time (or duration)
  • Record a work description (must be specific and verifiable; avoid vague phrases such as "handling case matters")
  • Auto-calculate hours × rate = amount
  • Tag work type (legal research / drafting / hearing preparation / client communication / travel, etc.)

Time-entry quality standards:

  • ✅ Specific description: "Drafted initial complaint; organized evidence list; approx. 3 hours"
  • ❌ Vague description: "Handled case matters; approx. 3 hours"
  • ✅ Accurate time: to 0.1 hour or 6 minutes
  • ❌ Fuzzy time: "half a day," "a little while"
Step 4: Expense Entry
  • Enter expense type (travel, expert fees, notarization, court fees, etc.)
  • Enter amount, date incurred, and payer
  • Link corresponding receipts (photo/scan upload, store as PDF)
  • Run OCR on receipts to extract amount, date, and issuer; reconcile against manual entry
  • Mark whether the expense is client-billable or firm-borne (non-billable)

Stage Three: Billing and Budget Monitoring

Step 5: Generate Timesheets

By role:

  • Aggregate all time entries for a role in a given period
  • Sort by date; show daily work description, hours, and amount
  • Show cumulative hours and fees for that role on the matter

By matter:

  • Aggregate all role hours for a matter
  • Group statistics by role (partner / attorney / assistant hours)
  • Show cumulative matter hours and fees
  • Compare against budget cap; show budget utilization rate
Step 6: Generate Expense Statements
  • Aggregate all expenses for a matter or period
  • Group by expense type (travel, expert fees, court fees, etc.)
  • Link a receipt list so each expense has supporting documentation
  • Show client-billable vs. firm-borne expenses
Step 7: Budget Execution Monitoring
  • Calculate budget utilization rate = incurred cost / budget cap × 100%
  • Green (<70%): Budget ample; proceed normally
  • Yellow (70%–90%): Budget tight; remind lead counsel to control costs
  • Red (>90%): Overrun risk; assess whether to request additional budget or adjust scope
  • Generate a budget execution report listing incurred cost, remaining budget, and projected total cost (extrapolated from current progress)

Stage Four: Delivery and Archiving

Step 8: Issue Formal Bills
  • Per client needs, choose billing cycle (monthly / quarterly / matter milestones / at close)
  • Generate a firm-standard formal bill (firm letterhead, matter info, billing period, detailed time/expense line items, totals, payment account)
  • Attach detailed timesheets and copies of expense receipts
  • Record bill send date and expected payment date
Step 9: Cost Finalization and Analysis
  • After matter close, aggregate all time and expenses
  • Calculate variance of actual total cost vs. budget
  • Analyze variance drivers (hours over expectation? expenses over? scope creep?)
  • Assess litigation economics (cost vs. amount in dispute / client benefit)
  • Prepare a closing cost report and archive for reference

III. Output Format Templates

Output 1: Role Timesheet

markdown
# Timesheet

**Matter:** Company A v. Company B Infringement Dispute  
**Billing Period:** March 1, 2025 — March 31, 2025  
**Role:** Attorney Wang Yi  
**Hourly Rate:** RMB 500/hour

| Date | Work Description | Hours | Amount |
|------|----------|------|------|
| Mar 5 | Meeting with client to confirm litigation strategy; inquired into evidence preparation progress | 2.0h | RMB 1,000 |
| Mar 8 | Drafted initial complaint; organized evidence list | 3.5h | RMB 1,750 |
| Mar 12 | Filed case at court; submitted preservation application | 4.0h | RMB 2,000 |
| ... | ... | ... | ... |

**Month total: 15.5h, RMB 7,750**  
**Matter cumulative: 45.5h, RMB 22,750**

Output 2: Matter Expense Statement

markdown
# Case Expense Statement

**Matter:** Company A v. Company B Infringement Dispute  
**Expense Period:** March 1, 2025 — March 31, 2025

| Date | Expense Type | Amount | Payer | Receipt Status |
|------|----------|------|--------|----------|
| Mar 10 | Travel – train ticket | RMB 497 | Attorney Wang Yi | ✓ Archived |
| Mar 15 | Lodging | RMB 1,089 | Partner Liu Yi | ✓ Archived |
| Mar 20 | Notarization fee | RMB 800 | Assistant Zhao Yi | ✓ Archived |

**Month total: RMB 2,386**  
**Matter cumulative: RMB 8,650**

Output 3: Budget Execution Report

markdown
# Budget Execution Report

**Matter:** Company A v. Company B Infringement Dispute  
**Report Date:** March 31, 2025

## I. Budget Overview

| Item | Budget | Incurred | Remaining | Utilization |
|------|----------|-----------|----------|--------|
| Internal labor cost | RMB 80,000 | RMB 45,500 | RMB 34,500 | 56.9% 🟢 |
| External expert fees | RMB 20,000 | RMB 12,000 | RMB 8,000 | 60.0% 🟢 |
| Investigation & evidence costs | RMB 15,000 | RMB 8,650 | RMB 6,350 | 57.7% 🟢 |
| Court fees | RMB 5,000 | RMB 3,200 | RMB 1,800 | 64.0% 🟢 |
| **Total** | **RMB 120,000** | **RMB 69,350** | **RMB 50,650** | **57.8% 🟢** |

## II. Projected Total Cost

Based on current matter progress (first-instance proceedings ongoing; ~2 hearings and 1 judgment remaining), projected total cost:
- Internal labor cost: RMB 75,000 (remaining effort ~30 attorney hours + 10 partner hours)
- External expert fees: RMB 18,000 (one supplemental appraisal still needed)
- Investigation & evidence costs: RMB 12,000 (one more travel for evidence gathering)
- Court fees: RMB 5,000 (court fees already paid in full)
- **Projected total cost: RMB 110,000** (within budget; surplus ~RMB 10,000)

## III. Risk Alerts

- If the opposing party files a counterclaim, expect ~20 additional attorney hours; request additional budget of RMB 10,000
- If the matter proceeds to second instance, expect total cost to increase by RMB 40,000–50,000

IV. Examples

Example 1: Monthly Bill for an Hourly-Billed Matter

Input:

"We need to prepare Company A's March work-hour statement for that case with Company B."

Processing flow:

  1. Matter match: Company A v. Company B Infringement Dispute
  2. Task identification: retrieve March 2025 timesheet for the matter
  3. Confirm scope: include partners, attorneys, and legal assistants; exclude interns
  4. Generate timesheet: group by role; show all entries from March 1–31
  5. Also generate expense statement: show March travel, notarization, etc.
  6. Update budget monitoring: show cumulative utilization for the matter

Output: Role timesheet + matter expense statement + budget execution alert

Example 2: Budget Warning

Input:

"Check how much budget is left on Company A's M&A deal."

Processing flow:

  1. Matter match: Special legal services for Company A's acquisition of Company B
  2. Query budget status: total budget RMB 300,000; incurred RMB 285,000
  3. Trigger red alert: utilization 95%
  4. Analyze remaining work: final review of transaction documents, closing assistance, transitional support
  5. Estimate remaining cost: at least RMB 20,000 more needed
  6. Generate warning report: recommend discussing additional budget with client or trimming scope

Output: Budget execution report (red alert) + recommended options

Example 3: Litigation Economics Analysis

Input:

"The amount in dispute is RMB 500,000. How much have we spent so far—is it worth continuing?"

Processing flow:

  1. Matter match: a contract dispute
  2. Query incurred cost: attorney fees RMB 80,000 + court fees RMB 8,800 + appraisal fees RMB 15,000 = RMB 103,800
  3. Query projected remaining cost: second-instance attorney fees RMB 40,000 + court fees RMB 8,800 = RMB 48,800
  4. Cost-benefit ratio: incurred + projected = RMB 152,600 vs. amount in dispute RMB 500,000
  5. Assess win probability: ~70% based on existing evidence
  6. Expected value: 500,000 × 70% − 152,600 = RMB 197,400

Output: Cost-benefit analysis report

markdown
# Litigation Economics Analysis Report

**Matter:** Contract Dispute  
**Amount in Dispute:** RMB 500,000  
**Assessment Date:** April 15, 2025

## Cost Analysis

| Stage | Incurred Cost | Projected Remaining | Subtotal |
|------|-----------|-------------|------|
| First instance | RMB 103,800 | RMB 0 | RMB 103,800 |
| Second instance | RMB 0 | RMB 48,800 | RMB 48,800 |
| **Total** | | | **RMB 152,600** |

## Benefit Assessment

- Win probability: 70% (based on existing evidence and counterparty's ability to perform)
- Expected recovery: 500,000 × 70% = RMB 350,000
- Net expected value: 350,000 − 152,600 = RMB 197,400

## Conclusion and Recommendations

**Recommend continuing litigation.** Although incurred costs already exceed 20% of the amount in dispute, win probability is relatively high and net expected value is positive.
Recommendations:
1. Attempt mediation before second instance to reduce further costs
2. If mediation fails, seek property preservation to secure enforcement
3. Cap second-instance attorney hours at 30

V. Common Errors and Controls

Error TypeDescriptionConsequencesPreventive Measures
Delayed time entryAttorneys backfill hours from memory, causing inaccurate timeBilling disputes; client distrustRequire same-day or weekly batch entry; set reminders
Rate mix-upDifferent matters use different rates, but system not updated and old rates still appliedUnder- or over-billingForce rate confirmation when creating each new matter
Expense misclassificationFirm-borne costs wrongly classified as client-billableClient complaints; trust crisisMaintain an expense classification list clarifying billable vs. non-billable
No overrun warningClient informed only after utilization hits 100%Client dissatisfaction; collection difficultySet 70% and 90% warning thresholds; communicate proactively
Missing receiptsExpense incurred but no supporting receiptCannot reimburse; tax riskRequire receipt upload on expense entry; otherwise mark as "pending"
Intern hour billing disputesInconsistent rules on whether/how intern hours are billedClient challenges bill reasonablenessSpecify intern hour billing rules in the engagement letter

VI. Special Scenario Handling

6.1 Cost Control under Fixed Fees

Under fixed fees, firm revenue is capped, so cost control is especially critical:

  • At engagement, estimate an hour ceiling (e.g., fixed fee RMB 5,000 for contract review; expect ~4 attorney hours)
  • Monitor actual effort in real time; if overrun is imminent, assess scope creep
  • If client needs exceed original scope, issue a supplemental agreement clarifying additional fees

6.2 Cost Accounting for Contingency / Risk Agency (风险代理)

Contingency matters have low early revenue; ensure the base fee covers costs:

  • Calculate floor cost (minimum hours and expenses required)
  • Ensure base fee ≥ floor cost
  • Probability-weight expected success fees; do not use expected upside as the basis for cost control

6.3 Multi-Client Cost Allocation

When multiple clients share the same attorney team or investigation activity:

  • Record total hours / total expenses
  • Allocate by benefit to each client or by a pre-agreed ratio
  • Issue separate bills noting the allocation basis

6.4 Multi-Year Matters

When a matter spans multiple calendar years:

  • Issue bills by year (supports client annual budgeting and firm annual revenue recognition)
  • At year-end, issue a cumulative annual report showing full-year costs and budget utilization
  • At the start of the new year, confirm whether the budget continues or is adjusted

VII. Quality Checklist

markdown
□ 1. Has the billing mode been confirmed with the client in writing?
□ 2. Have rates for each role been entered and verified?
□ 3. Are time entries specific, accurate, and auditable?
□ 4. Does each expense have a corresponding receipt?
□ 5. Has budget utilization been calculated and tagged with a warning level?
□ 6. Does the bill format meet firm standards?
□ 7. Are bill amounts calculated correctly (hours × rate + expenses)?
□ 8. Have client-billable and firm-borne expenses been distinguished?
□ 9. Is projected total cost within budget?
□ 10. Has the client received and confirmed the bill?

VIII. Best Practices

  1. Rate transparency: Specify rates by role in the engagement letter or supplemental agreement to avoid later disputes.
  2. Time granularity: Prefer 0.1 hour (6 minutes) as the minimum unit; coarser increments (e.g., 0.5-hour minimum) distort cost estimates.
  3. Real-time recording: Encourage same-day time entry; delayed entry causes omissions and estimation bias.
  4. Budget up front: Set a budget cap at matter kickoff rather than controlling only after overrun.
  5. Periodic reconciliation: Send clients bills and budget execution reports monthly or quarterly to maintain transparency.
  6. Cost-benefit mindset: Before major decisions (appeal, appraisal application, etc.), estimate cost and assess economics.

IX. Related Skills

Related SkillRelationshipNotes
Full Matter Lifecycle PlanningUpstream / parallelObtain matter milestones to estimate remaining effort and cost
Legal Document GenerationDownstreamIntegrate timesheets and expense statements into firm-standard formal bills
Standardized Legal TerminologySupportingEnsure accurate, standardized legal terms and amount wording in bills and reports

X. Limitations and Risk Notices

  • Data dependency: Accuracy depends entirely on the quality of input time and expense data—Garbage In, Garbage Out.
  • No automatic capture: Unless integrated with the firm's practice management system or email/calendar, time entry relies on manual input.
  • Rate dynamics: Attorney rates may change over time (e.g., annual raises); update system rate baselines promptly.
  • Client sensitivity: Billing data involves sensitive client information; transmission and storage must meet data-protection requirements.

常见问题

Billing And Litigation Budget AI 技能有什么作用?

当用户需要跟踪或管理律师工时、专家费用和调查成本,控制诉讼开支,或为客户准备工时表、费用清单时,使用此技能。常见触发场景包括但不限于:- 提及“计费工时”“专家费用”“调查成本”“案件费用”“工时表”“费用清单”“预算”或“成本控制”等关键词 - 询问某位律师的工时、某个事项的案件费用或诉讼开支 - 要求整理律师工时汇总、案件工时表或案件费用清单,以便交付客户或申请报销 - 需要为某项事务或持续性法律服务(常法服务)编制预算、监控预算执行情况或分析预算偏差 - 需要评估诉讼成本与预期收益,并进行诉讼经济分析

为什么在 TypingMind 中使用 Billing And Litigation Budget?

因为您只需安装一次,就能搭配任何模型使用。Billing And Litigation Budget 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Billing And Litigation Budget?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/THUYRan/Legal-Skills-Chinese/tree/main/English/skills/billing-and-litigation-budget。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Billing And Litigation Budget?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Billing And Litigation Budget 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Billing And Litigation Budget 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Billing And Litigation Budget AI 技能免费吗?

THUYRan 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇