Agent skill

Legal Due Diligence

by infometa in infometa/workbuddyskills

本技能用于对中国大陆企业开展法律尽职调查,以及起草、生成、修改、完善、审查或复核法律尽职调查报告;支持投融资、并购、常年法律顾问合规体检、供应商或合作方、融资方、上市前专项及其他专项尽调。

No licenceAuto-check passedLegal & Compliance

Install Legal Due Diligence

skills CLI
$ npx skills add infometa/workbuddyskills --skill legal-due-diligence -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install infometa/workbuddyskills legal-due-diligence --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/infometa/workbuddyskills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/connectors/fazhi-law/skills/legal-due-diligence .claude/skills/legal-due-diligence && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
legal-due-diligence
GitHub stars
348
Token cost
~2k tokens
SKILL.md length
390 words
Files
24 (incl. scripts, references, assets)
Skills in repo
218
Repo updated
First seen
Licence
None found

At a glance

本技能用于对中国大陆企业开展法律尽职调查,以及起草、生成、修改、完善、审查或复核法律尽职调查报告;支持投融资、并购、常年法律顾问合规体检、供应商或合作方、融资方、上市前专项及其他专项尽调。

  • Works in 6 steps: 唯一正式输出是 DOCX:不得将资料清单、Markdown… → 模板强制:必须从用户模板或… → 固定外层结构:最终报告严格使用本文件规定的八部分外层结构。现有八章核查框架只作为内… → …
  • Tasks that involve Legal research
  • SKILL.md covers 不可变交付契约, 信息源与客户语言契约, MCP 工具调用 and 固定外层结构, plus 4 more sections
  • Tasks that involve Fundraising and pitch decks

What it does

Legal Due Diligence is an agent skill from infometa/workbuddyskills. 本技能用于对中国大陆企业开展法律尽职调查,以及起草、生成、修改、完善、审查或复核法律尽职调查报告;支持投融资、并购、常年法律顾问合规体检、供应商或合作方、融资方、上市前专项及其他专项尽调。 即使用户未准确说出完整报告名称,只要任务实质是企业法律尽调,仍应优先使用本技能,不得由 legal-drafting、legal-opinion 或 legal-research 替代。技能内部完成主体消歧、资料控制、模块核查、快查外部核验、有限外部检索、证据冲突处理和问题归纳,唯一正式交付物为无品牌 DOCX 法律尽职调查报告;自动外部企业信息核查以法智/快查共享 MCP 中的快查企业数据能力为主,仅在本技能限定的四类事项中补充可信公开信息。 不要用于普通工商信息查询、未要求尽调的一般法律咨询、法律意见书或其他法律文书,也不要用于替代执业律师正式法律意见、个人征信调查或未经授权的个人信息查询;用户明确指定其他技能或工具时遵从其选择。

Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 25 other files, including scripts, reference files and assets (for example `assets/report-data.example.json`, `references/Word报告结构与格式规则.md` and `references/报告数据契约.md`).

It sits in Legal & Compliance, covering Legal research, Fundraising and pitch decks and Word documents. It works with Model Context Protocol and Microsoft Word. The repository describes itself as: WorkBuddy skills / connectors / experts archive for offline study.

When your agent uses it

  • Tasks that involve Legal research
  • Tasks that involve Fundraising and pitch decks
  • Tasks that involve Word documents

Example prompts

  • “/legal-due-diligence”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. 唯一正式输出是 DOCX:不得将资料清单、Markdown 分析、问题表、JSON、PDF、PNG 或查询底稿作为正式交付物;这些只可作为内部临时工作材料。
  2. 模板强制:必须从用户模板或 assets/法律尽职调查报告模板_正式无品牌版.docx 复制生成。禁止从空白 Document 新建报告,禁止自行设计封面。
  3. 固定外层结构:最终报告严格使用本文件规定的八部分外层结构。现有八章核查框架只作为内部数据模型,不得直接套作报告目录。
  4. 纯黑法律公文样式:所有可见文字、边框、横线、页眉页脚均为黑色 #000000;页面白底;不得使用蓝色、深红色、灰色或其他强调色。
  5. 无生成痕迹:不得出现“含 AI 生成”“AI 生成”“公开渠道·律师视角”“按 F9 更新”“模板说明”等内部提示或装饰标签。
  6. 逐页渲染门控:交付前必须渲染并检查每一页。未完成结构校验和逐页视觉检查不得交付。

What it can do on your machine

Read from SKILL.md and the folder at commit 91b77ea. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/, which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Legal Due Diligence loads about 2k tokens when it runs, and up to ~62k if it reads all its reference files. Until then it costs about 111 tokens; SKILL.md has 390 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~111
When it runs · the whole SKILL.md, loaded when a task matches
~2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~62k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 390 words (~2,042 tokens).

name
legal-due-diligence
security.child_process
false
security.eval
false
security.filesystem_write
true
security.filesystem_read
true
auto_invoke
true
examples
对这家公司开展法律尽调并生成 Word 报告, 根据项目材料完成一份并购法律尽职调查报告, 对目标公司做投融资专项尽调,重点看股权、资质和诉讼风险, 复核并完善我上传的法律尽调报告, 对供应商开展法律合规体检并输出 DOCX, 没有内部材料,先基于公开企业信息做一版 Pre-DD

Read the full SKILL.md on GitHub

Files

SKILL.md and 23 other files (scripts, references, assets) in connectors/fazhi-law/skills/legal-due-diligence of infometa/workbuddyskills.

  • SKILL.md
  • assets/report-data.example.json
  • assets/µ│òσ╛ïσ░╜ΦüîΦ░ⵃѵèÑσæèµ¿íµ¥┐_µ¡úσ╝ŵùáσôüτëîτëê.docx
  • assets/σ░╜Φ░âµ¿íµ¥┐.docx
  • references/WordµèÑσæèτ╗ôµ₧äΣ╕ĵá╝σ╝ÅΦºäσêÖ.md
  • references/µèÑσæèµò░µì«σÑæτ║ª.md
  • references/µèòΦ₧ìΦ╡äσ╣╢Φ┤¡ΘÖäσèáΦºäσêÖ.md
  • references/µ│òσ╛ﵥѵ║ÉΣ╕ĵá╕Θ¬îσÅ░Φ┤ª.md
  • references/Φ░ⵃÑΦîâσ¢┤Σ╕ĵ¿íσ¥ùσÉ»τö¿ΦºäσêÖ.md
  • references/σºöµëÿµ╡üτ¿ïΣ╕ÄΦ»üµì«Θù«Θóÿσñäτ╜«ΦºäσêÖ.md
  • references/σ┐½µƒÑσñûΘ⿵á╕µƒÑΣ╕Äσ║òτ¿┐ΦºäσêÖ.md
  • references/σ░╜Φ░⵿íσ¥ù-Σ║ëΦ««τ¢æτ«íτÄ»σóâσ«ëσà¿Σ╕ÄΣ┐¥ΘÖ⌐.md
  • references/σ░╜Φ░⵿íσ¥ù-Σ╕ÜσèíΦ╡äΦ┤¿σÉêσÉîΣ╕Äσà│ΦüöΣ║ñµÿô.md
  • references/σ░╜Φ░⵿íσ¥ù-Σ╕╗Σ╜ôΦéíµ¥âΣ╕Äσà¼σÅ╕µ▓╗τÉå.md
  • references/σ░╜Φ░⵿íσ¥ù-Φ┤óσèíΦ╡äΣ║ºΣ╕Äτ¿Äσèí.md
  • references/σ░╜Φ░⵿íσ¥ù-σ»╣σñûµèòΦ╡äΣ╕Äσóâσñûµ₧╢µ₧ä.md
  • references/σ░╜Φ░⵿íσ¥ù-σè│σè¿τö¿σ╖ÑΣ╕ÄΦéíµ¥âµ┐Çσè▒.md
  • references/σ░╜Φ░⵿íσ¥ù-τƒÑΦ»åΣ║ºµ¥âΣ╕ĵò░µì«σÉêΦºä.md
  • scripts
  • … and 5 more

Open the folder on GitHubat commit 91b77ea

Compare with similar skills

Legal Due Diligence next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Legal Due Diligence compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Legal Due Diligence this skillinfometa/workbuddyskills348—~2kAutomated safety check: PassNone
Officecli Document Workflowskuramatata/my-pi-agent114—~1kAutomated safety check: PassNone
Pii Contract Analyzegregmos/PII-Shield150—~8.9kAutomated safety check: NotesMIT
Adeu Redliningdealfluence/adeu167—~2.4kAutomated safety check: PassMIT
Finnish Legal Document Reviewakunikkola/claude-for-legal-finland109—~3.4kAutomated safety check: PassMIT
Demand Draftanthropics/claude-for-legal9.6k1 repos~6.5kAutomated safety check: PassApache-2.0

Similar skills

  • Officecli Document Workflow

    skuramatata/my-pi-agent

    A skill your agent uses when my-pi-agent needs to create, inspect, beautify, restyle, validate, or modify Office files through the official OfficeCLI MCP.

    114 GitHub stars~1k tokensUpdated 3 mo ago
    Documents & OfficeAuto-check passed
  • Pii Contract Analyze

    gregmos/PII-Shield

    Universal legal document processor with PII anonymization. An agent skill from gregmos/PII-Shield.

    150 GitHub stars~8.9k tokensUpdated 3 mo ago
    Legal & ComplianceAuto-check: notes
  • Adeu Redlining

    dealfluence/adeu

    A skill your agent uses when reviewing, editing, redlining, or negotiating an existing Microsoft Word document (.docx) — including proposing edits as tracked changes, accepting or rejecting existing…

    167 GitHub stars~2.4k tokensUpdated 6 days ago
    Documents & OfficeAuto-check passed
  • Finnish Legal Document Review

    akunikkola/claude-for-legal-finland

    Checks a Finnish legal document, such as a contract, statement, appeal or decision, in eight stages, looking for errors, gaps and risks before it is signed or submitted.

    109 GitHub stars~3.4k tokensUpdated 3 mo ago
    Legal & ComplianceAuto-check passed
  • Demand Draft

    anthropics/claude-for-legal

    Official

    Draft a demand letter from a completed intake, gated on a privilege / FRE 408 / waiver / admission checklist, with a .docx output, post-send checklist, and an offer to create a matter.

    9.6k GitHub starsUsed in 1 repo~6.5k tokens
    Documents & OfficeAuto-check passed
  • Officecli Word Form

    FerroxLabs/wayland

    A skill your agent uses to create fillable Word forms (.docx) with real Content Controls (SDT) + legacy FormField checkboxes + MERGEFIELD mail-merge placeholders + document protection.

    608 GitHub starsUsed in 3 repos~14k tokens
    Documents & OfficeAuto-check passed

