Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计提醒

legal-tos-privacy合法的隐私条款

Agent Skill

legal-tos-privacy 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,285

周安装

52

GitHub Stars

1

下载量

404
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:legal-tos-privacy(合法的隐私条款)
来源仓库:https://github.com/miketromba/skills
仓库路径:skills/legal-tos-privacy
安装命令:
npx skills add https://github.com/miketromba/skills --skill legal-tos-privacy
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/miketromba/skills --skill legal-tos-privacy

简介

legal-tos-privacy 用于隐私条款与用户协议相关的信息检索与筛选,适合合规文档处理场景。

  • 支持基于关键词、条款类型或法规要求定位候选资料,适用于 TOS 与隐私政策分析。
  • 通过 npx skills add 命令从 GitHub 仓库安装,需确认权限与维护状态。
  • 建议在使用前核实是否涉及联网或文件读写,避免意外行为。
  • 可结合原始 README 了解具体调用方式与适用限制。

SKILL.md

Legal Document Generator: Terms of Service & Privacy Policy

Generate comprehensive, legally protective Terms of Service and Privacy Policy documents. This skill:

  1. Audits the codebase and marketing materials
  2. Extracts company info, service details, and data practices automatically
  3. Drafts complete documents (using [[TEMPLATE_VARIABLES]] for unknowns)
  4. Asks the user ONLY for information that couldn't be found (minimal interaction)
  5. Delivers final, ready-to-publish documents with zero placeholders

Reference Files

  • references/legal-guide.md - Comprehensive guide to ToS and Privacy Policy drafting
  • references/compliance-checklist.md - Jurisdiction-specific requirements (GDPR, CCPA, LGPD, COPPA, etc.)
  • references/protective-clauses.md - Ready-to-adapt legal clauses for common risk scenarios

Read these references as needed when drafting the actual documents.

Critical Principle: Infer Everything Possible, Ask Only What's Missing

Minimize user interaction. Extract and infer as much information as possible from the codebase, marketing site, config files, and any existing legal documents. Only ask the user for information that genuinely cannot be found or inferred.

Workflow:

  1. Audit codebase and marketing materials (Phases 1-3)
  2. Extract company/service info from code during audit
  3. Draft documents with template variables for unknowns (Phases 4-5)
  4. Final step: resolve any remaining template variables by asking user (Phase 7)

Phase 1: Codebase & Data Flow Audit

Conduct exhaustive exploration to understand every aspect of data handling. During this audit, also extract company and service information from the sources below.

1.0 Extract Company & Service Information

Search these locations to infer company details - DO NOT ask the user if you can find it:

# Package/project metadata
Read: package.json (name, author, description, homepage, repository)
Read: README.md, README (project name, description, company info)

# Config files with company info
Search for: companyName, company_name, APP_NAME, SITE_NAME, BRAND_NAME
Read: .env.example, .env.local.example (for variable names, not secrets)

# Marketing site footer/header (often contains company info)
Read: footer, Footer, layout, Layout files for copyright notices
Search for: "©", "Copyright", "All rights reserved", "Inc.", "LLC", "Ltd."

# Existing legal pages
Read: terms, privacy, legal folders/files (may have company name, address, contact)
Search for: legal@, privacy@, support@, contact@, hello@

# Site metadata
Search for: <title>, meta description, og:site_name, og:title
Read: metadata, siteConfig, site.config, app.config files

# Contact pages
Read: contact, about, company pages for addresses/emails

Track what you find and what's missing:

FieldFound?ValueSource
Legal Entity Name
DBA/Trade Name
Entity Type
Physical Address
Legal Contact Email
Privacy Contact Email
Support Contact Email
Service/Product Name
Website URL
Governing Law

Inference rules:

  • If copyright says "© 2024 Acme Inc." → Legal entity is likely "Acme Inc."
  • If package.json has "author": "Acme Software" → Use as company name
  • If footer has hello@acme.com but no legal email → Use hello@ for legal contact
  • If site is acme.com → Website URL is https://acme.com
  • If company address found in footer/contact → Use for physical address
  • If no governing law found → Leave as template variable (will ask later)

1.1 Data Collection Discovery

Search for ALL data collection points:

# User input collection
Search for: form, input, useState, formData, register, signup, login, email, password, name, phone, address, billing, payment

# API data handling
Search for: req.body, request.body, params, query, headers, authorization, bearer, token, cookie, session

# Database schemas
Search for: schema, model, entity, table, @Column, field, prisma.schema, drizzle, mongoose

# Third-party integrations
Search for: stripe, paddle, polar, analytics, google, facebook, pixel, segment, mixpanel, amplitude, sentry, posthog, plausible

