pleading-injection-guard

pleading-injection-guard is a skill for Claude Code, Codex from lawve-ai/awesome-legal-skills. It costs 217 tokens per session (4,309 once invoked), scanned A, original, no licence file.

A guard that looks for hidden instructions in legal documents and attachments before an AI reads them. Prompt injection is text designed to redirect an AI away from its intended task.

In plain words
What is it for?
Use it when processing pleadings, skeletons, document bundles, served evidence, opposing emails, or attachments. It checks that extracted text was visibly present on the page.
Why use it?
It helps prevent opposing pleadings, evidence, emails, or attachments from manipulating the model or exposing a client's work to the wrong instructions.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it when processing pleadings, skeletons, document bundles, served evidence, opposing emails, or attachments. It checks that extracted text was visibly present on the page.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lawve-ai/awesome-legal-skills/pleading-injection-guard-matei-clej
Install

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.

Any agent
npx skills add lawve-ai/awesome-legal-skills --skill pleading-injection-guard-matei-clej
Clone the repo
git clone --depth 1 https://github.com/lawve-ai/awesome-legal-skills

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for pleading-injection-guard

README.md
[![agentmods](https://agentmods.dev/badge/skills/lawve-ai/awesome-legal-skills/pleading-injection-guard-matei-clej/github.svg)](https://agentmods.dev/skills/lawve-ai/awesome-legal-skills/pleading-injection-guard-matei-clej)
Your own site
<a href="https://agentmods.dev/skills/lawve-ai/awesome-legal-skills/pleading-injection-guard-matei-clej"><img src="https://agentmods.dev/badge/skills/lawve-ai/awesome-legal-skills/pleading-injection-guard-matei-clej/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.

agentmods 80×15 button for pleading-injection-guard

Your own site · 80×15
<a href="https://agentmods.dev/skills/lawve-ai/awesome-legal-skills/pleading-injection-guard-matei-clej"><img src="https://agentmods.dev/badge/skills/lawve-ai/awesome-legal-skills/pleading-injection-guard-matei-clej.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 217 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,309 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00217 $0.04309
Opus 5.5 $0.00087 $0.01724
Sonnet 5.5 $0.00043 $0.00862
Haiku 4.5 $0.00022 $0.00431

Measured 14d ago against content hash 4714e37745d1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pleading-injection-guard scanned grade A with 1 finding 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 14d ago.

The scan reads SKILL.md. This mod also ships 14 executable files (hook.py, pig/__init__.py, pig/containers.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Reads agent configuration directorieslowAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

**The hook** (`hook.py`, when wired in `~/.claude/settings.json`) enforces this for the Read tool on files under the watched roots: `~/Downloads` by default, and whatever folders you list in `hook_config.json` (`roots`,

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

skills/pleading-injection-guard-matei-clej/SKILL.md · 100 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

Changes

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.

  1. 14d ago First seen · 100 lines · 217 tokens per session scan A 4714e37745d1

Subscribe to this mod's changes

pleading-injection-guard is a skill published in the GitHub repository lawve-ai/awesome-legal-skills (868 stars, last pushed 14d ago), with no licence file. It adds 217 tokens to every session and 4,309 once invoked, about $0.0009 per session on Opus 5.5. A static security scan graded it A with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-03.

Related

Other skills, from other repositories

korean-law

A legal research connection to South Korea's official law information service. It can retrieve statutes, court decisions, administrative rules, local ordinances, treaties, and legal interpretations, then check cited provisions against the source.

chrisryugj/korean-law-mcp · 85 tokens

investment-and-shareholder-agreement-reviewer

Reviews venture and private-investment documents — term sheets, letters of intent, share subscription agreements, shareholders' agreements, investment agreements, joint-venture agreements, constitutional rights packages, and side letters — from one identified party's position (founder, investor, majority, minority…

rohasnagpal/legal-ai-skills · 207 tokens

clause-comparator

Compares the same clause or provision across draft rounds, precedents, public agreements or a portfolio and reports what differs in wording and effect. Use for version-change requests and external clause benchmarking, including "what changed between drafts", "compare their indemnity with ours", "compare liability caps…

rohasnagpal/legal-ai-skills · 146 tokens

learn-law-with-rohas

Acts as an interactive legal tutor for learning a law, legal subject, doctrine, judgment, procedure, or legal concept. Builds a learning path around the user's topic and level, teaches concepts step by step, uses examples and hypotheticals, asks questions and quizzes, explains mistakes, adapts difficulty, revises weak…

rohasnagpal/legal-ai-skills · 150 tokens

adr-brief-drafter

Drafts the brief a party submits to a mediator or conciliator ahead of a session — position, facts, interests, chronology, evidence, negotiation history, and settlement obstacles — adapted to whichever process actually applies (mediation or conciliation are not treated as identical) and, within that, to whether the…

rohasnagpal/legal-ai-skills · 188 tokens

arbitration-pleading-drafter

Drafts the merits pleadings in arbitration — statement of claim, statement of defence, counterclaim, and reply to counterclaim — with jurisdiction and admissibility objections, material facts, contractual and legal breaches, causation, quantum, and relief all tied to the evidentiary record. Use when a claimant needs…

rohasnagpal/legal-ai-skills · 185 tokens