写作与翻译· 精炼文字稿并将候选引语定位回原音频

新闻采访转录与引语核对

提供采访录音或录像,整理文字稿与带时间戳的引语,便于记者回听、核查和准备发表。

这条需要配合参考图使用:先在 AI 工具里上传你的照片或素材,再粘贴提示词。
填空后再复制(中文和原文同时生效)
# 采访转录与管理

适用于记者的实用工作流程,涵盖从采访准备到发表的全过程。

## 何时使用

- 准备采访问题
- 处理音频或视频录制文件
- 创建或管理文字记录
- 整理多个来源的笔记
- 建立消息来源关系数据库
- 生成带时间戳的引语,供事实核查使用
- 将录音转换为可发表的引语

## 面向转录的录音设置

采访前的研究、问题设计、信息归属协议和同意录音话术,请使用 **interview-prep** skill。此处的笔记仅涉及影响转录质量的录音配置。

```python
# Standard recording configuration for clean transcription
RECORDING_SETTINGS = {
    'format': 'wav',           # Lossless for transcription
    'sample_rate': 16000,      # Whisper resamples to 16k anyway; 16k saves disk
    'channels': 1,             # Mono is fine for speech; stereo only if mics are positionally distinct
    'backup': True,            # Always run a backup recorder
}

# File naming convention
# YYYY-MM-DD_source-lastname_topic.wav
# Example: 2026-05-08_smith_budget-hearing.wav
```

**双设备原则。** 始终使用两台设备录音。至少要用手机备份。如果使用无线领夹麦克风,领夹麦克风内置的录音设备算一台,运行备份录音应用的手机算第二台。

**优先使用单声道**,除非每位发言人都有专用麦克风,并分别接入独立声道。如果两位发言人的声音都串入两个声道,立体声对说话人分离的效果还不如干净的单声道。

## 转录工作流程

### 自动转录流程

原版 OpenAI Whisper 可将音频转为文字,但**不会**分配说话人标签。要获得区分说话人的输出(“Speaker 1:” / “Speaker 2:” / 等),需要使用将 Whisper 与说话人分离模型结合的工具,通常是 **WhisperX**(`m-bain/whisperX`)。它将 faster-whisper 转录与 pyannote.audio 说话人分离结合,一次处理即可生成带说话人 ID 的词级时间戳。

```python
from pathlib import Path
import subprocess
import json

def transcribe_interview(
    audio_path: str,
    output_dir: str = "./transcripts",
    diarize: bool = True,
    hf_token: str | None = None,
    min_speakers: int = 2,
    max_speakers: int = 2,
) -> dict:
    """
    Transcribe an interview using WhisperX (Whisper + pyannote diarization).
    Returns a transcript with word-level timestamps and speaker labels.

    Diarization needs a Hugging Face token with access to the pyannote
    speaker-diarization-3.1 model. Accept the model EULA at
    huggingface.co/pyannote/speaker-diarization-3.1 once, then pass the token.
    """
    Path(output_dir).mkdir(exist_ok=True)

    cmd = [
        'whisperx', audio_path,
        '--model', 'large-v3',
        '--output_format', 'json',
        '--output_dir', output_dir,
        '--language', 'en',
        '--compute_type', 'int8',     # CPU-friendly; use 'float16' on GPU
        '--min_speakers', str(min_speakers),
        '--max_speakers', str(max_speakers),
    ]

    if diarize:
        cmd.append('--diarize')
        if hf_token:
            cmd += ['--hf_token', hf_token]

    subprocess.run(cmd, check=True, capture_output=True)

    json_path = Path(output_dir) / f"{Path(audio_path).stem}.json"
    with open(json_path) as f:
        return json.load(f)

def format_for_editing(transcript: dict) -> str:
    """Convert to journalist-friendly format with timestamps."""
    lines = []
    for segment in transcript.get('segments', []):
        timestamp = format_timestamp(segment['start'])
        text = segment['text'].strip()
        lines.append(f"[{timestamp}] {text}")
    return '\n\n'.join(lines)

def format_timestamp(seconds: float) -> str:
    """Convert seconds to HH:MM:SS format."""
    h = int(seconds // 3600)
    m = int((seconds % 3600) // 60)
    s = int(seconds % 60)
    return f"{h:02d}:{m:02d}:{s:02d}"
```

