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.5 | $0.00030 | $0.00596 |
| Sonnet 5.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 2mo 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.
- 2mo 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 (26 stars, last pushed 26d ago), licensed MIT. It adds 76 tokens to every session and 1,491 once invoked, about $0.0003 per session on Opus 5.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.
codexkit-legal-due-diligence compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| codexkit-legal-due-diligencehoavdc/CodexKit | Skill | 26 | 26d ago | MIT | A | 76 | Codex |
| architecting-securitytelagod/code-abyss | Skill | 244 | 3mo ago | MIT | A | 104 | Claude Code |
| bionic-safety-netwinstonkoh87/Athena-Public | Skill | 620 | yesterday | MIT | A | 34 | Claude Code, Codex |
| security-compliancesangrokjung/claude-forge | Skill | 873 | 2mo ago | MIT | A | 56 | Claude Code |
| promo-video-pipelinerexleimo/aios | Skill | 62 | yesterday | MIT | A | 92 | Claude Code, Codex |
| verification-looprexleimo/aios | Skill | 62 | yesterday | MIT | A | 32 | Claude Code, Codex |
| debug-hubrexleimo/aios | Skill | 62 | yesterday | MIT | B | 66 | Claude Code, Codex |