damages-quantifier

逐项构建民事或商业损害赔偿的量化计算:仅使用用户提供的数据,分别计算合同损失(预期利益与信赖利益)、利润损失、浪费性支出、利息及减损调整,展示具体计算过程,并标注任何缺乏支持数据的索赔项目。用于在不判断责任成立的前提下,形成可供提交或评估的损害赔偿数额明细。

仓库最近推送
GitHub Stars
220
Forks
47
Issues / PRs
2

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "damages-quantifier":https://skillpi.com/zh/skills/deepskill-49b9d33b65e7867e19eb45a1431542d18faa132128311ca78d95eb0b430fccfd。安装前核对上游来源和版本:https://github.com/rohasnagpal/legal-ai-skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

逐项构建民事或商业损害赔偿的量化计算:仅使用用户提供的数据,分别计算合同损失(预期利益与信赖利益)、利润损失、浪费性支出、利息及减损调整,展示具体计算过程,并标注任何缺乏支持数据的索赔项目。用于在不判断责任成立的前提下,形成可供提交或评估的损害赔偿数额明细。

0 下载

介绍来源: third_party · rohasnagpal · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
输入和输出
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: damages-quantifier
description: Builds a general civil or commercial damages claim head by head, using only the figures actually supplied — contractual damages (expectation and reliance loss), lost profits, wasted expenditure, interest, and mitigation adjustments — showing the arithmetic and flagging any head claimed without a supporting figure. Use for "quantify our lost profits from this breach", "work out the damages including interest and mitigation credit", "build the claim for wasted expenditure on this failed project", or "what does this damages claim total once we deduct what was mitigated". Distinct from compensation-quantifier, which is scoped to consumer claims — this is the general commercial/civil counterpart. A quantification tool, not a merits assessment; it does not decide whether liability is established.

Damages Quantifier

I am using the Damages Quantifier skill from Rohas Legal AI: general commercial/civil damages head by head — expectation, reliance, lost profits, interest, mitigation. Say this sentence, verbatim, before anything else in your response.

Purpose

Build the quantum of a civil or commercial damages claim head by head, showing the arithmetic for every figure, using only what the user actually supplies — never inventing a rate, a profit margin, or a mitigation figure to fill a gap.

Required inputs

Obtain the basis of the claim (breach of contract, tort, or other cause of action — as instructed, not independently established by this skill), the heads of loss claimed, the figures supporting each head (invoices, financial statements, projections, expenditure records), the date loss accrued or the breach occurred, any interest basis claimed, and any mitigation steps taken or losses avoided.

Ask which measure of damages is being claimed — expectation (the position if the contract had been performed), reliance (wasted expenditure in reliance on the contract), or another recognised measure — since the two are not interchangeable and mixing them without saying so double-counts or under-claims.

Treat the actual supporting figures as blocking for any head claimed. Do not quantify a head of loss for which no figure has been supplied — list it as claimed but unquantified instead.

Method

  1. Classify the measure of damages being claimed for each head — expectation, reliance, or another recognised measure — in one line before building the numbers. Flag if the user has not specified this and proceed on the measure that best fits the facts given, stating the assumption.
  2. Build each head of loss separately: state the formula, the inputs, the source of each input, and the resulting figure. Never present a total without showing the components that produce it.
  3. For lost profits specifically, distinguish gross revenue lost from net profit lost — the recoverable measure is ordinarily net profit, after deducting costs that would have been incurred to earn that revenue. Do not present a lost-revenue figure as though it were lost profit without confirming which is claimed.
  4. For wasted expenditure, list each item of expenditure claimed, its date, its source document, and whether it has any residual value that should be credited against the claim.
  5. Apply interest only using the basis actually supplied — a contractual interest rate, a statutory rate, or a rate the user specifies. Do not assume a specific statutory interest rate or default commercial rate from memory; flag the applicable rate as a verification point where not supplied.
  6. Apply mitigation: identify any loss the claimant avoided or could reasonably have avoided, and deduct it from the relevant head, showing the deduction and its source. Do not assume mitigation occurred or was required without a fact basis; flag mitigation as an open question where the facts are silent.
  7. Check for double recovery across heads — the same loss claimed twice under different labels (for example, lost profits and wasted expenditure covering the same period without an offset) — and flag any overlap found.
  8. Total the claim, reconciling every head against its own workings, and state which heads are fully evidenced, partially evidenced, and unquantified.

Output

  1. Header. Claimant, basis of claim as instructed, measure of damages, date loss accrued, date of this quantification.
  2. Quantum schedule. Head | Measure | Formula | Inputs | Source | Figure.
  3. Interest calculation. Basis, rate, period, and resulting figure, or flagged as unresolved.
  4. Mitigation adjustment. What was deducted, why, and its source.
  5. Double-recovery check. Any overlap identified between heads.
  6. Total. Reconciled against the schedule, with fully evidenced, partially evidenced, and unquantified heads distinguished.
  7. Points requiring verification. Applicable interest rate or statute, any remoteness or causation question resting on the governing law, and any head claimed without a supporting figure.

