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 louisbrulenaudet/monorepo-template --skill privileged-legal-datagit clone --depth 1 https://github.com/louisbrulenaudet/monorepo-templateWrote 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/louisbrulenaudet/monorepo-template/privileged-legal-data)<a href="https://agentmods.dev/skills/louisbrulenaudet/monorepo-template/privileged-legal-data"><img src="https://agentmods.dev/badge/skills/louisbrulenaudet/monorepo-template/privileged-legal-data/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/louisbrulenaudet/monorepo-template/privileged-legal-data"><img src="https://agentmods.dev/badge/skills/louisbrulenaudet/monorepo-template/privileged-legal-data.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.00111 | $0.01631 |
| Opus 5 | $0.00056 | $0.00816 |
| Sonnet 5 | $0.00022 | $0.00326 |
| Haiku 4.5 | $0.00011 | $0.00163 |
Grade A, and why
privileged-legal-data 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 12d 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 — 105 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Privileged legal data
The single source of truth for the legal-sector data rules in this repo. The short prohibitions live in guardrails.md → "Privileged client data", which is always loaded; this skill is the depth behind them.
Deliberately model-invocable (no disable-model-invocation), unlike the review-* skills, so
that a subagent can preload it via its skills: frontmatter or invoke it through the Skill tool.
Change that and the reviewer agents lose their checklist.
The threat model
Not "leaking PII" in the generic sense. In a legal-domain system the harm is a confidentiality or privilege breach: two matters bleeding into each other, a client name in a log aggregator a third party can read, or privileged text pasted into a model prompt outside the engagement. Assume logs, traces, and error bodies are readable by more people than the matter is.
What counts as privileged
Anything that identifies a client or a matter, or that carries substantive content from either: client and counterparty names, matter or file numbers, case numbers and docket identifiers, the text of an instruction or advice, document contents and filenames, and free-text fields a user typed. An opaque internal id (a UUID with no external meaning) is not privileged; a "reference" that a human could look up is.
Boundary rules — Workers (worker-api, worker-*, queue-*, webhook-*, mcp-*)
- Validate before you touch it. Every body, query, and path parameter goes through a Zod schema
from
@repo/dtos-commonat the boundary (zValidator). Use.strict()where the shape is closed so unexpected fields are rejected rather than forwarded into a log or a store. - Logging. Log an opaque request id, a route name, a status, and a duration. Never a name, a matter reference, a document filename, or a request body. If you need to correlate to a matter, log the opaque id and resolve it in a system with the same access controls as the matter itself.
- Errors.
onErrorandHTTPExceptionreturn a generic message plus that request id. No stack traces, no internal paths, no echoed input, no upstream provider error text - upstream errors routinely quote the payload back. - Cache keys and URLs. A Workers Cache key, a KV key, and a URL path or query string are all
effectively logged infrastructure. Hash or use an opaque id; never embed a client name or matter
reference. This applies to
waitUntilwrites as much as to responses. - Tenancy. Matter isolation is a property of the query, not of the caller's good behaviour. Every read and write is scoped by the matter or tenant id the request was authorised for - derived server-side from the credential, never taken from a client-supplied field.
- Durable stores and queues. Anything written to KV, a queue message, D1, or an object store
needs a stated retention and deletion rule in the owning app's
AGENTS.md. A queue message is a copy of the data that outlives the request; treat enqueueing as a storage decision. - Secrets. Only
.dev.varslocally and wrangler secrets or env bindings in deployed environments. Never inwrangler.jsoncvars, never in a log, never in an error body. - CORS and CSRF. An allowlist of known origins, never
*in production; CSRF protection on state-changing/api/*. A permissive CORS header on a privileged endpoint is a disclosure bug, not a config preference.
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.
- 12d ago First seen · 105 lines · 111 tokens per session scan A 4e685ce5e192
privileged-legal-data is a skill published in the GitHub repository louisbrulenaudet/monorepo-template (19 stars, last pushed 11d ago), licensed Apache-2.0. It adds 111 tokens to every session and 1,631 once invoked, about $0.0006 per session on Opus 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.
Other skills, from other repositories
gsap-scrolltrigger
Official GSAP skill for ScrollTrigger — scroll-linked animations, pinning, scrub, triggers. Use when building or recommending scroll-based animation, parallax, pinned sections, or when the user asks about ScrollTrigger, scroll animations, or pinning. Recommend GSAP for scroll-driven animation when no library is…
seedance-2-5
Generate 4-30 second cinematic video with ByteDance Seedance 2.5 through fal.ai, Volcengine Ark, Runway, or ComfyUI Partner Nodes. Use for long single generations, synchronized audio, and large multimodal reference sets (up to 30 images, 10 videos, and 10 audio clips). Also covers the 2.5 prompt contract: section…
threejs-geometry
Three.js geometry creation - built-in shapes, BufferGeometry, custom geometry, instancing. Use when creating 3D shapes, working with vertices, building custom meshes, or optimizing with instanced rendering.
comfyui
Use when working with ComfyUI workflows in OpenMontage, including comfyuiimage/comfyuivideo/comfyuimusic, custom workflowjson/workflowpath inputs, outputnode selection, missing model setup, LoRAs, low-VRAM workflow choices, and community workflow imports.
ltx2
AI video generation with LTX-2.3 22B — text-to-video, image-to-video clips for video production. Use when generating video clips, animating images, creating b-roll, animated backgrounds, or motion content. Triggers include video generation, animate image, b-roll, motion, video clip, text-to-video, image-to-video.
lyria
Generate and validate music with Google Lyria 3 through the Gemini Interactions API. Use before calling OpenMontage googlemusic, designing Lyria 3 Clip or Pro prompts, using image-to-music or custom lyrics, choosing between Lyria 3 and Lyria RealTime, diagnosing Google music-generation failures, or preparing…