**退回使用普通 Whisper。** 如果说话人分离没有必要,或者无法获取 Hugging Face token,就去掉 `--diarize` 标志;模型仍会生成准确的带时间戳转录,再根据上下文手动标注说话人。`faster-whisper`(CTranslate2 后端)是速度优化版本,在命令行中的用法相同。`whisper.cpp` 是适用于资源受限设备的 C++ 移植版本(Raspberry Pi、较旧的笔记本电脑);它不包含说话人分离功能,但可以在 CPU 上流畅运行 small/medium 模型。

### 手动转录模板

适用于敏感采访或 AI 转录失败的情况:

```markdown
## Transcript: [Source] - [Date]

**Recording file**: [filename]
**Duration**: [XX:XX]
**Transcribed by**: [name]
**Verified against recording**: [ ] Yes / [ ] No

---

[00:00:15] **Q**: {Your question}

[00:00:45] **A**: [Source response - verbatim, including ums, pauses noted as (...)]

[00:01:30] **Q**: [Follow-up]

[00:01:42] **A**: [Response]

---

## Notes
- [Anything not captured in audio: gestures, documents shown, etc.]

## Potential quotes
- [00:01:42] "Quote that stands out" - context: [why it matters]
```

## 引语提取与核实

### 提取引语的工作流程

```python
from dataclasses import dataclass
from typing import Optional
import re

@dataclass
class Quote:
    text: str
    timestamp: str
    speaker: str
    context: str
    verified: bool = False
    used_in: Optional[str] = None

class QuoteBank:
    """Manage quotes from interview transcripts."""

    def __init__(self):
        self.quotes = []

    def extract_quote(self, transcript: str, start_time: str,
                      end_time: str, speaker: str, context: str) -> Quote:
        """Extract and store a quote with metadata."""
        # Pull text between timestamps
        pattern = rf'\[{re.escape(start_time)}\](.+?)(?=\[\d|$)'
        match = re.search(pattern, transcript, re.DOTALL)

        if match:
            text = match.group(1).strip()
            quote = Quote(
                text=text,
                timestamp=start_time,
                speaker=speaker,
                context=context
            )
            self.quotes.append(quote)
            return quote
        return None

    def verify_quote(self, quote: Quote, audio_path: str) -> bool:
        """Mark quote as verified against original recording."""
        # In practice: listen to audio at timestamp, confirm accuracy
        quote.verified = True
        return True

    def export_for_story(self) -> str:
        """Export verified quotes ready for publication."""
        output = []
        for q in self.quotes:
            if q.verified:
                output.append(f'"{q.text}"\n- {q.speaker}\n[Timestamp: {q.timestamp}]')
        return '\n\n'.join(output)
```

### 引语准确性检查清单

发表任何引语之前:

```markdown
- [ ] Listened to original recording at timestamp
- [ ] Quote is verbatim (or clearly marked as paraphrased)
- [ ] Context preserved (not cherry-picked to change meaning)
- [ ] Speaker identified correctly
- [ ] Timestamp documented for fact-checker
- [ ] Source approved quote (if agreement made)
```

## 消息来源管理数据库

### 采访跟踪数据结构

