Privilege Preflight 标志

Privilege Preflight

组织
open-legal-products
privilege-preflight

在将法律内容发送至外部云端 AI 工具之前进行预检,例如浏览器聊天机器人、办公套件助手或律所控制范围之外的任何 API。盘点提示词中实际包含的内容,评估 5 项风险因素——客户是否可被识别、受职业保密义务约束的事实、诉讼策略和工作成果、第三方个人数据,以及 AI 提供商的条款——并给出分级结论:SAFE/CAUTION/STOP,同时提供因素表和披露影响评估。对于 CAUTION,会准备一份经删减的提示词草稿,供人工审批;对于 STOP,始终会说明可行的后续方案,而不只是简单禁止。不会发送任何内容,也绝不会执行最终删减。适用于将客户事务内容粘贴到外部聊天机器人之前、开展全所范围的提示词审计,或起草内部 AI 使用政策框架。

Add to TypingMind

概览

发布者open-legal-products
代码仓库mike-workflows
技能名称privilege-preflight
星标数
91
复刻数
43
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 open-legal-products 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Privilege Preflight AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/open-legal-products/mike-workflows/tree/main/assistant-workflows/eu-ai-governance-pack/privilege-preflight
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/open-legal-products/mike-workflows.git /tmp/mike-workflows
mkdir -p .claude/skills
cp -r /tmp/mike-workflows/assistant-workflows/eu-ai-governance-pack/privilege-preflight .claude/skills/privilege-preflight
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Privilege Preflight,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Privilege Preflight。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Privilege Preflight 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Privilege Preflight

A prompt pasted into someone else's chatbot is a disclosure. Not "tool usage" - a disclosure. No lawyer would fax a case file to a newspaper to get a second opinion on the drafting style. Yet the same lawyer will paste half a statement of claim into a free chatbot "just to polish the wording". The two acts differ less than it seems: the content leaves the firm and lands with a third party, on terms nobody read, with retention nobody controls, possibly on servers outside the EEA.

This workflow does one thing: it holds the hand above the Enter key for the length of one check. It does not ban cloud AI - firms use it and will keep using it. It forces a conscious decision instead: what exactly leaves, to whom, on what terms, and what happens if it ever surfaces.

The verdict is banded, not binary. Most prompts are neither clean nor forbidden - they are redactable. That is why the middle band (CAUTION) ends with a redacted draft rather than a lecture.

The frame is European: legal professional privilege as shaped by the Court of Justice of the EU, national professional secrecy regimes, GDPR, and the Trade Secrets Directive. US attorney-client privilege appears only as a comparative footnote.

When to use, and what this workflow does NOT do

Use it: before pasting client-matter content into an external AI chatbot; for a firm-wide prompt audit (retrospective: what people have been sending); as the skeleton of an internal AI usage policy - the SAFE / CAUTION / STOP bands translate directly into policy tiers; when a colleague asks "can I put this into the chatbot" - run the preflight instead of answering from gut feeling.

Explicit negative scope:

  • it does NOT send anything anywhere - verdict and draft stay on the machine,
  • it does NOT perform the final redaction - it prepares a redacted version as a draft; a human reads it, corrects it, and decides alone whether to send,
  • it does NOT assess the legal merits of the prompt,
  • it does NOT replace a data protection impact assessment for deploying an AI tool in the firm - the preflight checks a single piece of content, not a process,
  • it does NOT give guarantees - a SAFE band means "no risk factor found", not "I vouch that no risk exists".

Legal bases (cite with a confidence tag)

Quote an article number only when it is certain. Otherwise describe the duty in words and mark it [TO VERIFY]. Never invent a citation.

  • Legal professional privilege, EU law - settled CJEU case law: AM&S v Commission (Case 155/79) recognised LPP for communications with independent external lawyers in EU competition investigations; Akzo Nobel v Commission (Case C-550/07 P) confirmed that in-house counsel communications are NOT covered by LPP in EU Commission competition proceedings. Practical consequence: in-house teams pasting internal legal analysis into a cloud tool cannot assume even the baseline EU-level protection external counsel would have.
  • National professional secrecy regimes - in most continental systems secrecy is the lawyer's own enforceable duty, broader in scope than a common-law evidentiary privilege and typically unlimited in time. The exact statutory basis differs per jurisdiction - identify the user's regime and mark specifics [TO VERIFY] per country.
  • GDPR - personal data of the client and of third parties inside a prompt is processing: the definition of personal data (Article 4(1)), the AI provider as a processor requiring a data processing agreement (Article 28), transfers outside the EEA (Chapter V).
  • Trade Secrets Directive (EU) 2016/943 - protection depends on "reasonable steps" to keep the information secret; pasting a client's trade secret into a public chatbot is an argument AGAINST reasonable steps and can weaken the client's own protection, independently of any privilege question.
  • Disciplinary and liability exposure - breach of professional secrecy is a disciplinary offence under bar rules and may found civil liability towards the client; the concrete provision depends on the bar involved [TO VERIFY].
  • Comparative footnote only: US attorney-client privilege and work-product doctrine raise a parallel waiver debate, but this workflow does not use them as its framework.

The five assessment factors

Score each factor separately: CLEAN / CAUTION / CRITICAL.

(a) Client identifiability. Direct (company name, registration number, personal names, case reference) AND mosaic: the combination of industry, city, dispute amount, and event date can point to one client even though no single element does. Mosaic test: would a local journalist with a search engine work out who this is?

