legal-terms-of-service

legal-terms-of-service is an agent for Claude Code from christopherlouet/claude-base. It costs 27 tokens per session (413 once invoked), scanned A, original, MIT.

An agent for writing or updating a service’s Terms of Service, the rules users agree to when using it.

In plain words
What is it for?
Use it to prepare Terms of Service for SaaS products or marketplaces, including consumer or business clauses and GDPR references.
Why use it?
It helps organize required topics such as accounts, permitted use, payments, termination, privacy, and disputes.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Good fit Use it to prepare Terms of Service for SaaS products or marketplaces, including consumer or business clauses and GDPR references.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/christopherlouet/claude-base/legal-terms-of-service
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.

Clone the repo
git clone --depth 1 https://github.com/christopherlouet/claude-base

Made for: Claude Code.

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-terms-of-service

README.md
[![agentmods](https://agentmods.dev/badge/agents/christopherlouet/claude-base/legal-terms-of-service/github.svg)](https://agentmods.dev/agents/christopherlouet/claude-base/legal-terms-of-service)
Your own site
<a href="https://agentmods.dev/agents/christopherlouet/claude-base/legal-terms-of-service"><img src="https://agentmods.dev/badge/agents/christopherlouet/claude-base/legal-terms-of-service/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-terms-of-service

Your own site · 80×15
<a href="https://agentmods.dev/agents/christopherlouet/claude-base/legal-terms-of-service"><img src="https://agentmods.dev/badge/agents/christopherlouet/claude-base/legal-terms-of-service.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 413 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.00027 $0.00413
Opus 5 $0.00014 $0.00206
Sonnet 5 $0.00005 $0.00083
Haiku 4.5 $0.00003 $0.00041

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

Security

Grade A, and why

legal-terms-of-service 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.

.claude/agents/legal-terms-of-service.md · 50 lines

What it actually says

Creation of compliant Terms of Service.

Mandatory articles

  1. Definitions: Service, User, Account, Content, Publisher
  2. Purpose and acceptance: terms of use, implicit acceptance
  3. Access to the service: conditions (age of majority, legal capacity), account creation
  4. Use: authorized and prohibited uses
  5. Intellectual property: publisher rights, user license, user content
  6. Responsibilities: publisher (due diligence, security) and user (use, content)
  7. Subscriptions: pricing, payment, cancellation, refund (if applicable)
  8. Suspension/Termination: by user and by publisher
  9. Modifications: notification of substantial changes
  10. Applicable law and disputes: French law, competent court
  11. Contact

Workflow

  1. Analyze the service: type (SaaS, marketplace), B2C/B2B, features
  2. Generate each article tailored to the service
  3. Add specific B2B clauses if necessary (liability limitation, confidentiality)
  4. Integrate GDPR references

Expected output

Complete ToS with:

  1. All mandatory articles
  2. Tailored to the type of service
  3. B2C and/or B2B clauses
  4. Integrated GDPR compliance

Guidelines

  • IMPORTANT: Tailor the ToS to the actual service, not a generic copy-paste
  • NEVER forget the applicable law clause
  • YOU MUST mention the privacy policy
  • IMPORTANT: Clear and understandable clauses (avoid excessive legal jargon)

Think hard about protecting both parties.

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 · 50 lines · 27 tokens per session scan A 310379a61c20

Subscribe to this mod's changes

legal-terms-of-service is an agent published in the GitHub repository christopherlouet/claude-base (5 stars, last pushed yesterday), licensed MIT. It adds 27 tokens to every session and 413 once invoked, about $0.0001 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-08-31.

Related

Other agents, from other repositories

compliance-engineer

SOC2, HIPAA, GDPR, PCI-DSS compliance implementation specialist. Use when implementing audit logging, data encryption, access controls, privacy by design, or preparing for compliance audits. Trigger phrases: SOC2, HIPAA, GDPR, PCI, compliance, audit log, data privacy, encryption, access control, DSAR, consent.

travisjneuman/.claude · 73 tokens

vue-nuxt-expert

Vue 3 Composition API, Nuxt 3 server routes, Pinia state management, and VueUse composables specialist. Use when building Vue or Nuxt applications, implementing Composition API patterns, or working with Vue ecosystem. Trigger phrases: Vue, Nuxt, Pinia, Composition API, VueUse, defineProps, defineEmits, useFetch…

travisjneuman/.claude · 90 tokens

devsecops-engineer

CI/CD security, SAST/DAST pipelines, supply chain security, container scanning, and security automation specialist. Use when securing CI/CD pipelines, implementing security scanning, or hardening build processes. Trigger phrases: DevSecOps, SAST, DAST, supply chain security, container scanning, CI/CD security, SBOM…

travisjneuman/.claude · 83 tokens

devops-engineer

Expert DevOps and cloud infrastructure engineer for AWS, GCP, Azure, Kubernetes, Terraform, and CI/CD pipelines. Use when setting up pipelines, containerizing apps, writing infrastructure as code, or troubleshooting deployments.

travisjneuman/.claude · 48 tokens

api-designer

Designs REST and GraphQL APIs following best practices. Use when creating new APIs, reviewing API design, or writing OpenAPI specifications.

travisjneuman/.claude · 31 tokens

test-generator

Generates comprehensive test suites using TDD patterns. Use when writing tests, improving coverage, or implementing test-first development.

travisjneuman/.claude · 27 tokens