More from infometa/workbuddyskills

All 218 skills in this repo
  • Campus Event Playbook

    infometa/workbuddyskills

    This skill should be used when planning, coordinating, running, or reviewing student-led campus events, including club recruitment, freshman mixers, welcome activities, small talks, competitions…

    349 GitHub stars~861 tokensUpdated today
    Auto-check passed
  • Teachany

    infometa/workbuddyskills

    K-12 interactive courseware creation. An agent skill from infometa/workbuddyskills.

    349 GitHub starsUsed in 1 repo~1.4k tokens
    Auto-check: notes
  • Weight Management HTML

    infometa/workbuddyskills

    A skill your agent uses when the adult weight-management MCP needs to be installed/set up in WorkBuddy (connector) or its result must be rendered as a standalone Chinese HTML plan.

    349 GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Agent Browser

    infometa/workbuddyskills

    A skill your agent uses when the user needs browser automation, including opening web pages, taking screenshots, extracting page content, clicking elements, filling forms, or testing web flows.

    349 GitHub stars~2.1k tokensUpdated today
    Auto-check passed
  • AI Research Radar

    infometa/workbuddyskills

    定时任务:每日研究简报。漏掉重要论文和行业报告?每天帮你盯着,关键信息一条不漏 This skill should be used when the user asks about 定时任务:每日研究简报.

    349 GitHub stars~438 tokensUpdated today
    Auto-check passed
  • Check Deck

    infometa/workbuddyskills

    Investment banking presentation quality checker. An agent skill from infometa/workbuddyskills.

    348 GitHub stars~687 tokensUpdated yesterday
    Auto-check passed

Questions about Legal Due Diligence

What does Legal Due Diligence do?

本技能用于对中国大陆企业开展法律尽职调查,以及起草、生成、修改、完善、审查或复核法律尽职调查报告;支持投融资、并购、常年法律顾问合规体检、供应商或合作方、融资方、上市前专项及其他专项尽调。. Legal Due Diligence is an agent skill from infometa/workbuddyskills.

When should I use Legal Due Diligence?

Legal Due Diligence fits situations like: tasks that involve Legal research; tasks that involve Fundraising and pitch decks; tasks that involve Word documents.

How do I install Legal Due Diligence in Claude Code?

Run `npx skills add infometa/workbuddyskills --skill legal-due-diligence -a claude-code`. Or copy the skill folder (connectors/fazhi-law/skills/legal-due-diligence in infometa/workbuddyskills) into .claude/skills/legal-due-diligence in your project. Claude Code loads it when a task matches its description.

How do I install Legal Due Diligence in Codex?

Run `npx skills add infometa/workbuddyskills --skill legal-due-diligence -a codex`. Or copy the skill folder (connectors/fazhi-law/skills/legal-due-diligence in infometa/workbuddyskills) into .agents/skills/legal-due-diligence in your project. Codex loads it when a task matches its description.

Can I use Legal Due Diligence in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add infometa/workbuddyskills --skill legal-due-diligence -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/legal-due-diligence, .gemini/skills/legal-due-diligence, .github/skills/legal-due-diligence and .opencode/skills/legal-due-diligence in your project.

What does Legal Due Diligence need to run?

SKILL.md names no scripts, command-line tools or credentials: Legal Due Diligence is instructions for the agent only.

Does Legal Due Diligence access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Legal Due Diligence safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Legal Due Diligence use?

No licence was found for Legal Due Diligence or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Legal Due Diligence use?

About 2k tokens (SKILL.md is roughly 8.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 60k tokens, read only when the agent opens those files.

What are the alternatives to Legal Due Diligence?

Skills that share tags, products or a category with Legal Due Diligence: Officecli Document Workflow (skuramatata/my-pi-agent, 114 stars), Pii Contract Analyze (gregmos/PII-Shield, 150 stars), Adeu Redlining (dealfluence/adeu, 167 stars) and Finnish Legal Document Review (akunikkola/claude-for-legal-finland, 109 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Legal Due Diligence?

infometa (a GitHub user) maintains it in infometa/workbuddyskills, which has 348 GitHub stars. The repository holds 218 skills in this directory. The repository was last updated on October 9, 2026.

Source: infometa/workbuddyskills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.