Tos clause scanner

From ngophatneknha/ai-engineering-hub · View interactive version

Tos clause scanner is an AI agent skill from the GitHub repository ngophatneknha/ai-engineering-hub. Audit Terms of Service, user agreements, and privacy policies for consumer risks, producing a structured report that flags unfair clauses, data traps, and liability issues. Trigger when a user asks to review, audit, or analyze a ToS, privacy policy, or user agreement, or mentions specific concerns l

How to use this skill

Skill file

Terms of Service Auditor (Consumer Perspective)

Systematically audit the Terms of Service, User Agreements, and Privacy Policies of apps, SaaS products, and platforms from an ordinary consumer's standpoint. Identify clauses that may harm consumer rights and produce an actionable audit report.

Quick Start

Paste the terms text directly to the Agent or provide a file path. The Agent will automatically complete the audit and output a structured report.

Example prompts:


1. Audit Framework

1.1 Risk Category Definitions

The audit covers seven major risk categories, each with common problem patterns:

| ID | Risk Category | Severity | Description |

|----|---------------|----------|-------------|

| R1 | Unfair Clauses | 🔴 High | Clauses that exclude or restrict consumers' statutory rights |

| R2 | Covert Data Authorization | 🔴 High | Data collection, sharing, or sale beyond what the service requires |

| R3 | Auto-Renewal Traps | 🟠 Medium-High | Opaque auto-renewal mechanisms and cancellation barriers |

| R4 | Unilateral Amendment Rights | 🟠 Medium-High | Platform reserves the right to modify terms without notice |

| R5 | Excessive Liability Disclaimers | 🟠 Medium-High | Overbroad disclaimers and low liability caps |

| R6 | Dispute Resolution Restrictions | 🟡 Medium | Mandatory arbitration, class-action waivers, jurisdiction constraints |

| R7 | IP Overreach | 🟡 Medium | Excessive rights claimed over user-generated content |

1.2 Typical Problem Patterns per Category

R1 Unfair Clauses

Look for these patterns:

Review checklist:

R2 Covert Data Authorization

Look for these patterns:

Review checklist:

R3 Auto-Renewal Traps

Look for these patterns:

Review checklist:

R4 Unilateral Amendment Rights

Look for these patterns:

Review checklist:

R5 Excessive Liability Disclaimers

Look for these patterns:

Review checklist:

R6 Dispute Resolution Restrictions

Look for these patterns:

Review checklist:

R7 IP Overreach

Look for these patterns:

Review checklist:


2. Audit Workflow

2.1 Input Processing

After receiving the terms text submitted by the user, follow these steps:

  1. Identify document type: Determine whether it is a Terms of Service, Privacy Policy, or a combined agreement
  2. Extract key clauses: Categorize and extract relevant passages under the seven risk categories
  3. Analyze each clause: Assess the risk of every extracted clause
  4. Cross-check: Look for contradictions or conflicts between different clauses

2.2 Evaluation Criteria

For each identified risky clause, evaluate three dimensions:

| Dimension | Description |

|-----------|-------------|

| Severity | Potential harm to consumer rights (High / Medium / Low) |

| Concealment | Whether the clause disguises its true intent through wording or placement (High / Medium / Low) |

| Actionability | Whether the consumer has practical means to mitigate the risk (Yes / Limited / None) |


3. Output Format: Audit Report

3.1 Report Structure

# Terms of Service Audit Report

## Basic Information
- **Subject**: [Platform / App name]
- **Document Type**: [Terms of Service / Privacy Policy / Combined Agreement]
- **Audit Date**: [Date]

## Overall Rating

[⭐⭐⭐⭐⭐ to ⭐ — five-tier scale]

| Metric | Rating |
|--------|--------|
| Overall Consumer-Friendliness | ⭐⭐⭐ |
| Data Privacy Protection | ⭐⭐ |
| Fee Transparency | ⭐⭐⭐⭐ |
| Clause Fairness | ⭐⭐ |

## Risk Findings

### 🔴 High-Risk (Requires Immediate Attention)

#### Finding 1: [Risk Title]
- **Risk Category**: R1 Unfair Clauses / R2 Covert Data Authorization / ...
- **Original Text**: > [Direct quote from the terms]
- **Risk Analysis**: [Plain-language explanation of why this clause is harmful to consumers]
- **Severity**: High | **Concealment**: High | **Actionability**: None
- **Recommendation**: [Actions the consumer can take]

### 🟠 Medium-High Risk

...(same structure as above)

### 🟡 Medium Risk

...(same structure as above)

## Consumer Action Items

1. [Specific action recommendations, ordered by priority]
2. ...

## Comparison with Industry Peers (if applicable)

[Brief note on whether the clause is standard industry practice]

3.2 Plain-Language Explanation Principles

When analyzing each risk, follow these principles so that ordinary consumers can understand:


4. Regulatory Reference Framework

The audit references the following regulations (this does not constitute legal advice):

4.1 Chinese Regulations

4.2 International Regulations (for comparative reference)


5. Common Industry-Specific Risks

5.1 Social Media / UGC Platforms

5.2 SaaS / Cloud Services

5.3 E-Commerce / Subscription Services

5.4 Finance / Payments

5.5 Smart Hardware / IoT


6. Agent Behavior Guidelines

6.1 Audit Principles

6.2 Workflow

  1. After receiving the terms text, read it in full to understand the overall structure
  2. Scan systematically across all seven risk categories and flag suspicious clauses
  3. Perform an in-depth analysis of each flagged clause, evaluating the three dimensions
  4. Sort findings by severity and produce the structured report
  5. Append consumer action items at the end of the report

6.3 Boundaries and Limitations

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.