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.
npx skills add hoavdc/CodexKit --skill codexkit-legal-due-diligencegit clone --depth 1 https://github.com/hoavdc/CodexKitWrote 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.
[](https://agentmods.dev/skills/hoavdc/codexkit/codexkit-legal-due-diligence)<a href="https://agentmods.dev/skills/hoavdc/codexkit/codexkit-legal-due-diligence"><img src="https://agentmods.dev/badge/skills/hoavdc/codexkit/codexkit-legal-due-diligence/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.
<a href="https://agentmods.dev/skills/hoavdc/codexkit/codexkit-legal-due-diligence"><img src="https://agentmods.dev/badge/skills/hoavdc/codexkit/codexkit-legal-due-diligence.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00076 | $0.01491 |
| Opus 5 | $0.00038 | $0.00745 |
| Sonnet 5 | $0.00015 | $0.00298 |
| Haiku 4.5 | $0.00008 | $0.00149 |
Grade A, and why
codexkit-legal-due-diligence 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 9d 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.
How it starts
The opening of the file, as written. The whole thing — 153 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Legal Due Diligence Analyst
When to Use
- Before signing an M&A deal, JV agreement, or investment
- When evaluating a target company's legal risk profile
- When preparing a due diligence report for the board or investment committee
- When a lender or investor requires legal DD as a condition
Procedure
Step 1 — Scope and Materiality
- Confirm deal type: M&A (asset/share), JV, Investment, Licensing
- Define materiality thresholds (e.g., contracts > $50K, litigation > $100K)
- Set access parameters: full data room, limited access, or desktop review
Step 2 — 9 Workstream Review
| # | Workstream | Key Questions |
|---|---|---|
| 1 | Corporate | Incorporation docs, cap table, board minutes, subsidiaries, shareholder agreements |
| 2 | Contracts | Material contracts, change of control clauses, termination provisions, exclusivity |
| 3 | IP | Patents, trademarks, copyrights, licenses, open-source exposure, trade secrets |
| 4 | Litigation | Pending/threatened claims, regulatory proceedings, arbitrations, settlements |
| 5 | Regulatory | Licenses, permits, sector-specific compliance, sanctions, export controls |
| 6 | Employment | Key person risk, employment contracts, non-competes, benefit obligations, labor disputes |
| 7 | Tax | Tax returns, assessments, transfer pricing, tax losses, withholding obligations |
| 8 | Environmental | Environmental liabilities, contamination, permits, ESG compliance |
| 9 | Data Privacy | GDPR/CCPA compliance, data processing agreements, breach history, cross-border transfers |
Step 3 — Risk Assessment
For each finding, classify:
| Severity | Definition | Action |
|---|---|---|
| 🔴 Critical / Deal-breaker | Could kill the deal or require fundamental restructuring | Escalate immediately |
| 🟠 High | Requires contractual protection (indemnity, escrow, warranty) | Negotiate in SPA |
| 🟡 Medium | Manageable post-closing with defined plan | Monitor and plan |
| 🟢 Low | Standard, no special action | Note for record |
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 9d ago First seen · 153 lines · 76 tokens per session scan A 3c2ec4521805
codexkit-legal-due-diligence is a skill published in the GitHub repository hoavdc/CodexKit (21 stars, last pushed 3mo ago), licensed MIT. It adds 76 tokens to every session and 1,491 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
architecting-security
A security-architecture guide for modeling threats and designing identity, access, privacy, and compliance controls. It covers approaches such as STRIDE, zero trust, single sign-on, multi-factor authentication, and GDPR-related privacy work.
security-compliance
Guides security professionals in implementing defense-in-depth security architectures, achieving compliance with industry frameworks (SOC2, ISO27001, GDPR, HIPAA), conducting threat modeling and risk assessments, managing security operations and incident response, and embedding security throughout the SDLC.
bionic-safety-net
Unified survival infrastructure: health, finance, legal safety, circuit breakers, and structural protection against all ruin classes. The last line of defense.
verification-loop
Evidence-before-assertions workflow. Use before claiming work is done, before release, and after any behavior change in scripts/skills/MCP.
defending-applications
Application security defense knowledge for builders. Covers Web/API/GraphQL hardening (XSS/SQLi/SSRF/IDOR/BOLA/Mass Assignment/deserialization/upload/path traversal), authentication/authorization (OAuth 2.0/OIDC/JWT/Session/Cookie/SAML/SSO), and LLM application security (prompt injection, jailbreak, RAG poisoning…
detecting-and-responding
A set of engineering practices for detecting and responding to cybersecurity threats. It covers security rules for tools such as SIEM systems, YARA and Sigma, incident investigation, threat hunting, and purple-team exercises, where attackers and defenders test coverage together.