Logo Privilege Preflight

Privilege Preflight

Tổ chức
open-legal-products
privilege-preflight

Kiểm tra trước khi gửi nội dung pháp lý đến công cụ AI bên ngoài, hoạt động trên đám mây (chatbot trên trình duyệt, trợ lý trong bộ ứng dụng văn phòng hoặc API ngoài quyền kiểm soát của công ty). Kiểm kê nội dung thực sự có trong prompt, chấm điểm năm yếu tố rủi ro — khả năng nhận diện khách hàng, thông tin thuộc phạm vi bảo mật nghề nghiệp, chiến lược tranh tụng và sản phẩm công việc, dữ liệu cá nhân của bên thứ ba, điều khoản của nhà cung cấp AI — rồi đưa ra kết luận theo mức SAFE / CAUTION / STOP kèm bảng yếu tố và đánh giá tác động của việc tiết lộ. Với CAUTION, công cụ chuẩn bị bản prompt đã lược bỏ thông tin để con người phê duyệt; với STOP, công cụ luôn đề xuất hướng xử lý tiếp theo thay vì chỉ cấm. Công cụ không gửi nội dung nào và không bao giờ thực hiện bước lược bỏ thông tin cuối cùng. Dùng trước khi dán nội dung vụ việc của khách hàng vào chatbot bên ngoài, để kiểm tra prompt trên toàn công ty hoặc làm khung cho chính sách sử dụng AI nội bộ.

Add to TypingMind

Tổng quan

Nhà phát hànhopen-legal-products
Kho mãmike-workflows
Tên kỹ năngprivilege-preflight
Sao
91
Bản fork
43
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được open-legal-products công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Privilege Preflight trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/open-legal-products/mike-workflows/tree/main/assistant-workflows/eu-ai-governance-pack/privilege-preflight
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Privilege Preflight trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Privilege Preflight ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Privilege Preflight với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Câu hỏi thường gặp

Kỹ năng AI Privilege Preflight làm được gì?

Kiểm tra trước khi gửi nội dung pháp lý đến công cụ AI bên ngoài, hoạt động trên đám mây (chatbot trên trình duyệt, trợ lý trong bộ ứng dụng văn phòng hoặc API ngoài quyền kiểm soát của công ty). Kiểm kê nội dung thực sự có trong prompt, chấm điểm năm yếu tố rủi ro — khả năng nhận diện khách hàng, thông tin thuộc phạm vi bảo mật nghề nghiệp, chiến lược tranh tụng và sản phẩm công việc, dữ liệu cá nhân của bên thứ ba, điều khoản của nhà cung cấp AI — rồi đưa ra kết luận theo mức SAFE / CAUTION / STOP kèm bảng yếu tố và đánh giá tác động của việc tiết lộ. Với CAUTION, công cụ chuẩn bị bản pro...

Vì sao nên dùng Privilege Preflight trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Privilege Preflight là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Privilege Preflight trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/open-legal-products/mike-workflows/tree/main/assistant-workflows/eu-ai-governance-pack/privilege-preflight. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Privilege Preflight?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Privilege Preflight với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Privilege Preflight với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Privilege Preflight có miễn phí không?

Có. Kỹ năng này được open-legal-products phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