Document every data point found:

  • Field name and type
  • Where collected (signup, checkout, in-app)
  • Purpose (auth, billing, analytics, marketing)
  • Storage location (database, third-party)
  • Retention period (if determinable)

1.2 Third-Party Service Inventory

Identify ALL external services that receive user data:

# Check dependencies
Read: package.json, requirements.txt, go.mod, Cargo.toml

# Check environment variables
Search for: process.env, import.meta.env, Deno.env, .env files

# Check API integrations
Search for: fetch, axios, http, api, client, sdk

For each third-party service, document:

  • Service name and purpose
  • What data is shared with them
  • Their data processing role (processor vs controller)
  • Link to their privacy policy/DPA

1.3 Authentication & Security Mechanisms

Search for: auth, session, jwt, oauth, password, hash, bcrypt, argon, encrypt, ssl, tls, https, 2fa, mfa, totp

Document:

  • Authentication methods used
  • Password storage approach
  • Session management
  • Security features offered to users

1.4 User Content & Generated Data

Search for: upload, file, image, document, content, post, comment, message, storage, s3, blob, bucket

Document:

  • Types of user-generated content accepted
  • Storage mechanisms
  • Processing performed on user content
  • Who can access user content

1.5 Tracking & Analytics

Search for: cookie, localStorage, sessionStorage, tracking, analytics, gtag, ga4, pixel, event, track, identify, page

Document:

  • All cookies set (name, purpose, duration)
  • Analytics tools and what they track
  • Advertising/remarketing pixels
  • Cross-site tracking capabilities

Phase 2: Marketing Claims Audit

Examine all public-facing materials for claims that must be addressed legally.

2.1 Feature Claims

# Check marketing site
Read all files in: marketing/, website/, landing/, pages/marketing, app/(marketing)

Search for: guarantee, promise, ensure, always, never, 100%, unlimited, secure, safe, protect, best, fastest, #1, leading

Document every claim that could create liability:

  • Uptime/availability claims
  • Security/privacy claims
  • Performance claims
  • Results/outcome claims
  • Comparison claims

2.2 Pricing & Subscription Claims

Search for: pricing, price, plan, tier, subscription, trial, free, refund, cancel, money-back

Document:

  • All pricing tiers and what's included
  • Trial terms
  • Refund policy claims
  • Cancellation process claims

2.3 Compliance & Certification Claims

Search for: GDPR, CCPA, HIPAA, SOC, ISO, compliant, certified, secure

Document any compliance claims that must be legally defensible.

Phase 3: Risk Assessment

Before drafting, identify highest-risk areas:

3.1 Liability Hotspots

Rate each area (High/Medium/Low risk):

  • Data breach exposure - What's the damage if data leaks?
  • Service failure impact - What happens if product goes down?
  • Incorrect output liability - Could wrong results cause harm?
  • Third-party dependency risk - What if integrations fail?
  • User content liability - Could user content create legal issues?
  • Regulatory exposure - Which regulations apply?

3.2 Geographic Scope

Determine applicable regulations based on:

  • Company location
  • Server/data storage locations
  • Target user locations
  • Actual user locations (if known)

Regulations to consider:

  • GDPR (EU/EEA users)
  • CCPA/CPRA (California users)
  • LGPD (Brazil users)
  • PIPEDA (Canada users)
  • COPPA (if children might use service)
  • Industry-specific (HIPAA, PCI-DSS, etc.)

Phase 4: Draft Terms of Service

Use findings from audit to draft comprehensive ToS. See references/legal-guide.md for detailed section guidance.

Required Sections Checklist

Every ToS MUST include:

  • Introduction & Acceptance - Binding agreement, clickwrap consent, effective date
  • Definitions - Define "Service", "User", "Content", "Data", etc.
  • Account Terms - Registration, accuracy, security responsibility, no sharing
  • Acceptable Use Policy - Prohibited activities tailored to your product
  • Payment Terms (if paid) - Pricing, billing, taxes, refunds, cancellation
  • Intellectual Property - Company owns service, user owns their content, license grants
  • User Content License - Rights you need to operate (host, display, process)
  • Privacy Reference - Incorporation of Privacy Policy
  • Third-Party Services - Disclaimer for integrated services
  • Warranty Disclaimer - "AS IS", no guarantees, use at own risk
  • Limitation of Liability - Cap damages, exclude consequential damages
  • Indemnification - User covers you for their misuse/violations
  • Term & Termination - Duration, termination rights, post-termination
  • Dispute Resolution - Arbitration, class action waiver, governing law
  • Governing Law & Venue - Jurisdiction selection
  • Force Majeure - Excuse for uncontrollable events
  • Severability - Invalid clauses don't void agreement
  • Entire Agreement - This supersedes prior agreements
  • Modification Rights - How terms can change, notification requirement
  • Contact Information - How to reach you

