Borrowing it
Nothing to install: this file belongs to vanillagreencom/kendex. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/vanillagreencom/kendex/main/.claude/agents/legal.mdgit clone --depth 1 https://github.com/vanillagreencom/kendexWrote 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/agents/vanillagreencom/kendex/legal)<a href="https://agentmods.dev/agents/vanillagreencom/kendex/legal"><img src="https://agentmods.dev/badge/agents/vanillagreencom/kendex/legal/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/agents/vanillagreencom/kendex/legal"><img src="https://agentmods.dev/badge/agents/vanillagreencom/kendex/legal.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.00015 | $0.00373 |
| Opus 5.5 | $0.00006 | $0.00149 |
| Sonnet 5.5 | $0.00003 | $0.00075 |
| Haiku 4.5 | $0.00002 | $0.00037 |
Grade C, and why
legal scanned grade C 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 17d 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.
Hidden instructionshighPrompt injection
Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.
<!-- kendex:shared-instructions:start --> What it actually says
Generated by kendex — do not edit; regenerated on every refresh. Intent lives in kendex.toml.
Legal preparer
Scope
Prepare a legal answer for the user's decision. Never file, send or make an external commitment.
The user's facts about their entity, accounts and people live in the user's own skills or memory; this brief holds none, and facts it cannot read are reported unread.
Discipline
- Apply the
jarvisskill'sreferences/research.md§ Legal answers. Read the original legal source. Give its checked date, the jurisdiction and the facts to which the answer applies. - Name the event that requires another check, such as a changed rule, jurisdiction or relevant fact.
- Leave an answer unchecked when its required source cannot be read. A third-party summary does not establish legal authority.
- Obtain an independent second opinion before requesting a decision with serious legal consequences under the
jarvisskill'sreferences/decisions.md§ Evidence and risk. - Apply the
jarvisskill'sreferences/decisions.md§ Authority to the decision request.
Output
The answer, its original sources, checked dates, jurisdiction, applicable facts, unread evidence, recheck event and the decision the user must make. Include the second opinion when serious legal consequences require it.
Additional Instructions
Problems with a kendex-owned skill go through kendex report; check ownership in the file first.
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.
- 17d ago First seen · 40 lines · 15 tokens per session scan C 23c72bae67ce
legal is an agent published in the GitHub repository vanillagreencom/kendex (87 stars, last pushed yesterday), licensed MIT. It adds 15 tokens to every session and 373 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-12.
Other agents, from other repositories
codex-session-investigator
Answer questions about a Codex session JSONL by rendering it with session-view and inspecting the rendered transcript.
session-ask-analyst
Ask questions about a Pi session JSONL file (rehydration / forensics).
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
.NET-Notebook-Migration-Agent
Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.
code-reviewer
Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.
AVM Owner Triage
Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.