Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问clear审计异常

transcript-fixer转录修复器

Agent Skill

transcript-fixer 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

6,254

周安装

258

GitHub Stars

956

下载量

2,043
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:transcript-fixer(转录修复器)
来源仓库:https://github.com/daymade/claude-code-skills
仓库路径:skills/transcript-fixer
安装命令:
npx skills add https://github.com/daymade/claude-code-skills --skill transcript-fixer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/daymade/claude-code-skills --skill transcript-fixer

简介

transcript-fixer 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中整理协作事项。

  • 适用于围绕仓库状态、代码变更或团队协作进行信息梳理。
  • 通过 npx skills add 命令从 GitHub 仓库安装使用。
  • 安装前需确认权限范围、维护状态及是否触发联网或文件操作。
  • 建议结合原始 README 文档进一步验证具体用法和功能边界。

SKILL.md

Transcript Fixer

Two-phase correction pipeline: deterministic dictionary rules (instant, free) followed by AI-powered error detection. Corrections accumulate in ~/.transcript-fixer/corrections.db, improving accuracy over time.

Prerequisites

All scripts use PEP 723 inline metadata — uv run auto-installs dependencies. Requires uv (install guide).

Quick Start

# First time: Initialize database
uv run scripts/fix_transcription.py --init

# Single file
uv run scripts/fix_transcription.py --input meeting.md --stage 1

