# Loom
<!--
ref: @integrations/loom
type: protocol
tags: [loom, transcripts, video, cdp, agent-browser, integration]
aliases: [loom, loom-transcript, loom-list]
triggers: [loom link, loom.com/share, loom transcript, what does this loom say, list my looms, the call I just recorded, latest loom]
trigger_prompt: You are handed a Loom link or id, need what a Loom video says, or need a list of your recent Looms. Run the block below.
category: integration
last_reviewed: 2026-09-30
complements: [@integrations/loom_/loom-setup, @integrations/agent-browser]
audience: [agent-author, terminal-only]
version: 12
updated_at: 2026-11-22T01:19:13.906Z
appendixes: [@integrations/loom_/loom-setup]
files: [loom.mjs]
-->

Loom link → transcript. Your Loom library → a list. One script, `loom.mjs`, downloaded fresh on every run.

## Setup

First run on a machine, or any exit 2 / exit 3 → **`@integrations/loom_/loom-setup`**. It covers Node, the optional signed-in browser, and a one-line check. Public share links need no browser at all.

## Run

```bash
L="${TMPDIR:-/tmp}/loom.mjs"
curl -fsSL https://api.protocol.supply/@integrations/loom_/loom.mjs -o "$L"
node "$L" <action> [args]
```

Stdout carries only the result. Progress and errors go to stderr.

## Actions

| Action | Returns | Needs signed-in browser |
|---|---|---|
| `check` | JSON `{node, nodeOk, cdpUrl, browser, signedIn}` | no; it reports on the browser |
| `transcript <url-or-id>` | Headered transcript text, one `[mm:ss] phrase` per line | only when the video is not public |
| `transcript <url-or-id> --out FILE` | Writes FILE (creating its directories) and prints its path | same |
| `transcript … --format json` | `{id, title, url, createdAt, durationSec, status, via, phrases:[{ts, text}]}` | same |
| `transcript … --format vtt` | Loom's WebVTT captions, unchanged | same |
| `transcript … --wait 900` | Rechecks every 30 s for up to 900 s while Loom is still transcribing, then exits 4 if the transcript still isn't ready | same |
| `transcript … --browser` | Skips the public fetch and reads through the signed-in browser. Use it when a public fetch returns the wrong or partial result | yes |
| `list [--limit N]` | JSON array, newest first: `[{id, title, url, createdAt, durationSec}]` (default 20) | yes |

## Responses

```
# Weekly sync — roadmap
# Source: Loom
# URL: https://www.loom.com/share/<id>
# Date: 2026-09-30
# Duration: 44:28

[00:00] Right, let's share this tab first…
[00:13] …
```

| Exit | Meaning | Do |
|---|---|---|
| 0 | Done | Use stdout |
| 2 | No browser at `CDP_URL` | Public links still work. For private videos or `list`, follow setup §Browser |
| 3 | Not signed in to Loom, or this account can't view the video | Ask the human to sign in to loom.com in that browser window, or to request access. Never type credentials yourself |
| 4 | Transcript not ready (processing, failed, or none) | Rerun with `--wait 900`. If the status is `failed`, the owner has to press Generate in Loom |
| 5 | Video not found | Check the id: 32 hex characters, taken from `/share/<id>` |
| 1 | Usage error or an unexpected failure | Read stderr. If Loom changed its page, see setup §When the script breaks |

## Common calls

```bash
# "Grab the call I just recorded"
node "$L" list --limit 5 | jq -r '.[] | "\(.id)  \(.createdAt[:10])  \(.title)"'
node "$L" transcript <id> --out ./transcripts/<slug>.txt

# Everything recorded since a date, saved one file per video
node "$L" list --limit 200 | jq -r '.[] | select(.createdAt >= "2026-09-01") | .id' |
  while read -r id; do node "$L" transcript "$id" --out "./transcripts/$id.txt" || echo "skip $id" >&2; done
```

## Gotchas

- **No speaker labels.** Loom transcripts are not diarized. Work out who spoke from what is said, never from the video title.
- **A debrief is not minutes. A proposal is not a decision.** "Let us do X" answered with "okay" is a proposal still to be decided, not a decision. List it as proposed, name the proposer, and say what is open. Credit a line to a speaker only when the content gives a cue, such as who owns the work, who built it, or who is asking whom. Mark weak attributions as inferred. The usual miss: the operator's own proposals get written up as the other party's decisions. Who owes a follow-up is attribution too: "you need to get X together" puts X on the listener, and "I'll come back with some" names nothing. Quote the line before writing an owner.
- **Check coverage.** The header carries `Duration`. If the last timestamp is far short of it, the script warns on stderr. Treat that transcript as partial.
- **Titles are whatever the recorder typed.** Meeting-bot recordings get auto-titles, so two candidates can look alike. Fetch both instead of guessing.
- **The browser is shared.** The script opens one background tab of its own and always closes it, so it never touches your tabs. Still, run one browser job at a time.
- `CDP_URL` points at the browser (default `http://127.0.0.1:10020`).

---

*Related: `@integrations/agent-browser` · `@content/youtube/tiago-forte/i-dont-think-about-meetings-anymore-heres-the-system` · `@integrations/youtube` · `@wildeagency-public/explainer` · `@integrations/notion-databases`*

---

*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*

*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*