Auto Loom 标志

Auto Loom

社区
MikeFishbeinAtherial
auto-loom

Record a narrated product demo video without a screen recorder — an agent drives the browser while ElevenLabs narrates, perfectly synced, out to a polished MP4 with captions. Core engine + developer mode (you have the codebase, app on localhost). Use for client walkthrough videos, narrated demos, "video notes". Triggers - "video note", "record a walkthrough", "narrated demo", "client update video", "auto loom".

概览

发布者MikeFishbeinAtherial
代码仓库infinite-headcount
技能名称auto-loom
星标数
50
复刻数
5
附带文件
18
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 18 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 MikeFishbeinAtherial 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Auto Loom AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/MikeFishbeinAtherial/infinite-headcount/tree/main/auto-loom
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/MikeFishbeinAtherial/infinite-headcount.git /tmp/infinite-headcount
mkdir -p .claude/skills
cp -r /tmp/infinite-headcount/auto-loom .claude/skills/auto-loom
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Auto Loom,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Auto Loom。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Auto Loom 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Auto-Loom

Turn any web app into a narrated, self-driving MP4. The page scrolls, highlights elements, and navigates between routes while an AI voice narrates — timed to the millisecond. No manual screen recording, no fumbled Loom takes. Edit one line of narration and re-render in minutes.

How it works: ElevenLabs generates one audio clip per storyboard beat. ffprobe measures each clip's exact duration. Playwright drives the browser for exactly that long per beat while recording the window. ffmpeg muxes the final MP4 with a caption track. Audio duration is ground truth — visuals are slaved to it, so sync is exact.

This folder is the whole engine. Sibling skills are thin entry points over these same scripts:

  • auto-loom-proof — Software Factory proof video: performs a build's acceptance criteria on camera, one criterion per beat

This SKILL.md covers the engine plus developer mode: you have the codebase, the app runs on localhost, and you can add stable selectors to the JSX.


Setup (one-time, ~3 minutes)

bash
cd <this-skill-folder>
bash scripts/setup.sh        # installs Playwright + Chromium, creates .env.local
# edit .env.local → add your ElevenLabs API key
node scripts/doctor.mjs      # verifies node, ffmpeg, playwright, key, voice

No ElevenLabs account yet? Sign up with the maintainer's referral link: https://try.elevenlabs.io/atherial.

doctor.mjs prints the exact fix for anything missing. Requirements: Node 18+, ffmpeg (brew install ffmpeg), an ElevenLabs API key. Voice options: references/voices.md.

Smoke test (30 seconds, records example.com):

bash
node scripts/run.mjs --beats examples/smoke-beats.json

Step 0 — Interview the user first

Do not start building. Ask:

1. What URL or app are we recording? Is it running locally?
2. Who is the recipient — name and context?
3. What's the story? What changed, or what are we showing for the first time?
4. Which specific features, metrics, or sections should we highlight?
5. What's the tone? (client update, internal demo, prospect showcase)
6. Does the app require login? (see references/auth.md — never ask for passwords in chat)
7. Target length — 30s, 60s, or 75s?

In a hurry: ask 1–3 and infer the rest from the app.

Step 1 — Write the storyboard (beats.json)

Write the narration before touching any code and get it approved verbatim. Script rules and the beat framing that works: references/tts-rules.md.

json
{
  "meta": {
    "title": "Acme dashboard walkthrough",
    "slug": "acme-walkthrough",
    "cta": "Send me your feedback and we move to the next phase.",
    "targetLengthSec": 70
  },
  "baseUrl": "http://localhost:3000",
  "viewport": { "width": 1920, "height": 1080 },
  "beats": [
    {
      "id": 1,
      "page": "/dashboard/insights",
      "text": "Hey Jim. We shipped some updates to your A-I visibility tracker.",
      "actions": [
        { "fn": "waitFor",    "sel": "[data-vn=kpi-row]" },
        { "fn": "scrollToEl", "sel": "[data-vn=kpi-row]", "opts": { "instant": true } },
        { "fn": "hl",         "sel": "[data-vn=kpi-row]" }
      ]
    }
  ]
}

Full schema: schema/beats.schema.json. Action table and selector guidance: references/actions.md. Login options (scripted steps or saved session): references/auth.md.

Check it before spending anything:

bash
node scripts/validate.mjs --beats <file>       # structure + TTS + pacing lint
node scripts/run.mjs --beats <file> --script-only   # print the narration and stop

The validator catches unknown actions, missing selectors, TTS problems (em dashes, bare initialisms, run-on sentences), and pacing that won't fit the target length.

--script-only is the money-saving review gate: it prints every beat's narration with per-beat timing estimates and exits before any ElevenLabs call or recording. Get the script approved here, then re-run without the flag to spend credits.

Step 2 — Instrument the page (developer mode)

Playwright needs stable selectors. With codebase access, add data-vn attributes to the component JSX:

tsx
<div data-vn="kpi-row" className="grid grid-cols-4 gap-4">
<Card data-vn="competitor-chart" ...>

Then reference them: { "fn": "hl", "sel": "[data-vn=kpi-row]" }.

Suppress interactive drilldowns while recording. Clickable cards with role="button" / tabIndex={0} can get auto-focused during highlights and open a drawer mid-video. Gate them on your demo-mode flag: {!isDemoMode() && <MetricBreakdownSheet ... />}.

If the app requires auth locally, either wire a demo mode (skip auth, fixture data that matches the narration numbers exactly) or use an auth path from references/auth.md.

Note on CSP: the recorder launches Chromium with bypassCSP: true so it can inject presenter.js into strict-CSP pages. If you point it at a production app with a live session, know that Content-Security-Policy is disabled inside that automation browser context.

Step 3 — One command

bash
node scripts/run.mjs --beats <file>

That runs: validate → audio (cached by text hash) → preflight (headless pass resolving every selector before anything is recorded) → record → captions → mux → verify. Output lands in demo-video-out/<slug>/:

  • <slug>-demo.mp4 — final video (H.264/AAC, soft caption track)
  • <slug>-demo-contact-sheet.png — sampled frames for eyeballing
  • qa/beat-NN.png — exact screenshot at each beat's hold point
  • captions.srt, audio/, video/recording.webm

All flags: --script-only (print the narration script and exit before any ElevenLabs call or recording — the review gate from Step 1), --preflight-only (check selectors, spend nothing), --skip-audio (visual-only changes — audio is reused), --skip-preflight (skip the headless selector check — only when preflight just passed and nothing changed), --burn-captions (hardcode subtitles into pixels for platforms that strip tracks), --no-captions, --out <dir>, --env <envfile>.

Step 4 — Verify before sending

run.mjs checks duration (MP4 = sum of audio within 0.5s), audio level (silent-track detection), and drops QA screenshots. You still eyeball:

  • Contact sheet + qa/beat-NN.png: each frame shows what its beat narrates — no login pages, error states, or surprise modals.
  • First beat names the recipient; last beat delivers the CTA verbatim.

Iterating

  • Narration edit → re-run; only the changed beat's audio regenerates.
  • Visual/pacing edit → --skip-audio.
  • Selector broke → --preflight-only shows exactly which beat and selector.

Known gotchas

  • Hot reload wipes the injected presenter. Already handled — presenter re-injects before every beat. But avoid editing the app while recording.
  • Port drift. yarn dev takes 3001 if 3000 is busy — update baseUrl.
  • Free vs paid voices. Cloned/library voices throw payment_required on free tier. doctor.mjs catches this before render time.
  • i18n redirects. /en/dashboard → /dashboard redirects are followed correctly; same-page beats don't re-navigate.
  • Delivery. The MP4 is self-contained — email, Slack, LinkedIn DM, Notion embed, or import into Descript for a personal intro on top.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Auto Loom AI 技能有什么作用?

Record a narrated product demo video without a screen recorder — an agent drives the browser while ElevenLabs narrates, perfectly synced, out to a polished MP4 with captions. Core engine + developer mode (you have the codebase, app on localhost). Use for client walkthrough videos, narrated demos, "video notes". Triggers - "video note", "record a walkthrough", "narrated demo", "client update video", "auto loom".

为什么在 TypingMind 中使用 Auto Loom?

因为您只需安装一次,就能搭配任何模型使用。Auto Loom 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Auto Loom?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/MikeFishbeinAtherial/infinite-headcount/tree/main/auto-loom。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Auto Loom?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Auto Loom 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Auto Loom 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Auto Loom AI 技能免费吗?

是的。MikeFishbeinAtherial 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