Two paths with entirely different semantics
This is the easiest thing to conflate — “recording” produces one of two very different artifacts:
The rule of thumb: pick a skill for long-term reuse, pick a trajectory for exact reproduction. Skills adapt to change but don’t guarantee step-identical behaviour; trajectories are step-identical but break the moment the UI moves.
Path 1: record → skill (macOS)
What actually happens
1
Start recording
You say “record what I’m about to do” and the Expert calls
event_stream_start. A floating “Recording” pill with a Stop button appears on screen.Recording is a background system process: it captures clicks and typing across all apps and all windows. Switching screens, switching apps and minimising the chat window do not interrupt it.2
Narrate while you work
If the tool returns
audioRecording: true, the microphone is capturing your narration too. This is worth doing — stated intent is more reliable than intent inferred from clicks, and the resulting skill is noticeably better.3
Stop
Click Stop on the floating pill (preferred), or come back and say you’re done. Both routes lead into analysis.
4
The Expert analyses and creates a skill
The Expert reads the event file, the screenshots and the audio transcript, works out what you did and why, then persists a skill via
skill_manage(action="create"). Recording isn’t finished until that call succeeds.5
Use it next time
In a new conversation just name the task; the Expert follows the skill and re-resolves buttons and fields at run time rather than replaying the original coordinates.
What a recording produces
The session directory lives at~/.profy/recordings/{sessionId}/:
read tool. events.jsonl routinely runs to thousands of lines, and reading it whole would blow the context window — so the Expert samples it in 100-line slices (start, end, then filling gaps), focusing on app_switch, mouse_click and key_down while skipping scroll and mouse_move noise.
Path 2: CUA trajectory recording and replay (cross-platform)
Trajectory recording never turns itself on — you have to ask for it explicitly. Once enabled, every action tool call (click, right_click, scroll, type_text, press_key, hotkey, set_value) writes a numbered folder; read-only tools (screenshot, list windows, get window state) are not recorded.
turn-NNNNN/ (five-digit zero-padded counter):
Replay uses
replay_trajectory({dir}): it walks turn-NNNNN/ in lexical order, reads each action.json, and re-invokes the same tool with the recorded arguments. Two knobs: delay_ms (pacing between turns, default 500) and stop_on_error (halt on first failure, default true).
When to use it
Turn repetitive work into one sentence
Turn repetitive work into one sentence
Export data weekly, reformat it, send the report? Record once, then trigger it with a sentence. This is the canonical use of the skill path.
Teach the Expert an app it doesn't know
Teach the Expert an app it doesn't know
Internal systems and niche tools have no public documentation; demonstrating once beats explaining ten times. Narration pays off most here.
Regression checking
Regression checking
Record a trajectory as a baseline, then re-run after a change and compare state snapshots. This is the trajectory path’s home turf — regression diffs are what it was designed for.
Training data collection
Training data collection
Every turn folder is naturally a
(state, action, next_state) triple.Built-in app skills
Built-in app skills
The plugin ships operating skills for six common apps: Clock, Numbers, Spotify, Notion, Music and iPhone Mirroring. You don’t need to record those yourself.
Key numbers
Failures and fixes
Billing
Recording itself costs no credits (capture happens locally). What costs credits is the Expert’s model usage while analysing the recording and while replaying — reading event files and looking at screenshots are tokens, and a long recording costs noticeably more to analyse than a short one, which is another reason to record in segments.Verified 2026-08-12. Sources:
services/agent-runtime/src/plugins/builtin/record-and-replay/ (plugin.json, tools/event_stream.py, skills/record-replay.md, skills/cua-recording.md) and apps/desktop/src/main/lib/recorder/event-stream.ts.Related
Computer Use
How Experts operate desktop applications
Skills
How skills are stored and invoked

