{
  "schemaVersion": "1.0",
  "item": {
    "slug": "openrouter-transcribe",
    "name": "Transcribe audio files via OpenRouter using audio-capable models",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/obviyus/openrouter-transcribe",
    "canonicalUrl": "https://clawhub.ai/obviyus/openrouter-transcribe",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/openrouter-transcribe",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openrouter-transcribe",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/transcribe.sh"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/openrouter-transcribe"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/openrouter-transcribe",
    "agentPageUrl": "https://openagent3.xyz/skills/openrouter-transcribe/agent",
    "manifestUrl": "https://openagent3.xyz/skills/openrouter-transcribe/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/openrouter-transcribe/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "OpenRouter Audio Transcription",
        "body": "Transcribe audio files using OpenRouter's chat completions API with input_audio content type. Works with any audio-capable model."
      },
      {
        "title": "Quick start",
        "body": "{baseDir}/scripts/transcribe.sh /path/to/audio.m4a\n\nOutput goes to stdout."
      },
      {
        "title": "Useful flags",
        "body": "# Custom model (default: google/gemini-2.5-flash)\n{baseDir}/scripts/transcribe.sh audio.ogg --model openai/gpt-4o-audio-preview\n\n# Custom instructions\n{baseDir}/scripts/transcribe.sh audio.m4a --prompt \"Transcribe with speaker labels\"\n\n# Save to file\n{baseDir}/scripts/transcribe.sh audio.m4a --out /tmp/transcript.txt\n\n# Custom caller identifier (for OpenRouter dashboard)\n{baseDir}/scripts/transcribe.sh audio.m4a --title \"MyApp\""
      },
      {
        "title": "How it works",
        "body": "Converts audio to WAV (mono, 16kHz) using ffmpeg\nBase64 encodes the audio\nSends to OpenRouter chat completions with input_audio content\nExtracts transcript from response"
      },
      {
        "title": "API key",
        "body": "Set OPENROUTER_API_KEY env var, or configure in ~/.clawdbot/clawdbot.json:\n\n{\n  skills: {\n    \"openrouter-transcribe\": {\n      apiKey: \"YOUR_OPENROUTER_KEY\"\n    }\n  }\n}"
      },
      {
        "title": "Headers",
        "body": "The script sends identification headers to OpenRouter:\n\nX-Title: Caller name (default: \"Peanut/Clawdbot\")\nHTTP-Referer: Reference URL (default: \"https://clawdbot.com\")\n\nThese show up in your OpenRouter dashboard for tracking."
      },
      {
        "title": "Troubleshooting",
        "body": "ffmpeg format errors: The script uses a temp directory (not mktemp -t file.wav) because macOS's mktemp adds random suffixes after the extension, breaking format detection.\n\nArgument list too long: Large audio files produce huge base64 strings that exceed shell argument limits. The script writes to temp files (--rawfile for jq, @file for curl) instead of passing data as arguments.\n\nEmpty response: If you get \"Empty response from API\", the script will dump the raw response for debugging. Common causes:\n\nInvalid API key\nModel doesn't support audio input\nAudio file too large or corrupted"
      }
    ],
    "body": "OpenRouter Audio Transcription\n\nTranscribe audio files using OpenRouter's chat completions API with input_audio content type. Works with any audio-capable model.\n\nQuick start\n{baseDir}/scripts/transcribe.sh /path/to/audio.m4a\n\n\nOutput goes to stdout.\n\nUseful flags\n# Custom model (default: google/gemini-2.5-flash)\n{baseDir}/scripts/transcribe.sh audio.ogg --model openai/gpt-4o-audio-preview\n\n# Custom instructions\n{baseDir}/scripts/transcribe.sh audio.m4a --prompt \"Transcribe with speaker labels\"\n\n# Save to file\n{baseDir}/scripts/transcribe.sh audio.m4a --out /tmp/transcript.txt\n\n# Custom caller identifier (for OpenRouter dashboard)\n{baseDir}/scripts/transcribe.sh audio.m4a --title \"MyApp\"\n\nHow it works\nConverts audio to WAV (mono, 16kHz) using ffmpeg\nBase64 encodes the audio\nSends to OpenRouter chat completions with input_audio content\nExtracts transcript from response\nAPI key\n\nSet OPENROUTER_API_KEY env var, or configure in ~/.clawdbot/clawdbot.json:\n\n{\n  skills: {\n    \"openrouter-transcribe\": {\n      apiKey: \"YOUR_OPENROUTER_KEY\"\n    }\n  }\n}\n\nHeaders\n\nThe script sends identification headers to OpenRouter:\n\nX-Title: Caller name (default: \"Peanut/Clawdbot\")\nHTTP-Referer: Reference URL (default: \"https://clawdbot.com\")\n\nThese show up in your OpenRouter dashboard for tracking.\n\nTroubleshooting\n\nffmpeg format errors: The script uses a temp directory (not mktemp -t file.wav) because macOS's mktemp adds random suffixes after the extension, breaking format detection.\n\nArgument list too long: Large audio files produce huge base64 strings that exceed shell argument limits. The script writes to temp files (--rawfile for jq, @file for curl) instead of passing data as arguments.\n\nEmpty response: If you get \"Empty response from API\", the script will dump the raw response for debugging. Common causes:\n\nInvalid API key\nModel doesn't support audio input\nAudio file too large or corrupted"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/obviyus/openrouter-transcribe",
    "publisherUrl": "https://clawhub.ai/obviyus/openrouter-transcribe",
    "owner": "obviyus",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/openrouter-transcribe",
    "downloadUrl": "https://openagent3.xyz/downloads/openrouter-transcribe",
    "agentUrl": "https://openagent3.xyz/skills/openrouter-transcribe/agent",
    "manifestUrl": "https://openagent3.xyz/skills/openrouter-transcribe/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/openrouter-transcribe/agent.md"
  }
}