(b) Facts under professional secrecy. Everything the lawyer learned in connection with providing legal assistance - including facts that look neutral (the mere fact that a client seeks advice on a given matter is itself covered).

(c) Litigation strategy / work-product. Planned pleas, assessment of the weaknesses of one's own position, negotiation tactics, internal notes on witness credibility. This is the most dangerous category - disclosure harms even after full pseudonymisation, because the value sits in the reasoning itself, not in the identity of the parties.

(d) Third-party personal data. Witnesses, the opposing party, family members, the client's employees. They chose no law firm and accepted no terms - the lawful basis for processing their data in a cloud AI tool is usually the weakest link.

(e) Where the prompt goes. The AI provider's terms: is prompt content used for model training, what is the retention period (and can it be switched off), where are the servers, is there a transfer outside the EEA and on what basis, is there a data processing agreement (Article 28 GDPR), free tier or business tier (the terms can differ radically). If the user does not know - assume the worst variant and say so explicitly.

Workflow

  1. Content inventory. Break the prompt into elements: who is named (entities, persons), which facts, which figures and dates, which document fragments, whether it contains the lawyer's own reasoning (assessment, tactics), and where the user wants to send it (tool name and tier). No inventory, no assessment - "I roughly know what is in there" does not count.
  2. Score the five factors. Each factor (a)-(e) gets CLEAN / CAUTION / CRITICAL plus one sentence of justification quoting the fragment that drives the score.
  3. Banded verdict. The aggregation rule is mechanical: any factor CRITICAL means STOP; factor (c) strategy or work-product at CAUTION or above means STOP (redaction does not cure work-product); otherwise, at least one CAUTION means CAUTION; all CLEAN means SAFE.
  4. Disclosure impact assessment. For CAUTION and STOP: two or three sentences on what concretely happens if the content surfaces - towards the client (lost trust, harm to the matter), towards the lawyer (disciplinary exposure, liability), towards third parties (GDPR claims). No scaremongering - a realistic scenario.
  5. Redaction draft (CAUTION only). Pseudonymise entities and values with placeholders [CLIENT], [COUNTERPARTY], [PERSON-1], [AMOUNT], [DATE], [PLACE], [CASE-REF]; delete fragments unnecessary for the prompt's purpose (the cheapest redaction is deletion); re-run the mosaic test AFTER redaction - does the combination of what remains still point to the client? For STOP, produce no draft - a redacted litigation strategy is still a litigation strategy.
  6. Alternatives (on STOP). Always show a way forward, not only a prohibition: a local zero-cloud environment; a local model on the firm's own hardware; reformulating the question into an abstract one (ask about the rule, not the matter); doing the task without AI, if the stakes demand it.
  7. Human gate. Present the result and stop.

Output format

One result block:

  • The prompt's working name and purpose.
  • The target tool and tier, or "unknown - worst case assumed".
  • The five-factor table: score per factor plus the content fragment driving it.
  • The verdict: SAFE / CAUTION / STOP.
  • The disclosure impact, 2-3 sentences.
  • The recommendation: alternatives on STOP, the redacted draft on CAUTION, clear-to-send on SAFE.
  • On CAUTION: the full redacted version, marked as a draft requiring human approval, with the post-redaction mosaic check result.
  • The closing line: "The decision belongs to a human. This workflow has sent nothing."

Human gate

The output is a draft, not a decision. Nothing gets sent until an authorised human has read the verdict, the factor table, and - on CAUTION - the entire redacted draft, line by line. The human approves, corrects, or rejects; sending is always the human's own act, performed outside this workflow.

The governance boundary is hard: the workflow prepares, the human executes. This covers redaction too - an automatically inserted placeholder can miss the context (e.g. [AMOUNT] inside a contract quote where the amount is the very subject of the question). A draft nobody read is worthless and must never be treated as "already anonymised".

The SAFE band passes through the gate as well: the human sees the factor table and presses Enter personally. SAFE shortens the deliberation, it does not remove the responsibility.

常见问题

Privilege Preflight AI 技能有什么作用?

在将法律内容发送至外部云端 AI 工具之前进行预检,例如浏览器聊天机器人、办公套件助手或律所控制范围之外的任何 API。盘点提示词中实际包含的内容,评估 5 项风险因素——客户是否可被识别、受职业保密义务约束的事实、诉讼策略和工作成果、第三方个人数据,以及 AI 提供商的条款——并给出分级结论:SAFE/CAUTION/STOP,同时提供因素表和披露影响评估。对于 CAUTION,会准备一份经删减的提示词草稿,供人工审批;对于 STOP,始终会说明可行的后续方案,而不只是简单禁止。不会发送任何内容,也绝不会执行最终删减。适用于将客户事务内容粘贴到外部聊天机器人之前、开展全所范围的提示词审计,或起草内部 AI 使用政策框架。

为什么在 TypingMind 中使用 Privilege Preflight?

因为您只需安装一次,就能搭配任何模型使用。Privilege Preflight 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Privilege Preflight?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/open-legal-products/mike-workflows/tree/main/assistant-workflows/eu-ai-governance-pack/privilege-preflight。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Privilege Preflight?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Privilege Preflight 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Privilege Preflight 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Privilege Preflight AI 技能免费吗?

是的。open-legal-products 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