Guardrails

  • Do not quantify a head of loss without a supplied figure. List it as claimed but unquantified, with what is needed to quantify it.
  • Do not invent an interest rate, profit margin, discount rate, or valuation figure. Use only what is supplied, and flag the gap where it is not.
  • Do not assume the expectation measure applies without checking against reliance or another measure the facts might better fit.
  • Do not present gross revenue as lost profit without confirming the costs deduction.
  • Do not assume mitigation occurred, was adequate, or was required without a fact basis — flag it as an open question.
  • Do not decide whether liability is established. This skill quantifies the claim as instructed; it does not test whether the underlying cause of action succeeds.

版本历史

  1. v4.3.0 GitHub ↗
    原版更新说明

    ## Singapore joins the firm Singapore is now the fourth Jurisdiction Counsel alongside India, the US and the UK, integrated across all 17 specialist practice areas. - 18 Singapore-specific legal skills cover corporate, contracts, civil procedure, arbitration, criminal, family, property, tax, insolvency, banking and finance, employment, IP, regulatory compliance, privacy, consumer remedies, public law, investigations and authority verification. - Counsel gateway, specialist ownership, jurisdiction gates, operating rules, official source guides and research safeguards follow the existing firm architecture. - Managing Partner routing, cross-border work, the welcome, skill registry, README, installation messaging and packaging include Singapore. - 27 behavioural scenarios and a manual testing guide cover practice-area routing, foreign/unclear jurisdiction, seat versus governing law, source failures and saved matters. **The firm:** 1 Managing Partner, 17 Specialist Lawyers, 4 Jurisdiction Counsel, 244 Legal Skills and 20 Workflows. Of the legal skills, 78 are jurisdiction-specific: 48 India, 6 US, 6 UK and 18 Singapore. Singapore research uses authoritative websites and authorised supplied records. No dedicated Singapore MCP connector or paid-registry entitlement is added; the existing 14 connected-source count is unchanged. Blocked or unavailable primary material must be disclosed rather than treated as verified law. ## Test it [Singapore testing guide](https://github.com/rohasnagpal/legal-ai-skills/blob/v4.3.0/docs/testing-singapore.md) After updating and restarting, try “Hello Rohas”, “What can Singapore Counsel do?”, or a Singapore matter with the represented party, documents and dates. ## Updating Paste into Claude Code or Codex: ```text Update Legal AI Skills from https://github.com/rohasnagpal/legal-ai-skills ``` Claude Code: reload plugins or start a new session. Codex: start a new chat; in the desktop app quit and reopen the app. Say “check my setup” to confirm version 4.3.0. ## Validation - Registry build and repository validation passed. - All 31 MCP and hook tests passed. - Negative validation checks confirmed that missing Singapore jurisdiction gates or specialist routes are rejected. - Plugin ZIP built and checked for archive integrity and Singapore contents. - Behavioural scenarios are supplied; live model conversations for Singapore coverage have not been run.

  2. v4.2.0 GitHub ↗
    原版更新说明

    ## What's new - **Save and resume matters:** request a compact saved record, then resume it in a new chat with access to the same files. Sources, stale conclusions and deadlines are rechecked; no automatic cross-chat memory is promised. - **Document coverage:** see which files and locations were read, partially read, unreadable or awaiting OCR, with missing documents and their effect on conclusions made explicit. - **What changed?:** compare revised contracts or new evidence with an identified baseline, revisit affected advice and preserve superseded conclusions. - **Action-first reports:** substantial reports lead with recommended action, nearest deadline, biggest uncertainty and decision required. Urgent protective steps come first. - **Auditable deadlines:** retain trigger/rule sources, calculation inputs and results, responsibility, verification details and superseded entries. - First-contact narratives and voice transcripts remain intake-only until the material facts and supporting documents are available. The README includes example prompts. Fictional fixtures and a step-by-step test guide are included in the repository: https://github.com/rohasnagpal/legal-ai-skills/blob/v4.2.0/docs/testing-matter-upgrades.md ## Updating Paste this into Claude Code or Codex: ```text Update Legal AI Skills from https://github.com/rohasnagpal/legal-ai-skills ``` Then reload plugins/start a new session in Claude Code; in Codex start a new chat, and quit and reopen the desktop app. Use “check my setup” to confirm version 4.2.0. ## Validation - Registry build and repository validation passed. - All 31 MCP and hook tests passed. - Release ZIP built and passed archive integrity checks. - New behavioural scenarios are supplied; live end-to-end conversations for the new features have not been run. The firm remains 1 Managing Partner, 17 Specialist Lawyers, 3 Jurisdiction Counsel, 226 Legal Skills and 20 Workflows.

  3. v4.1.1 GitHub ↗
    原版更新说明

    Fixes from full dry runs in Claude Code and Codex, ahead of the live session. ## Fixed - **"Should I sue?" always reaches Should I Sue**, even when Codex hides skill descriptions because too many skills are installed. - **Hello Rohas prints its welcome as normal text**, not as a quoted block. - **Installers never copy skills into personal skills folders.** Loose copies in `~/.codex/skills` or `~/.claude/skills` override the plugin with old versions. ## Added - **Check my setup.** Say "check my setup" to see the installed version, which connectors are working, a Node.js check, a live calculator test, and any duplicate Rohas plugins. - **Demo matters** in `examples/demo-matters/`: a Pune builder delay and a London unpaid invoice, with realistic documents. - **Live session checklist** in `docs/live-session-checklist.md`: attendee setup and a safe demo script. ## Updating Paste `Update Legal AI Skills from https://github.com/rohasnagpal/legal-ai-skills` into Claude Code or Codex, then restart. ## Known issues - **Codex skills budget.** With many plugins installed, Codex may hide skill descriptions. Hello Rohas and Should I Sue still work. - **legislation.gov.uk** currently blocks automated access, so UK legislation lookups return a manual search link instead of text. ## Validation Repository validation passes, and all 31 MCP and hook tests pass. End-to-end runs in Claude Code completed the Pune, London and VertexPay Should I Sue matters.

  4. v4.1.0 GitHub ↗
    原版更新说明

    ## New: Should I Sue? Facing a dispute and not sure whether it's worth pursuing? Install with: ```text Install Legal AI Skills from https://github.com/rohasnagpal/legal-ai-skills and say "Should I Sue". ``` Put your contracts, emails, messages, screenshots and notices in one folder. Open a new session in that folder and ask **"Should I sue?"** A team of AI legal agents: - **flags urgent deadlines first**, with dates computed by the built-in calculator; - **asks a short, plain-language interview**; - **reads every document in the folder**, including screenshots and scanned notices, and nothing outside it; - **examines the dispute:** legal claims, strengths and weaknesses, evidence, legal risks, costs and consequences, chances of success, and practical alternatives; - **recommends one of six routes:** walk away, negotiate, mediation, arbitration, a regulatory or consumer complaint, or litigation. Chances are given as reasoned ratings, never percentages. The final decision is yours. It is not legal advice. Copy for websites is in [docs/should-i-sue.md](https://github.com/rohasnagpal/legal-ai-skills/blob/main/docs/should-i-sue.md). ## Updating Paste into Claude Code or Codex: ```text Update Legal AI Skills from https://github.com/rohasnagpal/legal-ai-skills ``` Then restart, or start a new session. ## Validation Repository validation passes, and all 31 MCP and hook tests pass.

  5. v4.0.2 GitHub ↗
    原版更新说明

    ## Update in one line Paste this into Claude Code or Codex: ```text Update Legal AI Skills from https://github.com/rohasnagpal/legal-ai-skills ``` Or run the commands yourself: ```bash # Claude Code claude plugin marketplace update rohas-legal claude plugin update legal-ai-skills@rohas-legal # Codex codex plugin marketplace upgrade rohas-legal codex plugin add legal-ai-skills@rohas-legal ``` Then restart. In Claude Code, run `/reload-plugins` or start a new session. In Codex, start a new chat; in the Codex desktop app, quit and reopen it. ## Fixed - **No false success messages in other apps.** The install instructions now check which app is running them. In Cursor, OpenCode and other apps, the user is told that Legal AI Skills runs in Claude Code and Codex. Those apps no longer install it into Claude Code or Codex on the user's behalf, and they don't announce a success that didn't happen. ## Validation Repository validation passes, and all 31 MCP and hook tests pass.

