BUILT·15.7KB·SEE LAB
// Xen VoiceOS

Godmode
Siri Loop

Say "Hey Siri, Hey Xen" — then talk forever. Each turn is full agentic Claude. Reply spoken in Siri's voice on your phone.

↓ Six actions ↓
// Shortcuts.app · iOS

Six actions. One loop. Unlimited turns.

01

Repeat — outer loop

Wrap the whole flow in a Repeat block, 100 iterations. Each iteration = one conversational turn with Claude.

Repeat 100 times
02

Dictate Text

Capture what you say after the wake phrase. Save the result to a variable called Said.

Set Stop Listening to After Pause so you can speak naturally.

Dictate TextSaid
03

Exit if you say "stop xen"

An If action checking Said contains "stop xen". Inside the If, place an Exit Shortcut action.

If Said contains "stop xen"Exit Shortcut
04

POST to the godmode endpoint

Get Contents of URL action. Method GET. URL field — paste this and use the magic variable picker to insert Said where shown:

https://tui.xlrd.org/tui?q=[Said]&await=1

Save the returned dictionary to a variable called Init. Then extract request_id with Get Dictionary Value → save to Id.

05

Poll until Claude responds

Inner Repeat 60 times. Inside it: Get Contents of URL against /await/[Id]. If done is true, extract text, speak it, then Exit Repeat. Otherwise Wait 1 second.

Repeat 60 times
  URL: https://tui.xlrd.org/await/[Id]
  If done == trueSpeak Text, Exit
  Wait 1 second
06

Loop forever — Add to Siri

That's it. The outer Repeat starts the next turn. Name the shortcut Hey Xen, tap Add to Siri, record the trigger phrase Hey Xen.

Now say "Hey Siri, Hey Xen" and talk for hours.

Open it. Talk to it. Forever.

One shortcut. One wake phrase. Full Claude agentic power streamed through Siri's voice on your iPhone, AirPods, HomePod, CarPlay — wherever Siri speaks.

Setup walkthrough Test endpoint