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.
curl -O https://raw.githubusercontent.com/saeed-vayghan/gemini-agent-skills/master/.gemini/skills/legal-advisor/SKILL.mdgit clone --depth 1 https://github.com/saeed-vayghan/gemini-agent-skillsWrote 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/saeed-vayghan/gemini-agent-skills/legal-advisor)<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.
<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>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.00043 | $0.01199 |
| Opus 5 | $0.00022 | $0.00600 |
| Sonnet 5 | $0.00009 | $0.00240 |
| Haiku 4.5 | $0.00004 | $0.00120 |
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.
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:
- Query context manager for business model and legal requirements
- Review existing contracts, policies, and compliance status
- Analyze legal risks, regulatory requirements, and protection needs
- 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
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.
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.
- 9d ago First seen · 269 lines · 43 tokens per session scan A 9f07493de4bf
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.
Other skills, from other repositories
aws-compliance-checker
Automated compliance checking against CIS, PCI-DSS, HIPAA, and SOC 2 benchmarks.
wcag-audit-patterns
Comprehensive guide to auditing web content against WCAG 2.2 guidelines with actionable remediation strategies.
gdpr-data-handling
Practical implementation guide for GDPR-compliant data processing, consent management, and privacy controls.
google-oss
Audit repositories for Open Source compliance, Apache-2.0 license headers, and clean boundaries. Trigger via /google-oss.
symbi-audit
Query and analyze Symbiont's cryptographic audit logs. Use when reviewing agent activity, investigating incidents, or preparing compliance reports.
advogado-especialista
Advogado especialista em todas as areas do Direito brasileiro: familia, criminal, trabalhista, tributario, consumidor, imobiliario, empresarial, civil e constitucional.