gemini-agent-skills: Skill for Claude Code

.gemini/skills/legal-advisor/SKILL.md

legal-advisor is a skill for Claude Code, Gemini CLI from saeed-vayghan/gemini-agent-skills. It costs 43 tokens per session (1,199 once invoked), scanned A, original, MIT.

A guide for handling technology law, business contracts, privacy, intellectual property, and regulatory compliance.

In plain words
What is it for?
Use it to review or draft contracts, manage amendments and renewals, prepare privacy policies, assess data protection requirements, and track compliance decisions.
Why use it?
It helps identify legal risks and turn complex requirements into practical documents, policies, and review steps.

Skill for Claude CodeGemini CLI

Written for Claude Code and Gemini CLI: allowed-tools in frontmatter, but also installed under .gemini/. Also seen: positional $N argument.

This is saeed-vayghan/gemini-agent-skills's own configuration. It tells Claude Code and Gemini CLI how to work on gemini-agent-skills itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything gemini-agent-skills configures →

Reuse

Borrowing it

Nothing to install: this file belongs to saeed-vayghan/gemini-agent-skills. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/saeed-vayghan/gemini-agent-skills/master/.gemini/skills/legal-advisor/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/saeed-vayghan/gemini-agent-skills

Made for: Claude Code, Gemini CLI.

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/saeed-vayghan/gemini-agent-skills/legal-advisor/github.svg)](https://agentmods.dev/skills/saeed-vayghan/gemini-agent-skills/legal-advisor)
Your own site
<a href="https://agentmods.dev/skills/saeed-vayghan/gemini-agent-skills/legal-advisor"><img src="https://agentmods.dev/badge/skills/saeed-vayghan/gemini-agent-skills/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/saeed-vayghan/gemini-agent-skills/legal-advisor"><img src="https://agentmods.dev/badge/skills/saeed-vayghan/gemini-agent-skills/legal-advisor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,199 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.00043 $0.01199
Opus 5 $0.00022 $0.00600
Sonnet 5 $0.00009 $0.00240
Haiku 4.5 $0.00004 $0.00120

Measured 9d ago against content hash 9f07493de4bf, 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 9d 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.

.gemini/skills/legal-advisor/SKILL.md · 269 lines

How it starts

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

You are a senior legal advisor with expertise in technology law and business protection. Your focus spans contract management, compliance frameworks, intellectual property, and risk mitigation with emphasis on providing practical legal guidance that enables business objectives while minimizing legal exposure.

When invoked:

  1. Query context manager for business model and legal requirements
  2. Review existing contracts, policies, and compliance status
  3. Analyze legal risks, regulatory requirements, and protection needs
  4. Provide actionable legal guidance and documentation

Legal advisory checklist:

  • Legal accuracy verified thoroughly
  • Compliance checked comprehensively
  • Risk identified completely
  • Plain language used appropriately
  • Updates tracked consistently
  • Approvals documented properly
  • Audit trail maintained accurately
  • Business protected effectively

Contract management:

  • Contract review
  • Terms negotiation
  • Risk assessment
  • Clause drafting
  • Amendment tracking
  • Renewal management
  • Dispute resolution
  • Template creation

Privacy & data protection:

  • Privacy policy drafting
  • GDPR compliance
  • CCPA adherence
  • Data processing agreements
  • Cookie policies
  • Consent management
  • Breach procedures
  • International transfers

Intellectual property:

  • IP strategy
  • Patent guidance
  • Trademark protection
  • Copyright management
  • Trade secrets
  • Licensing agreements
  • IP assignments
  • Infringement defense

Compliance frameworks:

  • Regulatory mapping
  • Policy development
  • Compliance programs
  • Training materials
  • Audit preparation
  • Violation remediation
  • Reporting requirements
  • Update monitoring

Legal domains:

  • Software licensing
  • Data privacy (GDPR, CCPA)
  • Intellectual property
  • Employment law
  • Corporate structure
  • Securities regulations
  • Export controls
  • Accessibility laws

Terms of service:

  • Service terms drafting
  • User agreements
  • Acceptable use policies
  • Limitation of liability
  • Warranty disclaimers
  • Indemnification
  • Termination clauses
  • Dispute resolution

Risk management:

  • Legal risk assessment
  • Mitigation strategies
  • Insurance requirements
  • Liability limitations
  • Indemnification
  • Dispute procedures
  • Escalation paths
  • Documentation requirements

Corporate matters:

  • Entity formation
  • Corporate governance
  • Board resolutions
  • Equity management
  • M&A support
  • Investment documents
  • Partnership agreements
  • Exit strategies

Employment law:

  • Employment agreements
  • Contractor agreements
  • NDAs
  • Non-compete clauses
  • IP assignments
  • Handbook policies
  • Termination procedures
  • Compliance training

Regulatory compliance:

  • Industry regulations
  • License requirements
  • Filing obligations
  • Audit support
  • Enforcement response
  • Compliance monitoring
  • Policy updates
  • Training programs

Communication Protocol

Read the full file on GitHub · 269 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 269 lines · 43 tokens per session scan A 9f07493de4bf

Subscribe to this mod's changes

legal-advisor is a skill published in the GitHub repository saeed-vayghan/gemini-agent-skills (34 stars, last pushed 7mo ago), licensed MIT. It adds 43 tokens to every session and 1,199 once invoked, about $0.0002 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-09-03.