```python
from dataclasses import dataclass, field
from datetime import datetime
from typing import List, Optional
from enum import Enum

class SourceStatus(Enum):
    ACTIVE = "active"           # Currently engaged
    DORMANT = "dormant"         # Not recently contacted
    DECLINED = "declined"       # Refused to participate
    OFF_RECORD = "off_record"   # Background only

class InterviewType(Enum):
    ON_RECORD = "on_record"
    BACKGROUND = "background"
    DEEP_BACKGROUND = "deep_background"
    OFF_RECORD = "off_record"

@dataclass
class Source:
    name: str
    organization: str
    contact_info: dict  # email, phone, signal, etc.
    beat: str
    status: SourceStatus = SourceStatus.ACTIVE
    interviews: List['Interview'] = field(default_factory=list)
    notes: str = ""

    # Relationship tracking
    first_contact: Optional[datetime] = None
    trust_level: int = 1  # 1-5 scale

@dataclass
class Interview:
    source: str
    date: datetime
    interview_type: InterviewType
    recording_path: Optional[str] = None
    transcript_path: Optional[str] = None
    story_slug: Optional[str] = None
    key_quotes: List[str] = field(default_factory=list)
    follow_up_needed: bool = False
    notes: str = ""
```

### 快速查找消息来源

```python
def find_sources_for_story(sources: List[Source], topic: str,
                           beat: str = None) -> List[Source]:
    """Find relevant sources for a new story."""
    matches = []
    for source in sources:
        # Filter by beat if specified
        if beat and source.beat != beat:
            continue
        # Only suggest active sources
        if source.status != SourceStatus.ACTIVE:
            continue
        # Check if they've spoken on similar topics
        for interview in source.interviews:
            if topic.lower() in interview.notes.lower():
                matches.append(source)
                break

    # Sort by trust level
    return sorted(matches, key=lambda s: s.trust_level, reverse=True)
```

## 音频与视频处理

### 批量处理多份录制文件

```python
from pathlib import Path
from concurrent.futures import ProcessPoolExecutor
import json

def batch_transcribe(recordings_dir: str, output_dir: str) -> dict:
    """Process all recordings in a directory."""
    recordings = list(Path(recordings_dir).glob('*.wav')) + \
                 list(Path(recordings_dir).glob('*.mp3')) + \
                 list(Path(recordings_dir).glob('*.m4a'))

    results = {}

    with ProcessPoolExecutor(max_workers=4) as executor:
        futures = {
            executor.submit(transcribe_interview, str(rec), output_dir): rec
            for rec in recordings
        }

        for future in futures:
            rec = futures[future]
            try:
                transcript = future.result()
                results[rec.name] = {
                    'status': 'success',
                    'transcript': transcript
                }
            except Exception as e:
                results[rec.name] = {
                    'status': 'error',
                    'error': str(e)
                }

    return results
```

### 提取视频采访内容

```python
import subprocess

def extract_audio_from_video(video_path: str, output_path: str = None) -> str:
    """Extract audio track from video for transcription."""
    if output_path is None:
        output_path = video_path.rsplit('.', 1)[0] + '.wav'

    subprocess.run([
        'ffmpeg', '-i', video_path,
        '-vn',  # No video
        '-acodec', 'pcm_s16le',  # WAV format
        '-ar', '44100',  # Sample rate
        '-ac', '1',  # Mono
        output_path
    ], check=True)

    return output_path
```

## 法律与伦理考量

### 同意记录

```markdown
## Recording consent record

**Date**:
**Source name**:
**Recording type**: [ ] Audio [ ] Video
**Interview type**: [ ] On record [ ] Background [ ] Off record

### Consent obtained:
- [ ] Verbal consent recorded at start of interview
- [ ] Written consent form signed
- [ ] Email confirmation of consent

### Jurisdiction notes:
- Interview location state/country:
- One-party or two-party consent jurisdiction:
- Any specific restrictions agreed:

### Agreed terms:
- [ ] Full attribution allowed
- [ ] Organization attribution only
- [ ] Anonymous source
- [ ] Review quotes before publication
- [ ] Embargo until [date]:
```

### 录音同意的司法管辖规定

关于各州单方同意与全员同意的具体规定、隐蔽录音规则及联邦法律的优先适用,请使用 **interview-prep** skill(其中指向 Reporters Committee for Freedom of the Press 的 *Reporter's Recording Guide*,这是持续更新的权威资料)。

**始终取得明确的录音同意**,无论所在司法管辖区有何规定。在每份转录文件的开头逐字记录同意内容(时间戳、说话人、回应)。这能在各地为你提供法律保护,也为事实核查人员提供清晰的起点。

## 工具与资源

| 工具 | 用途 | 备注 |
|------|---------|-------|
| OpenAI Whisper | 本地转录,无说话人分离 | 免费,可离线运行。`large-v3` 是目前最好的模型 |
| WhisperX | Whisper + 说话人分离 | `m-bain/whisperX`。免费。提供带说话人 ID 的词级时间戳。pyannote 模型需要 Hugging Face token |
| faster-whisper | 速度优化版 Whisper | CTranslate2 后端。准确度相同时,速度约为原版 Whisper 的 4x。WhisperX 内部使用 |
| whisper.cpp | 适合 CPU 运行的 Whisper 移植版本 | C++ 实现。可在 Raspberry Pi 上运行 small/medium 模型 |
| pyannote.audio | 独立说话人分离 | 已有其他来源的转录文本时可直接使用 |
| MacWhisper / Buzz | Whisper 图形界面封装工具 | macOS / 跨平台图形界面,适合不想使用命令行的记者 |
| Otter.ai | 云端实时转录 | 用于敏感消息来源前先核实隐私保护措施;Otter Pilot 过去曾在未通知的情况下加入会议并为转录文本建立索引,请检查当前设置 |
| Descript | 像编辑文字一样编辑音频 | 适合提取片段。云端托管 |
| Rev(人工 + AI) | 敏感材料的人工转录 | 速度较慢,准确度更高。云端托管 |
| Trint | 面向记者,支持协作 | 云端托管。提供团队功能 |
| oTranscribe | 免费的网页手动转录辅助工具 | 仅在本地(浏览器)运行;不上传。适合不能交给云服务的非公开材料 |

## 相关 skills

- **meeting-transcript-actions**,将已核实的转录文本转换为注明发言人的笔记、决策和指定负责人的行动事项
- **interview-prep**,采访前研究、问题设计、同意录音话术和录音法律的司法管辖规定
- **source-verification**,采访前核实消息来源的资历
- **fact-check-workflow**,发表前对照录音核实引语
- **foia-requests**,获取有助于设计采访问题的文件
- **data-journalism**,分析采访中提及的数据来源
- **newsroom-style**,将逐字引语转换为符合 AP 风格的发表文稿

---

## Skill 元数据

| 字段 | 值 |
|-------|-------|
| version | 1.0.0 |
| created | 2025-12-26 |
| updated | 2026-05-08 |
| author | Joe Amditis |
| domain | 新闻、研究 |
| complexity | 中级 |

同类提示词

写作与翻译

按叙事节奏拆分短片制作计划

提供短片构想,可补充时长和风格偏好,把故事拆成带开场钩子的场次,明确景别、动作、服装和剪辑节奏。

# 视频策划 使用此技能将用户的短片创意转化为实用的逐场景制作方案。该方案应适用于拍摄、剪辑、AI 视频生成,或与摄影师/剪辑师沟通。 最终方案应使用用户偏好的本地语言撰写。如果用户使用中文,除非明确要求其他语言,否则用中文输出方案。技能说明保持英文,但交付内容的语言应适应用户。 ## 主要目标 制作一份完整的短视频方案,满足以下要求: - 协商或推断总时长。 - 将视频划分为多个场景,每个场景至少为 4 seconds,且不超过 15 seconds。 - 在可行时优先采用 4、9、12 或 15 seconds 的场景时长。 - 使用清晰可
写作与翻译

三十天多渠道营销内容日历

给品牌资料、渠道、月目标和制作资源,按漏斗排三十天主题、发布及行动号召,发布前评分。

# 全球内容日历 > 规划一份为期 30 天的多渠道内容日历,确定漏斗比例、内容支柱和来源类型组合,并在发布前进行 AI 评分。 --- ## 第 0 步——读取上下文文件 生成日历前,读取 `.agents/product-marketing-context-global.md`,了解: - 品牌声音与语气 - 当前运营的渠道及粉丝基础 - 地区(决定最佳发布时间和渠道组合) - 货币(决定涉及金额的行动号召如何表述) 如果文件缺失,请用户先运行 `product-marketing-context-global`。 --- ## 信息
可填 1 项
写作与翻译

单场景分镜图与视频生成脚本

提供要制作的场景,按镜头时长生成分镜图和视频脚本,有现成人物图时沿用其造型。

# 视频分镜 使用此 skill 为特定场景制作一套可直接用于制作的分镜方案: 1. 将分镜图保存到 `storyboard/scene-XX.png`。 2. 将视频生成提示词脚本保存到 `storyboard/scene-XX.md`。 用英文编写 skill 指令,但面向用户的 `.md` 脚本应使用用户偏好的本地语言,除非用户明确要求使用其他语言。 ## 图像生成要求 分镜图必须由图像生成模型生成。不要用代码、SVG、HTML/CSS、canvas、图表、占位画或确定性形状脚本制作分镜画面。这些方法只可用于非视觉元数据或文件操作,绝不能
需参考图
写作与翻译

可灵短视频剧情与图生视频脚本

按单场景或多角色剧情编写生成指令,覆盖动作、运镜和音频;图生视频需上传参考图并说明变化。

# kling-prompter Kling 3.0(可灵 3.0,快手)的三套主流写法:4 部分基础 / 5 层进阶 / 图生视频。 ## 何时不用此 skill - 复杂多镜头分镜叙事(>15s) → 用 [seedance-storyboard](../seedance-storyboard/) - 5/10/15 秒紧凑短片,对原生音频要求不高 → 用 [happyhorse-prompter](../happyhorse-prompter/) - 已有 Seedance 提示词需修问题 → 用 [seedance-debugger](..
需参考图中文原创
写作与翻译

明确交付物和负责人的工作坊

提供工作坊目标与参会情况,围绕一个成果设计议程,安排分组讨论、决策和会后负责人。

# 工作坊设计师 大多数工作坊都以同一种方式失败:讨论了很多,产生了无人记录的“共识”,然后又发出下一场工作坊的日历邀请。这个技能设计的会议以**确定的成果和明确的负责人**收尾,因为只有这样才值得占用参与者一周中的时间。 检验任何工作坊的标准:**这间会议室里会产出什么成果,谁负责下一步?** 如果答不上来,就不要举办工作坊。 --- ## 设计选择 - **只设一个结果,不要三个。** 有三个目标的工作坊一个也达不成。强制排序,确定一个决策或一项成果。 - **先发散,再收敛,绝不同时进行。** 头脑风暴和决策需要不同的思维模式。把两者混在
写作与翻译

视频拍摄与剪辑交付说明

提供口播稿和品牌资料,填写日期并附参考视频,明确前三秒、拍摄、剪辑、字幕和各渠道导出规格。

# 视频剪辑简报(全局) 一份好的视频简报,应让拍摄人员清楚如何布置现场,让剪辑人员知道如何剪辑,无须再打电话解释。开头 three seconds 必须能单独成片。 **与 `04-script-video-global` 的区别:**脚本是口播内容(说什么,按钩子—主体—CTA组织)。这份简报是制作指导(拍什么、怎么剪、用什么音乐、叠加什么内容、如何导出)。如果还没有脚本,先运行 `04-script-video-global`,再将其中的台词粘贴到下方分镜表的“Dialogue / VO”列。 ## 信息收集 阅读 `.agents/pro
可填 1 项
✓