Babysitter amplitude-desktop-integration
Integrate Amplitude analytics with privacy controls for desktop applications
install
source · Clone the upstream repo
git clone https://github.com/a5c-ai/babysitter
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/a5c-ai/babysitter "$T" && mkdir -p ~/.claude/skills && cp -r "$T/library/specializations/desktop-development/skills/amplitude-desktop-integration" ~/.claude/skills/a5c-ai-babysitter-amplitude-desktop-integration && rm -rf "$T"
manifest:
library/specializations/desktop-development/skills/amplitude-desktop-integration/SKILL.mdsource content
amplitude-desktop-integration
Integrate Amplitude analytics into desktop applications with privacy controls and event tracking.
Capabilities
- Configure Amplitude SDK
- Implement event tracking
- Set up user identification
- Configure privacy controls
- Implement offline caching
- Set up A/B testing
Input Schema
{ "type": "object", "properties": { "projectPath": { "type": "string" }, "apiKey": { "type": "string" }, "privacyMode": { "enum": ["full", "minimal", "opt-in"] } }, "required": ["projectPath"] }
Integration
import * as amplitude from '@amplitude/analytics-browser'; amplitude.init('YOUR_API_KEY', undefined, { defaultTracking: { sessions: true, pageViews: false, // Desktop apps don't have pages formInteractions: false, fileDownloads: false }, optOut: !userConsentedToAnalytics() }); // Track events amplitude.track('Feature Used', { featureName: 'Export', fileFormat: 'PDF' });
Privacy Controls
- Opt-in/opt-out management
- Data minimization
- User ID anonymization
- GDPR compliance helpers
Related Skills
sentry-desktop-setupgdpr-consent-manager