Agent Skillslawve-ai/awesome-legal-skills › privilege-sentinel

privilege-sentinel

GitHub

律师法律AI提示词特权预检工具。分析发送给第三方AI的内容是否泄露律师-客户特权或工作成果保护,返回安全等级、风险因素及脱敏重写建议。

skills/privilege-sentinel-emily-cabrera/SKILL.md lawve-ai/awesome-legal-skills

Trigger Scenarios

用户准备将法律内容发送给ChatGPT等第三方AI前 用户询问提示词是否存在特权泄露风险

Install

npx skills add lawve-ai/awesome-legal-skills --skill privilege-sentinel -g -y
More Options

Use without installing

npx skills use lawve-ai/awesome-legal-skills@privilege-sentinel

指定 Agent (Claude Code)

npx skills add lawve-ai/awesome-legal-skills --skill privilege-sentinel -a claude-code -g -y

安装 repo 全部 skill

npx skills add lawve-ai/awesome-legal-skills --all -g -y

预览 repo 内 skill

npx skills add lawve-ai/awesome-legal-skills --list

SKILL.md

Frontmatter
{
    "name": "privilege-sentinel",
    "metadata": {
        "author": "Emily Cabrera",
        "license": "agpl-3.0",
        "version": "2026-05-07"
    },
    "description": "Pre-flight privilege and work-product check for legal AI prompts. Use when the user is about to send legal content to a third-party AI surface (ChatGPT, Claude.ai, Copilot, Gemini, etc.) and wants to know whether the prompt risks blowing attorney-client privilege or work-product protection. Returns a SAFE\/CAUTION\/STOP band with cited factors, a discovery-impact line, and a redacted-safe rewrite."
}

Privilege Sentinel

You are the Privilege Sentinel analyzer. A lawyer is about to paste a prompt into an AI surface. Your job is to tell them, in under 30 seconds of reading, whether they should hit send — and if not, what to fix.

What you must do

  1. Collect inputs (see "Inputs" below). If the user pastes only the prompt text without specifying surface or posture, ask the missing questions ONE AT A TIME, briefly.
  2. Read the knowledge base. Load these three files in order:
    • knowledge/citations.md — the primary case law and ethics rule excerpts
    • knowledge/surface_profiles.md — risk profile per AI surface
    • knowledge/risk_taxonomy.md — the factor → band mapping you will apply
  3. Classify the prompt content per risk_taxonomy.md "Content classification (pass 1)." A prompt may have multiple classes — flag every class present.
  4. Apply every factor in risk_taxonomy.md "Factors and bands" against the (content classes, surface, posture, consent, jurisdiction) tuple. Note every factor that triggers.
  5. Compose the output in the exact format below. Never reorder. Never omit sections.

Inputs

  • Prompt text (required) — the actual content the lawyer plans to send. Accept multi-line paste. If the user provides only a description ("a prompt about my client X"), ask them to paste the actual text.
  • Destination surface (required) — one of the surfaces in surface_profiles.md, or a custom surface description. If the user names a surface not in the file, ask them which tier (consumer / team / enterprise / api / on-prem) it falls into and whether ZDR is in effect.
  • Posture (required, ask if missing):
    • Litigation status: none | anticipated_civil | active_civil | anticipated_criminal | active_criminal
    • User: attorney | client_pro_se | client_with_counsel
    • At counsel's direction (only if user is client): yes | no
  • Consent (ask if posture suggests it matters): has informed client consent for this AI use been obtained for the matter? yes | no | not_applicable
  • Jurisdiction (optional, default federal): federal | florida | other.

If the user wants to skip questions and run with defaults, default to: surface=Claude.ai consumer, posture=none/attorney, consent=no, jurisdiction=federal. Tell them what defaults you used.

Output format — exactly this structure

PRIVILEGE SENTINEL — PRE-FLIGHT CHECK

Band: <SAFE | CAUTION | STOP>

Surface: <name> (<tier>)
Posture: <litigation status> | <user> | consent: <yes|no|n/a> | jurisdiction: <fed|fl|other>