Liability Protection Language

Include these protective clauses:

Service Availability Disclaimer:

The Service is provided on an "as is" and "as available" basis. We do not
guarantee that the Service will be uninterrupted, timely, secure, or error-free.
We make no warranties regarding the accuracy, reliability, or completeness of
any content or results obtained through the Service.

Consequential Damages Exclusion:

IN NO EVENT SHALL [[LEGAL_ENTITY_NAME]] BE LIABLE FOR ANY INDIRECT, INCIDENTAL,
SPECIAL, CONSEQUENTIAL, OR PUNITIVE DAMAGES, INCLUDING BUT NOT LIMITED TO LOSS OF
PROFITS, DATA, USE, GOODWILL, OR OTHER INTANGIBLE LOSSES, REGARDLESS OF WHETHER WE
HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

(Note: Replace [[LEGAL_ENTITY_NAME]] with actual company name found in audit, or resolve in Phase 7)

Liability Cap:

OUR TOTAL LIABILITY TO YOU FOR ALL CLAIMS ARISING FROM OR RELATED TO THE SERVICE
SHALL NOT EXCEED THE GREATER OF (A) THE AMOUNTS YOU PAID TO US IN THE TWELVE (12)
MONTHS PRECEDING THE CLAIM, OR (B) ONE HUNDRED DOLLARS ($100).

Results Disclaimer (for AI/analytics products):

Any insights, recommendations, or outputs generated by the Service are provided
for informational purposes only and should not be relied upon as professional
advice. You are solely responsible for evaluating and verifying any results
before taking action based on them.

Audit-Specific Additions

Based on your audit findings, add clauses for:

If AI/ML features exist:

  • Output accuracy disclaimer
  • No reliance for critical decisions
  • Training data usage rights

If user content is processed:

  • Content ownership clarification
  • License grant for processing
  • Prohibited content types
  • Takedown procedures

If financial data is handled:

  • Not financial advice disclaimer
  • User responsibility for decisions
  • No guarantee of results

If health-related features:

  • Not medical advice disclaimer
  • Consult professional warning
  • Emergency services disclaimer

Phase 5: Draft Privacy Policy

Create comprehensive privacy policy addressing all audit findings.

Required Sections Checklist

Every Privacy Policy MUST include:

  • Introduction - Who you are, what this policy covers
  • Information We Collect - All categories from audit (be exhaustive)
  • How We Collect Information - Direct input, automated, third-party sources
  • Why We Collect Information - Purpose for each category, legal basis (GDPR)
  • How We Use Information - All uses discovered in audit
  • Information Sharing - All third parties from inventory
  • Cookies & Tracking - All cookies/pixels from audit
  • Data Retention - How long each category is kept
  • Data Security - Security measures from audit
  • Your Rights - Access, correction, deletion, portability, objection
  • Children's Privacy - COPPA compliance, age restrictions
  • International Transfers - Where data goes, safeguards
  • California Rights (if applicable) - CCPA/CPRA specific disclosures
  • EU/UK Rights (if applicable) - GDPR specific disclosures
  • Policy Changes - How updates are communicated
  • Contact Information - Privacy contact, DPO if required

Data Inventory Table

Create a clear table of all data collected:

Data CategoryExamplesCollection MethodPurposeLegal BasisRetention
Account InfoEmail, nameRegistration formService deliveryContractAccount lifetime
Payment DataCard detailsCheckoutBillingContractAs required by law
Usage DataPages viewed, features usedAutomatic loggingProduct improvementLegitimate interest24 months
Device InfoIP, browser, OSAutomaticSecurity, supportLegitimate interest12 months

Third-Party Disclosure Table

List all third parties:

ServicePurposeData SharedPrivacy Policy
StripePaymentsBilling infostripe.com/privacy
AWSHostingAll data (processor)aws.amazon.com/privacy
Google AnalyticsAnalyticsUsage data, IPpolicies.google.com/privacy

Phase 6: Verification Checklist

Before finalizing, verify:

Legal Protection Verification

  • Every marketing claim has corresponding disclaimer if needed
  • All data collection has stated purpose and legal basis
  • All third parties are disclosed
  • Liability is limited to maximum extent permitted by law
  • Warranty disclaimers cover all product functionality
  • Indemnification protects against user misuse
  • Dispute resolution favors your jurisdiction
  • Force majeure covers service interruptions
  • Termination rights preserved for violations

