ASR
Implement speech-to-text (ASR/automatic speech recognition) capabilities using the z-ai-web-dev-sdk.
Skill by origin-labs-ai
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/origin-labs-ai-asr
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
ASR- Description
- Implement speech-to-text (ASR/automatic speech recognition) capabilities using the z-ai-web-dev-sdk. Use this skill when the user needs to transcribe audio files, convert speech to text, build voice input features, or process audio recordings. Supports base64 encoded audio files and returns accurate text transcriptions.
- License
- MIT
- Instructions
- 576 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Agent Skills spec issues
- name: only lowercase letters, digits and single hyphens allowed
- body: 576 lines (spec recommends under 500)
Files (3)
- LICENSE.txt
- SKILL.md
- asr.ts · scripts/
SKILL.md (first lines)
# ASR (Speech to Text) Skill
This skill guides the implementation of speech-to-text (ASR) functionality using the z-ai-web-dev-sdk package, enabling accurate transcription of spoken audio into text.
## Skills Path
**Skill Location**: `{project_path}/skills/ASR`
this skill is located at above path in your project.
**Reference Scripts**: Example test scripts are available in the `{Skill Location}/scripts/` directory for quick testing and reference. See `{Skill Location}/scripts/asr.ts` for a working example.
## Overview
Speech-to-Text (ASR - Automatic Speech Recognition) allows you to build applications that convert spoken language in audio files into written text, enabling voice-controlled interfaces, transcription services, and audio content analysis.
**IMPORTANT**: z-ai-web-dev-sdk MUST be used in backend code only. Never use it in client-side code.
## Prerequisites
The z-ai-web-dev-sdk package is already installed. Import it as shown in the examples below.
## CLI Usage (For Simple Tasks)
For simple audio transcription tasks, you can use the z-ai CLI instead of writing code. This is ideal for quick transcriptions, testing audio files, or batch processing.
### Basic Transcription from File
```bash
# Transcribe an audio file
z-ai asr --file ./audio.wav
# Save transcription to JSON file
z-ai asr -f ./recording.mp3 -o transcript.json
# Transcribe and view output
z-ai asr --file ./interview.wav --output result.json
```
### Transcription from Base64
```bash
# Transcribe from base64 encoded audio
z-ai asr --base64 "UklGRiQAAABXQVZFZm10..." -o result.json
# Using short option
z-ai asr -b "base64_encoded_audio_data" -o transcript.json
```
### Streaming Output
```bash
# Stream transcription results
z-ai asr -f ./audio.wav --stream
```
### CLI Parameters
- `--file, -f <path>`: **Required** (if not using --base64) - Audio file path
- `--base64, -b <base64>`: **Required** (if not using --file) - Base64 encoded audio
- `--output, -o <path>`: Optional - Output file path (JSON format)
- `--stream`: Optional - Stream the transcription output
### Supported Audio Formats
The ASR service supports various audio formats including:
- WAV (.wav)
- MP3 (.mp3)
- Other common audio formats
### When to Use CLI vs SDK
**Use CLI for:**
- Quick audio file transcriptions
- Testing audio recognition accuracy
- Simple batch processing scripts
- One-off transcription tasks
**Use SDK for:**
- Real-time audio transcription in applications
- Integration with recording systems
- Custom audio processing workflows
- Production applications with streaming audio
## Basic ASR Implementation
### Simple Audio Transcription
```javascript
import ZAI from 'z-ai-web-dev-sdk';
import fs from 'fs';
async function transcribeAudio(audioFilePath) {
const zai = await ZAI.create();
// Read audio file and convert to base64
const audioFile = fs.readFileSync(audioFilePath);
const base64Audio = audioFile.toString('base64');
const response = await zai.audio.asr.create({
file_base64: base64Audio
});
return response.text;
}
// Usage
const transcription = await transcribeAudio('./audio.wav');
console.log('Transcription:', transcription);
```
### Transcribe Multiple Audio Files
```javascript
import ZAI from 'z-ai-web-dev-sdk';
import fs from 'fs';
async function transcribeBatch(audioFilePaths) {
const zai = await ZAI.create();From origin-labs-ai/code-fusion, MIT.
More from origin-labs-ai/code-fusion
- 0.529score
record-browser-gif
origin-labs-ai
Record browser or Web UI interaction demos as optimized GIFs using the available built-in browser, state-based frame capture, and deterministic encoding, then…
SkillBFreshness: BClaude Code +9 - 0.529score
xhe-prose-standard
origin-labs-ai
Use when writing, reviewing, restoring, trimming, or auditing prose in the xhe repo, including deciding where documentation or comments are required across…
SkillBFreshness: BClaude Code +9 - 0.529score
xhe-trim-cot-leakage
origin-labs-ai
Use when auditing or fixing prose that reads like a leaked reasoning transcript — dead design-session citations such as (decision N), audit item codes, or §N…
SkillBFreshness: BClaude Code +9 - 0.524score
xhe-doc-site-sync
origin-labs-ai
Use when publishing, updating, moving, or removing Xee Harness Enhanced documentation website pages; editing website/docs.ts mappings or navigation…
SkillBFreshness: BClaude Code +9 - 0.524score
xhe-doc-standards
origin-labs-ai
Use when writing, moving, reviewing, or auditing documentation in the xhe repo — choosing hierarchy and detail, separating tutorials from references, checking…
SkillBFreshness: BClaude Code +9 - 0.524score
xhe-find-simplifications
origin-labs-ai
Use when working in the xhe repo to find non-obvious simplification candidates, write proposed Agent Notes or inline TODO/FIXME/XXX notes, audit or coalesce…
SkillBFreshness: BClaude Code +9 - 0.524score
xhe-pre-push-checks
origin-labs-ai
Use before pushing, force-pushing, marking ready for review, or claiming checks pass on a xhe branch, and immediately after gh stack sync publishes rewritten…
SkillBFreshness: BClaude Code +9 - 0.524score
xhe-merging-stacked-prs
origin-labs-ai
Use when landing a stack of dependent GitHub PRs (A ← B ← C, where each bases on the one below) onto master, merging a PR whose base is another open PR's…
SkillBFreshness: BClaude Code +9 - 0.524score
xhe-archive-agent-notes
origin-labs-ai
Use when adding, auditing, pruning, archiving, restoring, or reviewing Agent Notes in xhe; checks every new note for superseded active records, classifies…
SkillBFreshness: BClaude Code +9 - 0.524score
xhe-code-review
origin-labs-ai
Use when reviewing a pull request in the xhe repo — orients the reviewer to this codebase's standards (AGENTS.md conventions, defensive patterns, ADRs…
SkillBFreshness: BClaude Code +9 - 0.521score
xhe-translate-docs
origin-labs-ai
Manually run the extended Xee Harness Enhanced bilingual-document workflow, including generated briefings, delegated prose translation, whole-document…
SkillBFreshness: BClaude Code +9 - 0.281score
xhe-popular-skills
origin-labs-ai
No description from the publisher yet.
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Aug 22, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/origin-labs-ai/code-fusion
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.424score
ASR
v-yutianran
Implement speech-to-text (ASR/automatic speech recognition) capabilities using the z-ai-web-dev-sdk.
SkillDFreshness: D★ 1Claude Code +9 - 0.310score
ASR
byebis
Implement speech-to-text (ASR/automatic speech recognition) capabilities using the z-ai-web-dev-sdk.
SkillBFreshness: BClaude Code +9 - 0.310score
ASR
smnshzh
Implement speech-to-text (ASR/automatic speech recognition) capabilities using the z-ai-web-dev-sdk.
SkillBFreshness: BClaude Code +9 - 0.310score
ASR
kelvinzer0
Implement speech-to-text (ASR/automatic speech recognition) capabilities using the z-ai-web-dev-sdk.
SkillBFreshness: BClaude Code +9 - 0.310score
ASR
salavey13
Implement speech-to-text (ASR/automatic speech recognition) capabilities using the z-ai-web-dev-sdk.
SkillBFreshness: BClaude Code +9 - 0.280score
ASR
lucioupro2025
Implement speech-to-text (ASR/automatic speech recognition) capabilities using the z-ai-web-dev-sdk.
SkillCFreshness: CClaude Code +9 - 0.280score
ASR
roman-ryzenadvanced
Implement speech-to-text (ASR/automatic speech recognition) capabilities using the z-ai-web-dev-sdk.
SkillCFreshness: CClaude Code +9 - 0.280score
ASR
jbreel77888
Implement speech-to-text (ASR/automatic speech recognition) capabilities using the z-ai-web-dev-sdk.
SkillCFreshness: CClaude Code +9 - 0.249score
ASR
nordeim
Implement speech-to-text (ASR/automatic speech recognition) capabilities using the z-ai-web-dev-sdk.
SkillAFreshness: AClaude Code +9 - 0.249score
ASR
nordeim
Implement speech-to-text (ASR/automatic speech recognition) capabilities using the z-ai-web-dev-sdk.
SkillAFreshness: AClaude Code +9 - 0.249score
ASR
nordeim
Implement speech-to-text (ASR/automatic speech recognition) capabilities using the z-ai-web-dev-sdk.
SkillAFreshness: AClaude Code +9 - 0.249score
ASR
nordeim
Implement speech-to-text (ASR/automatic speech recognition) capabilities using the z-ai-web-dev-sdk.
SkillAFreshness: AClaude Code +9
More from origin-labs-ai
- 0.529score
record-browser-gif
origin-labs-ai
Record browser or Web UI interaction demos as optimized GIFs using the available built-in browser, state-based frame capture, and deterministic encoding, then…
SkillBFreshness: BClaude Code +9 - 0.529score
xhe-prose-standard
origin-labs-ai
Use when writing, reviewing, restoring, trimming, or auditing prose in the xhe repo, including deciding where documentation or comments are required across…
SkillBFreshness: BClaude Code +9 - 0.529score
xhe-trim-cot-leakage
origin-labs-ai
Use when auditing or fixing prose that reads like a leaked reasoning transcript — dead design-session citations such as (decision N), audit item codes, or §N…
SkillBFreshness: BClaude Code +9 - 0.524score
xhe-archive-agent-notes
origin-labs-ai
Use when adding, auditing, pruning, archiving, restoring, or reviewing Agent Notes in xhe; checks every new note for superseded active records, classifies…
SkillBFreshness: BClaude Code +9 - 0.524score
xhe-code-review
origin-labs-ai
Use when reviewing a pull request in the xhe repo — orients the reviewer to this codebase's standards (AGENTS.md conventions, defensive patterns, ADRs…
SkillBFreshness: BClaude Code +9 - 0.524score
xhe-doc-site-sync
origin-labs-ai
Use when publishing, updating, moving, or removing Xee Harness Enhanced documentation website pages; editing website/docs.ts mappings or navigation…
SkillBFreshness: BClaude Code +9
Cite this page
ASR skill. Agent Mart. https://agentmart.dev/skills/origin-labs-ai-asr (last updated 2026-10-24)