AGENT SKILL

twinmind-data-handling

Handle data privacy, GDPR compliance, and data retention for TwinMind. Use when implementing data protection, handling user data requests, or ensuring compliance with privacy regulations. Trigger with phrases like "twinmind GDPR", "twinmind data privacy", "twinmind data retention", "twinmind user data", "twinmind compliance".

License 许可
MIT
最近更新
2026-05-26
Stars
★ 0
Forks
0

01 前言 Front Matter

name
twinmind-data-handling
author
Jeremy Longshore <jeremy@intentsolutions.io>
license
MIT
version
1.0.0
description
Handle data privacy, GDPR compliance, and data retention for TwinMind. Use when implementing data protection, handling user data requests, or ensuring compliance with privacy regulations. Trigger with phrases like "twinmind GDPR", "twinmind data privacy", "twinmind data retention", "twinmind user data", "twinmind compliance".
allowed-tools
Read, Write, Edit
compatible-with
claude-code, codex, openclaw

02 资源文件 1

03 SKILL.md 正文

TwinMind Data Handling

Contents

Overview

Data privacy, retention, and compliance procedures for TwinMind meeting transcriptions including PII redaction, GDPR data subject requests, consent management, and data anonymization.

Prerequisites

  • Understanding of GDPR/CCPA requirements
  • TwinMind account with admin access
  • Database access for data management
  • Legal/compliance team consultation

Instructions

Step 1: Configure Data Retention Policies

Define RetentionPolicy with configurable retention days for transcripts (default 90), summaries (linked to transcript), action items (180 days), and user profiles (30 days post-deletion). Implement auto-cleanup job for expired data.

Step 2: Implement PII Redaction

Build PII detection with regex patterns for SSN, credit card, email, phone, and IP address. Create redactPII() function returning redacted text and a count of redactions by type. Enable automatic redaction via TwinMind settings API.

Step 3: Handle GDPR Data Subject Requests

Implement GDPRHandler with right to access (Article 15), right to erasure (Article 17), and right to data portability (Article 20). Track DSR requests with 30-day deadline and compliance team notifications.

Step 4: Manage Consent

Build ConsentManager tracking consent per purpose (transcription, aiProcessing, storage, sharing, marketing). Add Express middleware requireConsent() that blocks processing without valid consent.

Step 5: Data Anonymization

Implement transcript anonymization using HMAC-based ID hashing, PII redaction, and speaker name replacement for analytics exports.

See detailed implementation for complete retention policy, PII patterns, GDPR handlers, consent manager, and anonymization code.

Output

  • Data retention policy configuration
  • PII redaction implementation
  • GDPR request handlers
  • Consent management system
  • Data anonymization utilities

Error Handling

Issue Cause Solution
DSR deadline missed Processing delay Automate DSR handling
PII not redacted Pattern not matched Update regex patterns
Consent invalid Version mismatch Re-request consent
Data not deleted Cascade failure Verify deletion recursively

Examples

Basic usage: Apply twinmind data handling to a standard project setup with default configuration options.

Advanced scenario: Customize twinmind data handling for production environments with multiple constraints and team-specific requirements.

TwinMind Privacy Features

  • No audio storage: Audio processed in real-time and immediately deleted
  • On-device processing: Option for local transcription
  • Encrypted storage: Transcripts encrypted with user-controlled keys
  • Data residency: Choose storage region (EU, US, APAC)

Resources

Next Steps

For enterprise access control, see twinmind-enterprise-rbac.

04 同仓库更多 Skills

SamuelChien
SamuelChien/mega-skills-collection

zustand-store-ts

Create Zustand stores with TypeScript, subscribeWithSelector middleware, and proper state/action separation. Use when building React state management, creating global stores, or implementing reactive state patterns with Zustand.

★ 0
SamuelChien
SamuelChien/mega-skills-collection

zustand-store-creator

Zustand Store Creator - Auto-activating skill for Frontend Development. Triggers on: zustand store creator, zustand store creator Part of the Frontend Development skill category.

★ 0
SamuelChien
SamuelChien/mega-skills-collection

zero-trust-config-helper

Zero Trust Config Helper - Auto-activating skill for Security Advanced. Triggers on: zero trust config helper, zero trust config helper Part of the Security Advanced skill category.

★ 0
SamuelChien
SamuelChien/mega-skills-collection

zapier-integration-helper

Zapier Integration Helper - Auto-activating skill for Business Automation. Triggers on: zapier integration helper, zapier integration helper Part of the Business Automation skill category.

★ 0
SamuelChien
SamuelChien/mega-skills-collection

zai-cli

Execute z.AI CLI providing vision, search, reader, and GitHub exploration via CLI and MCP. Use when user needs image/video analysis, OCR, UI-to-code conversion, error diagnosis, real-time web search, web page to markdown extraction, or GitHub code exploration. Trigger with phrases like "analyze this image", "search the web for", "read this page", "explore this repo", or "use zai". Requires Z_AI_API_KEY.

★ 0
SamuelChien
SamuelChien/mega-skills-collection

yt-research

Research competitor YouTube channels, niches, and trending topics for your content strategy. Use this skill whenever the user says "research channels", "analyze competitors", "find trending topics", "niche analysis", "competitive research", "what are other creators doing", "scrape YouTube channels", or wants to understand the competitive landscape for a specific tool or topic area. Use when working with yt research. Trigger with 'yt', 'research'.

★ 0