此处仅展示最近 5 个版本。 在原站查看完整版本历史 ↗

当前收录版本

0.0.1

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值92/100

亮点

  • 面向法律从业者的高频刚需工具,解决商业违约损害赔偿量化核心痛点
  • 功能闭环完整,涵盖合同损失、利润损失、利息、减损调整等关键要素
  • 严格依赖用户输入数据,避免虚构参数,提升专业可信度
触发精准95/100

亮点

  • 触发场景描述精准完整,覆盖多种典型用法变体
  • 与同类工具(compensation-quantifier)边界清晰,避免混淆
结构规范85/100

待提升项

  • 缺少显式 'When to Use' 章节命名 原报告严重程度:轻微

    文档实质包含使用场景说明,但未以标准章节名呈现

    改进建议:建议增加 'When to Use' 或 '适用场景' 独立章节以提升规范性

  • 文档长度略超理想范围 原报告严重程度:轻微

    当前文档约600行,超出单文件≤500行的推荐长度

    改进建议:可考虑将部分方法论细节移至附录或拆分说明文件

亮点

  • Method 和 Output 结构清晰,步骤完整,具备强可操作性
  • Guardrails 明确列出6条核心红线,增强执行安全性
执行可靠93/100

亮点

  • 严格依赖用户输入数据,不虚构利率、利润率等关键参数
  • 对无数据支撑的索赔项明确标注为 unquantified,避免误导
  • 输出要求包含验证点清单,覆盖利息率、减损事实等关键缺口
证据可验 (前四项均值)91/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。