# Batch: multiple files in parallel (use shell loop)
for f in /path/to/*.txt; do
  uv run scripts/fix_transcription.py --input "$f" --stage 1
done

After Stage 1, Claude reads the output and fixes remaining ASR errors natively (no API key needed):

  1. Read all Stage 1 outputs — read entire transcript before proposing corrections (later context disambiguates earlier errors)
  2. Identify ASR errors — compile all corrections across files
  3. Apply fixes with sed in batch, verify each with diff
  4. Finalize: rename _stage1.md.md, delete original .txt
  5. Save stable patterns to dictionary for future reuse

See references/example_session.md for a concrete input/output walkthrough.

Alternative: API batch processing (for automation without Claude Code):

export GLM_API_KEY="<api-key>"  # From https://open.bigmodel.cn/
uv run scripts/fix_transcript_enhanced.py input.md --output ./corrected

Core Workflow

Two-phase pipeline with persistent learning:

  1. Initialize (once): uv run scripts/fix_transcription.py --init
  2. Add domain corrections: --add "错误词" "正确词" --domain <domain>
  3. Phase 1 — Dictionary: --input file.md --stage 1 (instant, free)
  4. Phase 2 — AI Correction: Claude reads output and fixes errors natively, or --stage 3 with GLM_API_KEY for API mode
  5. Save stable patterns: --add "错误词" "正确词" after each session
  6. Review learned patterns: --review-learned and --approve high-confidence suggestions

Domains: general, embodied_ai, finance, medical, or custom (e.g., 火星加速器) Learning: Patterns appearing ≥3 times at ≥80% confidence auto-promote from AI to dictionary

After fixing, always save reusable corrections to dictionary. This is the skill's core value — see references/iteration_workflow.md for the complete checklist.

Dictionary Addition After Fixing

After native AI correction, review all applied fixes and decide which to save. Use this decision matrix:

Pattern typeExampleAction
Non-word → correct term克劳锐→Claude, cloucode→Claude Code✅ Add (zero false positive risk)
Rare word → correct term潜彩→前采, 维星→韦青✅ Add (verify it's not a real word first)
Person/company name ASR error宋天航→宋天生, 策马攀山→策马看山✅ Add (stable, unique)
Common word → context word争→蒸, 钱财→前采, 报纸→标品❌ Skip (high false positive risk)
Real brand → different brandXcode→Claude Code, Clover→Claude❌ Skip (real words in other contexts)

Batch add multiple corrections in one session:

uv run scripts/fix_transcription.py --add "错误1" "正确1" --domain tech
uv run scripts/fix_transcription.py --add "错误2" "正确2" --domain business
# Chain with && for efficiency

False Positive Prevention

Adding wrong dictionary rules silently corrupts future transcripts. Read references/false_positive_guide.md before adding any correction rule, especially for short words (≤2 chars) or common Chinese words that appear correctly in normal text.

Native AI Correction (Default Mode)

When running inside Claude Code, use Claude's own language understanding for Phase 2:

  1. Run Stage 1 (dictionary) on all files (parallel if multiple)
  2. Verify Stage 1 — diff original vs output. If dictionary introduced false positives, work from the original file
  3. Read all Stage 1 outputs fully before proposing any corrections — later context often disambiguates earlier errors. For large files (>10k tokens), read in chunks but finish the entire file before identifying errors
  4. Identify ASR errors per file — classify by confidence:

- High confidence (apply directly): non-words, obvious garbling, product name variants - Medium confidence (present for review): context-dependent homophones, person names

  1. Apply fixes efficiently:

- Global replacements (unique non-words like "克劳锐"→"Claude"): use sed -i '' with -e flags, multiple patterns in one command - Context-dependent (common words like "争"→"蒸" only in distillation context): use sed with longer context phrases for uniqueness, or Edit tool

  1. Verify with diff: diff original.txt corrected_stage1.md
  2. Finalize files: rename *_stage1.md*.md, delete original .txt
  3. Save stable patterns to dictionary (see "Dictionary Addition" below)
  4. Remove false positives if Stage 1 had any

Common ASR Error Patterns

AI product names are frequently garbled. These patterns recur across transcripts:

Correct termCommon ASR variants
Claudecloud, Clou, calloc, 克劳锐, Clover, color
Claude Codecloud code, Xcode, call code, cloucode, cloudcode, color code
Claude Agent SDKcloud agent SDK
OpusOpaas
Vibe Codingweb coding, Web coding
GitHubget Hub, Git Hub
prototypePre top

Person names and company names also produce consistent ASR errors across sessions — always add confirmed name corrections to the dictionary.

Efficient Batch Fix Strategy

When fixing multiple files (e.g., 5 transcripts from one day):

  1. Stage 1 in parallel: run all files through dictionary at once
  2. Read all files first: build a mental model of speakers, topics, and recurring terms before fixing anything
  3. Compile a global correction list: many errors repeat across files from the same session (same speakers, same topics)
  4. Apply global corrections first (sed with multiple -e flags), then per-file context-dependent fixes
  5. Verify all diffs, finalize all files, then do one dictionary addition pass

Enhanced Capabilities (Native Mode Only)

  • Intelligent paragraph breaks: Add \n\n at logical topic transitions
  • Filler word reduction: "这个这个这个" → "这个"
  • Interactive review: Corrections confirmed before applying
  • Context-aware judgment: Full document context resolves ambiguous errors

When to Use API Mode Instead

Use GLM_API_KEY + Stage 3 for batch processing, standalone usage without Claude Code, or reproducible automated processing.

Legacy Fallback

When the script outputs [CLAUDE_FALLBACK] (GLM API error), switch to native mode automatically.

Utility Scripts

Timestamp repair:

uv run scripts/fix_transcript_timestamps.py meeting.txt --in-place

Split transcript into sections (rebase each to 00:00:00):

uv run scripts/split_transcript_sections.py meeting.txt \
  --first-section-name "课前聊天" \
  --section "正式上课::好,无缝切换嘛。" \
  --rebase-to-zero

Word-level diff (recommended for reviewing corrections):

uv run scripts/generate_word_diff.py original.md corrected.md output.html

Output Files

  • *_stage1.md — Dictionary corrections applied
  • *_corrected.txt — Final version (native mode) or *_stage2.md (API mode)
  • *_对比.html — Visual diff (open in browser)

Database Operations

Read references/database_schema.md before any database operations.

sqlite3 ~/.transcript-fixer/corrections.db "SELECT * FROM active_corrections;"
sqlite3 ~/.transcript-fixer/corrections.db "SELECT value FROM system_config WHERE key='schema_version';"

Stages

StageDescriptionSpeedCost
1Dictionary onlyInstantFree
1 + NativeDictionary + Claude AI (default)~1minFree
3Dictionary + API AI + diff report~10sAPI calls

Bundled Resources

Scripts:

  • fix_transcription.py — Core CLI (dictionary, add, audit, learning)
  • fix_transcript_enhanced.py — Enhanced wrapper for interactive use
  • fix_transcript_timestamps.py — Timestamp normalization and repair
  • generate_word_diff.py — Word-level diff HTML generation
  • split_transcript_sections.py — Split transcript by marker phrases

References (load as needed):

  • Safety: false_positive_guide.md (read before adding rules), database_schema.md (read before DB ops)
  • Workflow: iteration_workflow.md, workflow_guide.md, example_session.md
  • CLI: quick_reference.md, script_parameters.md
  • Advanced: dictionary_guide.md, sql_queries.md, architecture.md, best_practices.md
  • Operations: troubleshooting.md, installation_setup.md, glm_api_setup.md, team_collaboration.md

Troubleshooting

uv run scripts/fix_transcription.py --validate checks setup health. See references/troubleshooting.md for detailed resolution.

Next Step: Structure into Meeting Minutes

After correcting a transcript, if the content is from a meeting, lecture, or interview, suggest structuring it:

Transcript corrected: [N] errors fixed, saved to [output_path].

Want to turn this into structured meeting minutes with decisions and action items?

Options:
A) Yes — run /meeting-minutes-taker (Recommended for meetings/lectures)
B) Export as PDF — run /pdf-creator on the corrected text
C) No thanks — the corrected transcript is all I need

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

29.05%
按下载量换算593

Antigravity

22.3%
按下载量换算456

OpenCode

18.8%
按下载量换算384

Gemini CLI

12.97%
按下载量换算265

Cursor

6.67%
按下载量换算136

Codex

2.92%
按下载量换算60

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills