safari-plaud-upload
Upload audio files to Plaud via Safari. Use when the user asks to upload a recording to Plaud, add tracks to a Plaud folder, or trigger Plaud transcription from a file that is already on disk.
What this skill does
# safari-plaud-upload Upload an audio file to Plaud via the user's already-logged-in Safari session. ## When to use Trigger phrases: - "upload this recording to Plaud" - "add this audio to Plaud folder X" - "send this file to Plaud for transcription" Do NOT trigger for: - Querying Plaud transcription status → use `plaud-transcriber:plaud-status` instead. - Downloading transcripts → use `plaud-transcriber:plaud-download` instead. - Chrome / non-Safari browser automation → use a Chrome-based tool. ## Preconditions The user MUST satisfy all of these before the playbook runs: 1. **Logged in**: A Safari tab is open on `app.plaud.ai` (or the current Plaud web app origin) and the user is signed into their own Plaud account. If you see a login/SSO page, STOP and ask the user to sign in manually; do not type credentials. 2. **Target folder known**: The user has either (a) already navigated to the destination folder in that tab, or (b) told you the exact folder name to use. 3. **File on disk**: The audio file exists at a known absolute path. Supported formats follow Plaud's current restrictions (commonly `.mp3`, `.m4a`, `.wav`; confirm via Plaud's UI if unsure). 4. **No modal sheet blocking the tab**: Close any Plaud first-run tour, banner, or subscription prompt before uploading. ## Steps Run each step and check the expected result before moving on. Target the Plaud tab explicitly with `--url plaud` so nothing depends on which Safari window is frontmost. 1. **Verify the Plaud tab is reachable** ```bash safari-browser get url --url plaud ``` Expected: a URL on the Plaud origin. If multiple Plaud tabs exist, safari-browser fails with `ambiguousWindowMatch`; ask the user which window to use or pass `--window N` explicitly. 2. **Snapshot the page to find the upload control** ```bash safari-browser snapshot -i --url plaud ``` Expected: a list of `@eN` refs including a clearly labelled upload button (text such as "Upload", "+", or a plus-icon affordance near the folder content area). Note the ref of the upload trigger. 3. **Click the upload trigger** ```bash safari-browser click @eN --url plaud ``` Expected: a file picker opens OR an in-page drop zone becomes visible. 4. **Attach the file** Prefer the native file dialog (requires AX / Accessibility permission for safari-browser): ```bash safari-browser upload --native "input[type=file]" <absolute-path> --url plaud ``` If AX is not granted OR the dialog is stubborn, fall back to JS: ```bash safari-browser upload --js "input[type=file]" <absolute-path> --url plaud ``` Expected: the filename appears in Plaud's upload progress list or in the current folder's item list. 5. **Wait for upload to complete** ```bash safari-browser wait --for-text "Uploaded" --url plaud ``` Expected: a progress indicator reaches 100% or a "Uploaded"/"Processed" status appears. Timeout defaults to 30s; adjust with `--timeout 120` for large files. ## Error handling - **`ambiguousWindowMatch`**: The user has multiple Plaud tabs. Ask which one, or pass `--window N`. - **File picker opens but upload is silent**: The element targeted by `input[type=file]` was wrong. Re-run `safari-browser snapshot -i --url plaud`, find the `<input>` with `data-testid` or `accept="audio/*"`, and retry. - **Upload progress stalls at <100%**: Plaud's backend is slow or the file exceeds the current plan's limit. Surface the exact error message from `snapshot` — do NOT retry silently. - **Quota exceeded banner**: STOP and tell the user; retrying will not fix it. - **Login redirect mid-upload**: The session expired. STOP and ask the user to re-authenticate in Safari; do NOT attempt to type credentials. ## Verification Success criteria — ALL must hold: 1. The filename appears in the target folder's item list (visible via a fresh `safari-browser snapshot -i --url plaud`). 2. The item's status is either "Processing", "Transcribing", or a terminal state such as "Ready" — not "Failed". 3. No error banner is visible anywhere on the page. If any criterion fails, report it with the snapshot output rather than claiming success. ## Gotchas - **Plan-specific limits**: Free-tier Plaud has lower file-size and duration limits than Pro. A failure on Free may "just work" on Pro without any UI change — check plan tier in Preconditions if uploads keep failing. - **Folder vs library root**: Plaud treats the library root differently from folders (some uploads to root re-appear only after a manual refresh). Prefer uploading into a named folder. - **Reactive title resets**: Plaud may reset `document.title` on navigation; a `🟢` ownership marker you set earlier will disappear. This is harmless; do not interpret it as the tab being "lost". - **Large file memory**: The JS upload path (`--js`) loads the file into a JavaScript `DataTransfer` object and is constrained by the plugin's internal ~10MB cap. Use `--native` for anything larger; if AX is not granted, split the file or grant AX. - **Two-tab race**: If the user has a second Plaud tab open in another window, a snapshot on the "wrong" one looks valid but clicks go nowhere because the target folder is on the other tab. Always pass `--url plaud` together with `--window N` when in doubt.
Related in Image & Video
watch
IncludedWatch a video (URL or local path). Downloads with yt-dlp, extracts auto-scaled frames with ffmpeg, pulls the transcript from captions (or Whisper API fallback), and hands the result to Claude so it can answer questions about what's in the video.
physical-ai-defect-image-generation
IncludedUse when the user wants to orchestrate defect image generation, run associated setup, or handle outputs on OSMO. The Day 0 path handles cold-start with USD-to-ROI, image-edit augmentation, and AnomalyGen to create initial PCBA datasets. The Day 1 path performs inference and labeling on real images. This skill helps with first-time asset setup, creation of finetuning checkpoints, and configuring deployment. Trigger keywords: defect image generation, dig workflow, dig pipeline, defect image detection workflow, aoi pipeline, aoi anomalygen, usd2roi anomalygen, day 0 pcba, day 1 pcba, day 1 real-photo alignment, day 1 manual roi, metal surface anomaly, glass defect, anomalygen finetune, setup_pcb, setup_metal, setup_glass, setup_pretrained, dig setup, dig datasets, dig pretrained checkpoint, dig image-edit endpoint.
accelint-react-best-practices
IncludedReact performance optimization and best practices. ALWAYS use this skill when working with any React code - writing components, hooks, JSX; refactoring; optimizing re-renders, memoization, state management; reviewing for performance; fixing hydration mismatches; debugging infinite re-renders, stale closures, input focus loss, animations restarting; preventing remounting; implementing transitions, lazy initialization, effect dependencies. Even simple React tasks benefit from these patterns. Covers React 19+ (useEffectEvent, Activity, ref props). Triggers - useEffect, useState, useMemo, useCallback, memo, inline components, nested components, components inside components, re-render, performance, hydration, SSR, Next.js, useDeferredValue, combined hooks.
elevenlabs-agents
IncludedBuild conversational AI voice agents with ElevenLabs Platform using React, JavaScript, React Native, or Swift SDKs. Configure agents, tools (client/server/MCP), RAG knowledge bases, multi-voice, and Scribe real-time STT. Use when: building voice chat interfaces, implementing AI phone agents with Twilio, configuring agent workflows or tools, adding RAG knowledge bases, testing with CLI "agents as code", or troubleshooting deprecated @11labs packages, Android audio cutoff, CSP violations, dynamic variables, or WebRTC config. Keywords: ElevenLabs Agents, ElevenLabs voice agents, AI voice agents, conversational AI, @elevenlabs/react, @elevenlabs/client, @elevenlabs/react-native, @elevenlabs/elevenlabs-js, @elevenlabs/agents-cli, elevenlabs SDK, voice AI, TTS, text-to-speech, ASR, speech recognition, turn-taking model, WebRTC voice, WebSocket voice, ElevenLabs conversation, agent system prompt, agent tools, agent knowledge base, RAG voice agents, multi-voice agents, pronunciation dictionary, voice speed control, elevenlabs scribe, @11labs deprecated, Android audio cutoff, CSP violation elevenlabs, dynamic variables elevenlabs, case-sensitive tool names, webhook authentication
humanizer
IncludedHumanize AI-generated text by detecting and removing patterns typical of LLM output. Rewrites text to sound natural, specific, and human. Uses 28 pattern detectors, 560+ AI vocabulary terms across 3 tiers, and statistical analysis (burstiness, type-token ratio, readability) for comprehensive detection. Use when asked to humanize text, de-AI writing, make content sound more natural/human, review writing for AI patterns, score text for AI detection, or improve AI-generated drafts. Covers content, language, style, communication, and filler categories.
generating-mermaid-diagrams
IncludedSalesforce architecture diagrams using Mermaid with ASCII fallback. Use this skill when generating text-based diagrams for Salesforce architecture, OAuth flows, ERDs, integration sequences, or Agentforce structure. TRIGGER when: user says "diagram", "visualize", "ERD", or asks for sequence diagrams, flowcharts, class diagrams, or architecture visualizations in Mermaid. DO NOT TRIGGER when: user wants PNG/SVG image output (use generating-visual-diagrams), or asks about non-Salesforce systems.