diagnostic-stem-delivery
Fungsinya
Skill ini memandu AI untuk memperbaiki proyek audio menggunakan catatan revisi dengan timecode. Skill ini cocok untuk editor audio yang membutuhkan perbaikan hasil diagnosis dan ekspor akhir yang sudah diperiksa.
Kapan dipakai
- ✓Saat sebuah dokumen mencantumkan timecode tempat audio memiliki masalah yang perlu diperbaiki.
- ✓Saat saya perlu menganalisis klik atau masalah pitch pada momen tertentu sebelum mengedit.
- ✓Saat saya perlu ekspor akhir diperiksa sebelum dikirimkan.
Link skill
https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/audio-track-production-enhanced-enhanced-enhanced/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Tolong baca timecode di catatan revisi saya, periksa audio pada titik-titik tersebut, dan perbaiki masalahnya sebelum diekspor.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
AI mengambil timecode dari dokumen, menganalisis audio pada setiap titik, merencanakan waktu, membuat stem, mencampurnya, dan memverifikasi file akhir.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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])
Pertanyaan umum
Apakah ia bisa membaca catatan dalam file Word?
Bisa. Alur kerja ini mengekstrak timecode dari dokumen DOCX maupun teks biasa.
Apakah ia memperbaiki setiap masalah sendiri?
Ia membuat perubahan berdasarkan hasil diagnosis dan memeriksa setiap langkah sebelum melanjutkan.
Mengapa menganalisis sebelum mengedit?
Melihat audio terlebih dahulu menunjukkan apa yang sebenarnya salah, sehingga suntingan didasarkan pada bukti.
Detail
Deskripsi asli dari pembuat
Audio production with diagnostic analysis, timecode parsing from documents, and verified export workflow
repo: HKUDS/AgentPilot
Popularitas
- Bintang GitHub
- 7.8k
- Peringkat
- #12839
- Lisensi
- MIT
- Diperbarui
- 1/11/2026
Komentar
- …
Skill lain dari repositori ini
agentpilot
7.8kMembantu agent Anda meningkatkan proyek langkah demi langkah dengan menyiapkan tugas dan menjalankan loop AgentPilot yang mengusulkan, menguji, dan memberi skor pada perubahan.
openspace
7.8kMembantu agent Anda menyiapkan OpenSpace, alat yang menyimpan dan mengambil skill agent, lalu menghubungkannya ke aplikasi AI Anda melalui MCP.
rsi-arena
7.8kMembantu agent Anda menyiapkan dan menjalankan tes benchmark AI standar, seperti AIME dan Terminal-Bench, untuk membandingkan berbagai metode perbaikan.
experiment-guide
7.8kMembantu agent Anda merencanakan eksperimen kecil, membaca hasilnya, dan mencatat temuan saat menyelidiki cara memperbaiki sebuah program.
Skill serupa
openai-whisper-api
394kMemungkinkan agent Anda mengubah rekaman audio menjadi teks memakai layanan transkripsi OpenAI, dengan opsi label pembicara dan file keluaran.
openai-whisper
394kMembantu agent Anda mentranskripsikan audio di komputer Anda sendiri dengan perintah Whisper, tanpa kunci API dan tanpa unggahan ke cloud.
sag
394kMembantu agent Anda membacakan teks dengan suara ElevenLabs dan memutar hasilnya di komputer Anda, dengan tips pelafalan dan intonasi.