Skip to content
Back to skills

Legal Tos Differ

ASecurity

Fetches Terms of Service documents, stores snapshots, and performs semantic diffing to identify meaningful legal changes across Privacy Risks, Financial Changes, and User Rights categories.

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 25, 2026
toolsgonode

Works with

  • claude code

Security analysis

A100/100

Pro scans all 9 files and shows the line behind each finding

Scanned September 25, 2026

npx -y skills add CSlawyer1985/legal-skillhub --skill legal-tos-differ --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Legal Tos Differ?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Legal Tos Differ
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/cslawyer1985-legal-tos-differ/badge)](https://www.skillsdirectory.com/skills/cslawyer1985-legal-tos-differ)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: legal-tos-differ
description: Fetches Terms of Service documents, stores snapshots, and performs semantic diffing to identify meaningful legal changes across Privacy Risks, Financial Changes, and User Rights categories.
tools:
  - name: add_url
    description: Adds a URL to the tracked list of legal documents.
    arguments:
      - name: url
        description: "URL of the Terms of Service or legal document to track."
        type: string
        required: true
      - name: label
        description: "Human-readable label for the document (e.g., 'Acme Corp TOS')."
        type: string
        required: false
    execution:
      command: node {{SKILL_DIR}}/handler.js add --url "{{url}}" --label "{{label}}"
      output_format: markdown

  - name: list_tracked
    description: Lists all tracked URLs and their last snapshot dates.
    arguments: []
    execution:
      command: node {{SKILL_DIR}}/handler.js list
      output_format: markdown

  - name: fetch_current
    description: Fetches the current version of a tracked document and saves a snapshot without comparing.
    arguments:
      - name: url
        description: "URL to fetch (must be a tracked URL)."
        type: string
        required: true
    execution:
      command: node {{SKILL_DIR}}/handler.js fetch --url "{{url}}"
      output_format: markdown

  - name: diff
    description: Fetches the current version of a tracked document and outputs a semantic comparison prompt against the previous snapshot. The Claude Code runtime performs the analysis, categorizing changes into Privacy Risks, Financial Changes, and User Rights.
    arguments:
      - name: url
        description: "URL to diff (must be a tracked URL)."
        type: string
        required: true
    execution:
      command: node {{SKILL_DIR}}/handler.js diff --url "{{url}}"
      output_format: markdown

  - name: remove_url
    description: Removes a URL from the tracked list and deletes its snapshots.
    arguments:
      - name: url
        description: "URL to remove from tracking."
        type: string
        required: true
    execution:
      command: node {{SKILL_DIR}}/handler.js remove --url "{{url}}"
      output_format: markdown
---

# Legal/TOS Diff-er

This skill tracks changes in Terms of Service and legal documents by fetching pages, extracting the legal text, and comparing versions semantically.

## What It Does

- **Fetches** legal documents from tracked URLs
- **Extracts** clean legal text, stripping navigation, ads, and page noise
- **Stores** timestamped snapshots for historical comparison
- **Compares** versions using semantic analysis (not just text diffs)
- **Categorizes** changes into Privacy Risks, Financial Changes, and User Rights

## How It Works

1. Use `add_url` to start tracking a legal document
2. Use `fetch_current` to capture the first snapshot
3. Later, use `diff` to fetch the current version and compare it against the previous snapshot
4. The Claude Code runtime receives a structured comparison prompt and performs the semantic analysis

## Change Categories

| Category | Covers |
|----------|--------|
| **Privacy Risks** | Data collection, sharing, tracking, cookies, third-party data usage |
| **Financial Changes** | Pricing, fees, billing, refunds, payment terms, auto-renewal |
| **User Rights** | Account termination, content ownership, arbitration, governing law |

Files in this skill

  • SKILL.md3.3 KB
  • _meta.json135 B
  • analyzer.js532 B
  • extractor.js3.5 KB
  • handler.js5.9 KB
  • package-lock.json14.2 KB
  • package.json277 B
  • prompts.js2.7 KB
  • storage.js4.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…