Amplitude Desktop Integration
Apps & Automationamplitude-desktop-integrationAmplitude Desktop Integration is an Agent Skill for apps & automation published in the a5c-ai/babysitter repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Integrate Amplitude analytics with privacy controls for desktop applications
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/a5c-ai/babysitter/blob/HEAD/library/specializations/desktop-development/skills/amplitude-desktop-integration/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/amplitude-desktop-integration, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
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