Written by Hector Garcia

@hex.gar

Estimated reading time: 20 min read

Jarvis: double clap desk workflow setup

Software & AI Consultant

SystemsReading time: 20 min read

This project turns a double clap into a full desk workflow: Spotify starts, Chrome opens your sites, an ElevenLabs voice speaks a welcome line, and Cursor comes to the front — all from one Python script listening to your microphone.

What happens on double clap

Spotify opens and plays your chosen track, Claude opens in Google Chrome fullscreen, Jarvis speaks your welcome line via ElevenLabs, and Cursor is focused and sent fullscreen.

The code is open source at github.com/hectorg2211/jarvis — fork it and change every part of the workflow.

Before you start

Setup steps

  1. Install Python from python.org — check Add python.exe to PATH during install
  1. Install VS Code from code.visualstudio.com
  2. Download the project ZIP from github.com/hectorg2211/jarvis and extract it
  3. Open the folder in VS Code (File → Open Folder)
  4. Run: python -m pip install -r requirements.txt
  5. Create an ElevenLabs API key and copy a Voice ID from elevenlabs.io
  6. Create a .env file with ELEVENLABS_API_KEY and ELEVENLABS_VOICE_ID
  7. Run: python jarvis.py — allow microphone access when prompted
  8. Double clap quickly to test the full welcome sequence
  9. Optional: edit jarvis.py constants (SONG_URI, welcome phrase, clap sensitivity)

Troubleshooting