deal-debrief

deal-debrief is an agent for Claude Code from Buildwise-Studios/claude-for-hk-law. It costs 71 tokens per session (1,878 once invoked), scanned A, a copy of deal-debrief, Apache-2.0.

A weekly review agent for recently signed agreements that differed from the legal team's playbook, meaning its standard contract positions. It prompts the attorney to record why each deviation was accepted.

In plain words
What is it for?
Use it weekly or on demand to find signed contracts with deviations, record the business context, and feed those records into later playbook reviews.
Why use it?
It preserves deal knowledge while the reasons for unusual terms are still fresh and helps identify repeated changes that may justify updating the playbook.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; reads .claude/ paths; mentions CLAUDE.md.

Part of the commercial-legal plugin — 9 skills, 3 agents shipped together

Good fit Use it weekly or on demand to find signed contracts with deviations, record the business context, and feed those records into later playbook reviews.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/buildwise-studios/claude-for-hk-law/deal-debrief
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/Buildwise-Studios/claude-for-hk-law

Made for: Claude Code.

Or install commercial-legal, the plugin that ships this one along with the rest of its 9 skills, 3 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for deal-debrief

README.md
[![agentmods](https://agentmods.dev/badge/agents/buildwise-studios/claude-for-hk-law/deal-debrief/github.svg)](https://agentmods.dev/agents/buildwise-studios/claude-for-hk-law/deal-debrief)
Your own site
<a href="https://agentmods.dev/agents/buildwise-studios/claude-for-hk-law/deal-debrief"><img src="https://agentmods.dev/badge/agents/buildwise-studios/claude-for-hk-law/deal-debrief/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for deal-debrief

Your own site · 80×15
<a href="https://agentmods.dev/agents/buildwise-studios/claude-for-hk-law/deal-debrief"><img src="https://agentmods.dev/badge/agents/buildwise-studios/claude-for-hk-law/deal-debrief.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,878 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 86% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00071 $0.01878
Opus 5 $0.00036 $0.00939
Sonnet 5 $0.00014 $0.00376
Haiku 4.5 $0.00007 $0.00188

Measured 11d ago against content hash fd67ae29bc93, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

deal-debrief scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

86% identical to deal-debrief — 14 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

commercial-legal/agents/deal-debrief.md · 177 lines

How it starts

The opening of the file, as written. The whole thing — 177 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Deal Debrief Agent

Purpose

Deals close, everyone moves on, and the institutional knowledge about why a deviation was accepted walks out the door. This agent runs weekly, surfaces what was signed with deviations from the playbook, and lets the attorney log context while they still remember what happened.

The output feeds ~/.claude/plugins/config/claude-for-hk-law/commercial-legal/deviation-log.yaml. The playbook-monitor agent reads that log to propose playbook updates when patterns emerge — but only from deals the attorney hasn't flagged as one-offs.

Schedule

Weekly, Monday morning. Configurable — if deal volume is high, run Thursday afternoon instead so Friday closes don't go unlogged over the weekend.

What it does

Step 1 — Read the practice profile

Read ~/.claude/plugins/config/claude-for-hk-law/commercial-legal/CLAUDE.md in full. Extract:

  • All playbook positions (standard, acceptable fallbacks, never accept) for each clause category
  • The signed contracts repository location (Where signed contracts live field)
  • The one thing (deal-breaker clause)

Step 2 — Pull recently signed agreements

Using the repository location from ~/.claude/plugins/config/claude-for-hk-law/commercial-legal/CLAUDE.md:

  • If CLM connected: query for agreements with status = executed/signed in the last 7 days using mcp__*__search or mcp__*__query.
  • If Google Drive / SharePoint: search the specified folder for documents created or modified in the last 7 days with execution indicators (signatures present, "executed" in filename or metadata).
  • If no connector available or repository = manual upload: prompt the attorney:

    "I don't have access to your contracts repository right now. Drop any executed agreements from the last week here and I'll run the debrief."

If no agreements are found and no upload is provided, stop: "No executed agreements found in the last 7 days. Nothing to debrief."

Step 3 — Scan each agreement for deviations

Read the full file on GitHub · 177 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 177 lines · 71 tokens per session scan A fd67ae29bc93

Subscribe to this mod's changes

deal-debrief is an agent published in the GitHub repository Buildwise-Studios/claude-for-hk-law (5 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 71 tokens to every session and 1,878 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. It is 86% identical to deal-debrief, differing in 14 lines, and is treated as a copy.

Related

Other agents, from other repositories

penalista

Specialista in diritto penale italiano. Delega quando la questione riguarda reati, pene, prescrizione, misure cautelari o riti alternativi.

capazme/mcp-legal-it · 38 tokens

compliance-auditor

Expert compliance auditor specializing in regulatory frameworks, data privacy laws, and security standards. Masters GDPR, HIPAA, PCI DSS, SOC 2, and ISO certifications with focus on automated compliance validation and continuous monitoring.

NickCrew/Claude-Cortex · 52 tokens

leave-tracker

Weekly agent that monitors open employee statutory leave with hard legal deadlines — statutory maternity, paternity, adoption, shared parental, and parental bereavement leave under ERA 1996 and the associated Regulations; long-term sickness with reasonable-adjustments obligations under EqA 2010 — and fires…

uk-agents/uk-legal-plugins · 130 tokens

launch-watcher

Monitors the launch tracker (Jira/Linear) for upcoming launches that likely need UK legal review, flags them before product counsel gets surprised. Runs daily. Trigger: "what launches are coming", "what should I know about", "launch radar", or on schedule.

uk-agents/uk-legal-plugins · 59 tokens

ip-renewal-watcher

Scheduled agent that reads the IP portfolio register, computes what's due, and posts a ranked deadline report. Runs weekly by default. Posts to the channel named in /.claude/plugins/config/uk-legal-plugins/ip-legal-uk/CLAUDE.md → Renewal alerts. Trigger phrases: "what's renewing", "IP deadlines", "portfolio check"…

uk-agents/uk-legal-plugins · 91 tokens

reg-change-monitor

Scheduled agent that checks UK regulatory feeds and posts a filtered digest. Runs per the cadence in /.claude/plugins/config/uk-legal-plugins/regulatory-legal-uk/CLAUDE.md. Filters by materiality threshold so the digest is signal, not noise. Trigger: "reg digest", "what's new from UK regulators", "regulatory update"…

uk-agents/uk-legal-plugins · 82 tokens