diagnostic-stem-delivery
できること
このスキルは、タイムコード付きの編集メモを使って音声プロジェクトを修正する手順をAIに示します。診断に基づく修正と、確認済みの最終書き出しが必要な音声編集者向けです。
使う場面
- ✓文書に、問題を直すべき音声のタイムコードが並んでいるとき。
- ✓編集の前に、特定の瞬間のクリックやピッチの問題を分析する必要があるとき。
- ✓納品する前に、最終的な書き出しを確かめたいとき。
スキルのリンク
https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/audio-track-production-enhanced-enhanced-enhanced/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“編集メモのタイムコードを読んで、その箇所の音声を確認し、書き出す前に問題を直してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
AIは文書からタイムコードを取り出し、各箇所の音声を分析し、タイミングを計画し、ステムを作り、ミックスして、最終ファイルを確認します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Diagnostic Stem Audio Production Workflow
This skill provides a resilient pattern for audio production that emphasizes diagnostic analysis before editing, explicit timecode extraction from documents, incremental verification, fail-fast principles, and mandatory deliverable verification. Each major step produces verified outputs before proceeding, with comprehensive audio diagnostics at specified timecodes.
Overview
Follow these steps in strict order. Each step must complete successfully and pass verification before proceeding to the next:
- Parse timecodes from source documents - Extract edit spots/timecodes from DOCX/text sources
- Perform diagnostic audio analysis - Analyze reference audio at each timecode (pitch, clicks, frequency)
- Calculate timing parameters - Derive section transitions from BPM and duration
- Verify reference audio - Validate input file properties and extract target duration
- Generate and verify each stem individually - One stem at a time with immediate verification
- Detect and resolve duration mismatches - Apply appropriate extension strategy
- Apply edits based on diagnostics - Make informed edits using analysis results
- Mix with verification - Combine stems and verify mix integrity
- Export and verify deliverable - Generate final output with comprehensive checks
Key Principles
- Diagnostics first: Analyze audio at edit points BEFORE making any changes
- Document-driven: Parse timecodes directly from source documents (DOCX, TXT)
- Incremental verification: Verify each stem immediately after generation
- Fail-fast approach: Stop and report errors at each step
- Mandatory export: Final step MUST produce verified deliverable file
- Tool reliability: Use run_shell with inline Python for audio processing (avoid execute_code_sandbox for audio)
Step 0: Parse Timecodes from Source Documents
Extract edit spots and timecodes from document sources. Use python-docx via run_shell for reliable DOCX parsing:
# Parse DOCX file for timecodes and edit spots
python3 -c "
from docx import Document
import re
import sys
doc_path = sys.argv[1] if len(sys.argv) > 1 else 'Bass Edit Spots.docx'
doc = Document(doc_path)
edit_spots = []
timecode_pattern = r'(\d{1,2}:?\d{2}:?\d{2}[.:\d]*)|(\d+[.:\d]+)s'
for para in doc.paragraphs:
text = para.text.strip()
if not text:
continue
# Look for timecodes in various formats
matches = re.findall(timecode_pattern, text, re.IGNORECASE)
if matches:
for match in matches:
timecode = match[0] if match[0] else match[1]
if timecode:
edit_spots.append({'timecode': timecode, 'context': text[:100]})
# Also check tables
for table in doc.tables:
for row in table.rows:
for cell in row.cells:
cell_text = cell.text.strip()
matches = re.findall(timecode_pattern, cell_text, re.IGNORECASE)
for match in matches:
timecode = match[0] if match[0] else match[1]
if timecode:
edit_spots.append({'timecode': timecode, 'context': cell_text[:100]})
print(f'Found {len(edit_spots)} edit spots:')
for i, spot in enumerate(edit_spots, 1):
print(f'{i}. {spot[\"timecode\"]} - {spot[\"context\"][:50]}...')
"
Step 1: Perform Diagnostic Audio Analysis at Timecodes
Before any editing, analyze the reference audio at each identified timecode:
import numpy as np
import soundfile as sf
import librosa
def analyze_audio_at_timecode(filepath, timecode_str, sample_rate=48000):
"""
Perform comprehensive diagnostic analysis at a specific timecode.
Returns dict with:
- pitch_estimate: Dominant frequency/pitch
- click_pop_score: Likelihood of clicks/pops (0-1, higher = more likely)
- frequency_spectrum: Dominant frequency bands
- amplitude: RMS amplitude at timecode
- issues: List of detected issues
"""
# Parse timecode to seconds
timecode_str = timecode_str.replace(':', '.').strip()
if 's' in timecode_str:
timecode_str = timecode_str.replace('s', '')
try:
parts = timecode_str.split('.')
if len(parts) == 3:
seconds = int(parts[0]) * 3600 + int(parts[1]) * 60 + float(parts[2])
elif len(parts) == 2:
seconds = int(parts[0]) * 60 + float(parts[1])
よくある質問
Wordのファイルにあるメモも読めますか?
はい。このワークフローは、DOCXやプレーンテキストの文書からタイムコードを取り出せます。
すべての問題を自動で直しますか?
診断結果に基づいて編集を行い、次に進む前に各ステップを確認します。
編集の前に分析する理由は?
まず音声を見れば、実際に何が問題かが分かり、編集が証拠に基づくものになるからです。
詳細
作者による元の説明
Audio production with diagnostic analysis, timecode parsing from documents, and verified export workflow
repo: HKUDS/AgentPilot
人気
- GitHubのスター
- 7.8k
- ランキング
- #12839
- ライセンス
- MIT
- 更新日
- 2026/11/1
コメント
- …
このリポジトリの他のスキル
agentpilot
7.8kエージェントが、作業を準備し、変更案を提案してテストし、評価するAgentPilotのループを実行することで、プロジェクトを段階的に改善できるよう支援します。
openspace
7.8kエージェントが、スキルを保存し取り出すツールであるOpenSpaceをセットアップし、MCPを通じてAIアプリに接続できるよう支援します。
rsi-arena
7.8kエージェントが、AIMEやTerminal-Benchなどの標準的なAIベンチマークテストをセットアップして実行し、異なる改善方法を比較できるよう支援します。
experiment-guide
7.8kエージェントが、プログラムを改善する方法を調べる間に、小さな実験を計画し、その結果を読み、発見を記録できるよう支援します。