Compliance Verification

  • GDPR compliant (if EU users): legal basis, rights, DPO contact if needed
  • CCPA compliant (if CA users): categories listed, sale disclosure, opt-out
  • COPPA compliant: age gate, no children data collection
  • Cookie consent mechanism described
  • Data retention periods specified
  • International transfer safeguards noted

Consistency Verification

  • ToS and Privacy Policy don't contradict each other
  • No promises in ToS that Privacy Policy contradicts
  • Marketing claims align with legal disclaimers
  • Refund policy matches what checkout shows
  • Data practices match what code actually does

Phase 7: Resolve Template Variables (FINAL STEP)

After drafting both documents, scan for any remaining template variables. Template variables use the format [[VARIABLE_NAME]] (double brackets).

7.1 Scan for Remaining Variables

Search the drafted documents for any [[...]] patterns. Common ones that may need user input:

VariableWhat to ask
[[LEGAL_ENTITY_NAME]]"What is your company's full legal name (e.g., 'Acme Software, Inc.')?"
[[PHYSICAL_ADDRESS]]"What address should be used for legal notices?"
[[LEGAL_EMAIL]]"What email should receive legal inquiries?"
[[PRIVACY_EMAIL]]"What email should receive privacy/GDPR requests?"
[[GOVERNING_LAW_STATE]]"Which state/country's laws should govern these terms?"
[[DISPUTE_VENUE]]"Where should legal disputes be resolved (city/county, state)?"
[[EFFECTIVE_DATE]]"When should these documents take effect? (default: today)"
[[ARBITRATION_PROVIDER]]"Do you want binding arbitration? If so, which provider (e.g., JAMS, AAA)?"

7.2 Ask User for Missing Information

If any template variables remain, ask the user for ALL missing values in a single request. Group related questions together.

Example:

I've drafted your Terms of Service and Privacy Policy based on your codebase.
I found most information automatically, but need a few details to finalize:

1. **Legal entity name:** What is your company's full legal name as registered?
   (e.g., "Acme Software, Inc." or "Acme LLC")

2. **Physical address:** What address should appear for legal notices?

3. **Governing law:** Which state's laws should govern? (I'd suggest Delaware
   or California based on most SaaS companies, but this is your choice)

Once you provide these, I'll finalize the documents with no placeholders.

7.3 Fill In and Verify

After receiving answers:

  1. Replace ALL template variables with actual values
  2. Re-scan to confirm zero [[...]] patterns remain
  3. Present the final, complete documents

The final output must have NO template variables whatsoever.


Output Format

During Drafting (Phases 4-5)

Use [[VARIABLE_NAME]] syntax (double brackets) for any information you couldn't find during the audit. This makes variables easy to scan for in Phase 7.

Final Output (After Phase 7)

NO PLACEHOLDERS IN FINAL OUTPUT. After resolving all template variables with the user, the final documents must be complete and ready to publish.

The following are FORBIDDEN in final output:

  • [[VARIABLE]] double-bracket template variables
  • [COMPANY], [DATE], [ADDRESS] single-bracket placeholders
  • {{variable}} or {variable} template syntax
  • "INSERT X HERE", "YOUR X", "TBD", "TBA", "Coming Soon"

Deliver final documents in this structure:

# Terms of Service

**Last Updated: [actual date]**

[Full ToS content - every field filled with real values, zero placeholders]

---

# Privacy Policy

**Last Updated: [actual date]**

[Full Privacy Policy - every field filled with real values, zero placeholders]

Important Notes

  1. Minimize user interaction - Infer and extract as much as possible from the codebase. Only ask the user for information that genuinely cannot be found. Batch all questions into a single request at the end (Phase 7).
  2. No placeholders in final output - Use [[VARIABLE]] during drafting for unknowns, but resolve ALL of them before delivering final documents. The user should receive ready-to-publish documents.
  3. Be specific - Generic templates create liability gaps. Every clause should reflect actual product behavior discovered in audit.
  4. Plain language - Write clearly. Courts and regulators favor understandable policies.
  5. Conservative claims - When in doubt, disclaim more. It's better to under-promise legally.
  6. Verify before delivery - After Phase 7, scan for any remaining [[...]] patterns. If found, resolve before presenting final documents.
  7. Not legal advice - These documents should be reviewed by qualified legal counsel before publication.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

32.58%
按下载量换算132

Claude

32.3%
按下载量换算130

Cursor

17.56%
按下载量换算71

Gemini CLI

10.42%
按下载量换算42

安全审计

Gen Agent Trust Hub

可疑

Socket

可疑

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills