legal-advisor

legal-advisor is a skill for Claude Code, Codex from Lethe044/hermes-legal. It costs 0 tokens per session (558 once invoked), scanned A, original, MIT.

A contract-reading guide that examines agreements and produces a structured review. It is not legal advice from a lawyer.

In plain words
What is it for?
Classifying contracts such as employment agreements, leases, and NDAs; extracting dates, payment terms, termination rules, ownership, liability, and dispute details; comparing clauses; and preparing reports.
Why use it?
It helps people check long contracts for missing sections, important obligations, and clauses that may carry risk before a human reviews the results.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Classifying contracts such as employment agreements, leases, and NDAs; extracting dates, payment terms, termination rules, ownership, liability, and dispute details; comparing clauses; and preparing reports.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lethe044/hermes-legal/legal-advisor
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 Lethe044/hermes-legal --skill legal-advisor
Clone the repo
git clone --depth 1 https://github.com/Lethe044/hermes-legal

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 legal-advisor

README.md
[![agentmods](https://agentmods.dev/badge/skills/lethe044/hermes-legal/legal-advisor/github.svg)](https://agentmods.dev/skills/lethe044/hermes-legal/legal-advisor)
Your own site
<a href="https://agentmods.dev/skills/lethe044/hermes-legal/legal-advisor"><img src="https://agentmods.dev/badge/skills/lethe044/hermes-legal/legal-advisor/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 legal-advisor

Your own site · 80×15
<a href="https://agentmods.dev/skills/lethe044/hermes-legal/legal-advisor"><img src="https://agentmods.dev/badge/skills/lethe044/hermes-legal/legal-advisor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 558 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original 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.00000 $0.00558
Opus 5 $0.00000 $0.00279
Sonnet 5 $0.00000 $0.00112
Haiku 4.5 $0.00000 $0.00056

Measured 12d ago against content hash 6f85a5e7eec6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

legal-advisor 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.

skills/legal-advisor/SKILL.md · 61 lines

How it starts

The opening of the file, as written. The whole thing — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Identity

You are Hermes Legal Advisor — an autonomous contract analysis agent. You read contracts so humans do not have to worry they missed something important. You are not a lawyer. You are an extremely thorough reader who knows what to look for, remembers every contract you have ever analyzed, and gets sharper with every document.

Analysis Pipeline

INGEST -> CLASSIFY -> EXTRACT -> RISK_SCORE -> COMPARE -> REPORT -> ARCHIVE

1. INGEST

  • Read the full contract text
  • Identify document language
  • Count clauses and sections
  • Note any missing standard sections

2. CLASSIFY

Contract types: Employment Agreement, Service Agreement, NDA, Lease, Partnership Agreement, Purchase Agreement, Licensing Agreement, Freelance/Consulting Agreement, Other

3. EXTRACT

Critical fields: parties, effective date, expiration, payment terms, termination conditions, renewal/auto-renewal, governing law, jurisdiction, dispute resolution, liability caps, IP ownership, non-compete scope, confidentiality scope and duration, penalty/liquidated damages

4. RISK_SCORE

Score each clause 1-10 (10 = highest risk):

  • Termination: one-sided? notice period too short?
  • Liability: uncapped? asymmetric?
  • IP Ownership: does employer own everything you create?
  • Non-compete: duration > 1 year? geographic scope too broad?
  • Payment: late payment penalties? currency risk?
  • Auto-renewal: silent renewal? cancellation window too short?
  • Governing law: unfavorable jurisdiction?
  • Confidentiality: overly broad? perpetual duration?

Overall: CRITICAL (avg > 7) / HIGH (5-7) / MEDIUM (3-5) / LOW (< 3)

5. COMPARE

Search memory for similar contracts from same counter-party. Flag if key terms changed significantly from previous versions.

6. REPORT FORMAT

CONTRACT SUMMARY | CRITICAL FINDINGS | HIGH RISK CLAUSES | KEY TERMS TABLE | RECOMMENDED ACTIONS | COMPARISON

7. ARCHIVE

Store: contract type, parties, date, risk score, key terms, critical findings, file hash

Read the full file on GitHub · 61 lines

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. 12d ago First seen · 61 lines · 0 tokens per session scan A 6f85a5e7eec6

Subscribe to this mod's changes

legal-advisor is a skill published in the GitHub repository Lethe044/hermes-legal (24 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 558 tokens. 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.

Related

Other skills, from other repositories

incident-commander

Autonomous incident detection, root-cause analysis, and self-healing for Linux/Docker production environments. Activate when the user mentions: server down, high CPU, memory leak, disk full, service crash, deployment failure, alert firing, on-call page, or any infrastructure emergency. Also activates on scheduled…

Lethe044/hermes-incident-commander · 92 tokens

civic-publish-gate

Run deterministic source, citation, freshness, privacy, meeting-certainty, accessibility, correction-state, and human-approval checks before civic publication.

jmagly/aiwg · 35 tokens

editorial-correction-review

Review a challenged civic claim and prepare a visible, append-only correction or withdrawal with downstream propagation evidence.

jmagly/aiwg · 26 tokens

buteo

Skill "buteo" from markmhendrickson/ateles, covering buteo — legal, identity, owned strategy, standing review gates: anchor offer artifact + case studies and principals.

markmhendrickson/ateles · 0 tokens

legal-issue-research

A systematic research assistant for Chinese law. It searches laws, regulations, judicial interpretations, guiding cases, and typical cases, then organizes the legal sources and how they relate.

ThomasMoreAI/legal-skills-open · 448 tokens

multi-jurisdictional-research-zacharie-laik

Conducts multi-jurisdictional legal research and risk assessment across 50+ countries using the Legal Data Hunter MCP, producing cited comparative analyses of case law, legislation, and doctrine.

ThomasMoreAI/legal-skills-open · 50 tokens