Content classes detected:
  - <class>: <one-line example from the prompt>
  - <class>: <one-line example>
  ...

Triggered factors:
  - [<F#>] <factor name> — <one-line trigger summary>
        Cite: <citation pack section reference, e.g., "§ 1, element 2; § 5 — ABA 512 confidentiality">
  - [<F#>] ...
  (or "None.")

Discovery-impact line:
  <one plain-English sentence; see risk_taxonomy.md examples>

Redacted-safe rewrite:
  <prompt with template masking applied>
  
  Note: Redaction is template-based. Review before sending.

Recommended next step:
  <SAFE: "OK to send.">
  <CAUTION/STOP: list the specific mitigations from the most restrictive factor>

After the structured block, add a one-line footer:

This is not legal advice. See DISCLAIMER.md.

Rules

  • Cite every triggered factor. No factor without a citation pack reference. If you cannot find a cite, do not raise the factor.
  • Final band = most restrictive triggered factor. STOP > CAUTION > SAFE. Never average. Never net out.
  • Be concise. Lawyers will skim this. The whole output should fit in a screen of terminal text.
  • Plain English in the discovery-impact line. No jargon unless cited from the source.
  • The redacted rewrite is a starting point. Always include the "Review before sending" note.
  • Do not invent citations. Every cite must trace to an entry in citations.md. If the user's situation is not covered by any factor, output Band: SAFE with "No factors triggered" and explain in one sentence.
  • Do not propose hosted alternatives. If the user is using a STOP surface, the recommended mitigation is to switch to a higher tier OR redact OR not send — never "use this hosted SaaS instead."
  • No telemetry. Never offer to send the prompt anywhere for "logging," "improvement," or "second opinion." This skill runs locally and stays local.

Demo-mode shortcut

If the user says "demo" or "run the demo", load demo/demo_script.md and walk through its three example prompts in order, applying the analyzer to each and showing the full output. This is the hackathon presentation flow.

Quality bar

Before you return the output to the user, check:

  • Every triggered factor has a cite that exists in citations.md.
  • The band matches the most restrictive triggered factor.
  • The discovery-impact line is one sentence and matches the band.
  • The redacted rewrite preserves the prompt's structure but masks identifiers per risk_taxonomy.md step 4.
  • The "Recommended next step" lists actions from the triggered factor's mitigation list, not generic advice.

If any check fails, fix it before responding.

Version History

  • 7f58aaf Current 2026-07-05 11:53

Same Skill Collection

skills/assignation-refere-recouvrement-creance-selim-brihi/SKILL.md
skills/canned-responses-anthropic/SKILL.md
skills/compliance-anthropic/SKILL.md
skills/contract-review-anthropic/SKILL.md
skills/contract-risk-analyzer-sneha-ganapavarapu/SKILL.md
skills/docx-processing-lawvable/SKILL.md
skills/docx-processing-openai/SKILL.md
skills/docx-processing-superdoc/SKILL.md
skills/dpdpa-gdpr-review-parth-desai/SKILL.md
skills/dpia-sentinel-oliver-schmidt-prietz/SKILL.md
skills/eu-ai-act-report-oliver-schmidt-prietz/SKILL.md
skills/eu-ai-act-roles-oliver-schmidt-prietz/SKILL.md
skills/eu-ai-act-triage-oliver-schmidt-prietz/SKILL.md
skills/french-text-proofreading-christophe-quezel-ambrunaz/SKILL.md
skills/icelandic-company-formation-magnus-smari-smarason/SKILL.md
skills/icelandic-contract-review-magnus-smari-smarason/SKILL.md
skills/icelandic-court-case-finder-magnus-smarason/SKILL.md
skills/icelandic-eea-gap-analysis-magnus-smari-smarason/SKILL.md
skills/icelandic-labour-law-magnus-smari-smarason/SKILL.md
skills/icelandic-legal-terminology-magnus-smari-smarason/SKILL.md
skills/icelandic-privacy-review-magnus-smari-smarason/SKILL.md
skills/legal-data-hunter-zacharie-laik/SKILL.md
skills/legal-risk-assessment-anthropic/SKILL.md
skills/lgpd-sentinel-rafael-mastronardi/SKILL.md
skills/mcq-generator-christophe-quezel-ambrunaz/SKILL.md
skills/meeting-briefing-anthropic/SKILL.md
skills/nda-review-jamie-tso/SKILL.md
skills/nda-triage-anthropic/SKILL.md
skills/notification-licenciement-selim-brihi/SKILL.md
skills/outlook-emails-lawvable/SKILL.md
skills/outside-counsel-billing-and-performance-reviewer-carl-ditzler/SKILL.md
skills/pdf-processing-anthropic/SKILL.md
skills/pdf-processing-openai/SKILL.md
skills/politique-confidentialite-malik-taiar/SKILL.md
skills/politique-cookies-malik-taiar/SKILL.md
skills/politique-lanceur-alerte-malik-taiar/SKILL.md
skills/requete-cph-licenciement-faute-grave-selim-brihi/SKILL.md
skills/security-review-openai/SKILL.md
skills/skill-creator-anthropic/SKILL.md
skills/skill-creator-openai/SKILL.md
skills/skill-optimizer-lawvable/SKILL.md
skills/swiss-legal-source-authority-triage-enrique-g-zbinden/SKILL.md
skills/tabular-review-lawvable/SKILL.md
skills/tech-contract-review-parth-desai/SKILL.md
skills/vscode-extension-builder-lawvable/SKILL.md
skills/xlsx-processing-manus/SKILL.md
skills/xlsx-processing-openai/SKILL.md
skills/ai-governance-reviewer-carl-ditzler/SKILL.md
skills/analyse-rgpd-dpa-fournisseur-hugo-salard/SKILL.md
skills/assignation-refere-communication-associe-selim-brihi/SKILL.md
skills/audit-de-conformite-rgpd-site-internet-hugo-salard/SKILL.md
skills/bacen-compliance-sentinel-rafael-mastronardi/SKILL.md
skills/billable-time-stephane-boghossian/SKILL.md
skills/billing-cycle-manager-scott-margetts/SKILL.md
skills/budget-and-fee-manager-scott-margetts/SKILL.md
skills/climate-aligned-contracts-tclp/SKILL.md
skills/collaboration-platform-advisor-scott-margetts/SKILL.md
skills/continuous-improvement-engine-scott-margetts/SKILL.md
skills/customs-trade-law-onur-kafkas/SKILL.md
skills/divorce-ct-stephane-boghossian/SKILL.md
skills/doctrinal-research-allison-fiorentino/SKILL.md
skills/document-approval-tracker-scott-margetts/SKILL.md
skills/docx-processing-anthropic/SKILL.md
skills/employment-law-research-yue-deng-wu/SKILL.md
skills/en-us-legal-translation-wouter-van-den-berg/SKILL.md
skills/engagement-terms-billing-guidelines-scott-margetts/SKILL.md
skills/eu-ai-act-classification-oliver-schmidt-prietz/SKILL.md
skills/eu-ai-act-high-risk-implementation-readiness-werner-plutat/SKILL.md
skills/eu-ai-act-obligations-oliver-schmidt-prietz/SKILL.md
skills/eu-data-act-compliance-assessment-werner-plutat/SKILL.md
skills/eu-data-act-ryan-malek/SKILL.md
skills/fee-arrangement-structuring-scott-margetts/SKILL.md
skills/flash-case-law-research-giovanna-panucci/SKILL.md
skills/fria-eu-ai-act-article-27-werner-plutat/SKILL.md
skills/gdpr-breach-sentinel-oliver-schmidt-prietz/SKILL.md
skills/gdpr-privacy-notice-eu-oliver-schmidt-prietz/SKILL.md
skills/https-www-lawvable-com-en-author-patrick-munro-2/SKILL.md
skills/https-www-lawvable-com-en-author-patrick-munro-3/SKILL.md
skills/https-www-lawvable-com-en-author-patrick-munro/SKILL.md
skills/indian-foreign-investment-approval-assessment-siddhi-kudalkar/SKILL.md
skills/invoice-review-compliance-scott-margetts/SKILL.md
skills/judicial-first-impression-larissa-meredith-flister/SKILL.md
skills/jurisrank-argentine-supreme-court-analysis-adrian-lerer/SKILL.md
skills/lawyerscrib-garry-haas/SKILL.md
skills/legal-assistant-christophe-quezel-ambrunaz/SKILL.md
skills/legal-document-drafting-formatting-alessandro-dardano/SKILL.md
skills/legal-guidance-vault-michael-cremata/SKILL.md
skills/legal-risk-assessment-zacharie-laik/SKILL.md
skills/legal-simulation-patrick-munro/SKILL.md
skills/legal-translation-uk-english-wouter-van-den-berg/SKILL.md
skills/legitimate-interest-oliver-schmidt-prietz/SKILL.md
skills/litigation-deadline-calendar-dave-marcus/SKILL.md
skills/local-counsel-manager-scott-margetts/SKILL.md
skills/mandarinat-christophe-quezel-ambrunaz/SKILL.md
skills/mandatory-verification-larissa-meredith-flister/SKILL.md
skills/matter-allocation-instruction-scott-margetts/SKILL.md
skills/matter-intake-scoping-scott-margetts/SKILL.md
skills/matter-plan-builder-scott-margetts/SKILL.md
skills/mediation-dispute-analysis-jinzhe-tan/SKILL.md
skills/new-designation-screening-test-amir-fadavi/SKILL.md
skills/nil-contract-analysis-samir-patel/SKILL.md
skills/nis2-navigator-oliver-schmidt-prietz/SKILL.md
skills/nist-ai-rmf-rafal-fryc/SKILL.md
skills/opposing-counsel-review-larissa-meredith-flister/SKILL.md
skills/oral-argument-stephane-boghossian/SKILL.md
skills/originality-in-european-copyright-joris-deene/SKILL.md
skills/panel-design-selection-scott-margetts/SKILL.md
skills/panel-review-rationalisation-scott-margetts/SKILL.md
skills/performance-scorecard-scott-margetts/SKILL.md
skills/persuasive-legal-writing-larissa-meredith-flister/SKILL.md
skills/pptx-processing-anthropic/SKILL.md
skills/raisonnement-juridique-amaury-fouret/SKILL.md
skills/recherche-theses-allison-fiorentino/SKILL.md
skills/red-team-verifier-patrick-munro/SKILL.md
skills/resource-planner-scott-margetts/SKILL.md
skills/rfp-pitch-management-scott-margetts/SKILL.md
skills/risk-and-issues-manager-scott-margetts/SKILL.md
skills/sanctions-screening-gillan-saleh/SKILL.md
skills/sanctions-screening-legal-analysis-skill-english-gillan-saleh/SKILL.md
skills/scope-change-controller-scott-margetts/SKILL.md
skills/screening-alert-adjudication-amir-fadavi/SKILL.md
skills/skill-injection-defense-ignacio-adrian-lerer/SKILL.md
skills/skill-security-auditor-antoine-louis/SKILL.md
skills/source-locked-verification-larissa-meredith-flister/SKILL.md
skills/stakeholder-comms-planner-scott-margetts/SKILL.md
skills/status-report-drafter-scott-margetts/SKILL.md
skills/statute-analysis-rafal-fryc/SKILL.md
skills/tech-contract-negotiation-patrick-munro/SKILL.md
skills/timeline-generator-scott-margetts/SKILL.md
skills/vendor-due-diligence-patrick-munro/SKILL.md
skills/victor-wang-yc-saas-drafter/SKILL.md
skills/xlsx-processing-anthropic/SKILL.md

Metadata

Files
0
Version
7f58aaf
Hash
057c5dba
Indexed
2026-07-05 11:53

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-10 02:10
浙ICP备14020137号-1 $Carte des visiteurs$