AGENT SKILL

energy-calculator

Compute per-second RMS energy from a WAV file and save it as JSON for silence/pause detection.

License 许可
Apache-2.0
最近更新
2026-11-14
Stars
★ 0
Forks
1

01 前言 Front Matter

name
energy-calculator
description
Compute per-second RMS energy from a WAV file and save it as JSON for silence/pause detection.

02 资源文件 1

03 SKILL.md 正文

Steps

  1. Run energy calculation:
    python3 /root/.claude/skills/energy-calculator/scripts/calc_energy.py \
      --audio audio.wav \
      --output energies.json
    
  2. Sanity-check the output file exists and is readable:
    • ls -l energies.json
    • (Optional) python3 -c "import json; d=json.load(open('energies.json')); print(d['total_seconds'], len(d['energies']))"

Expected Result

energies.json exists and contains total_seconds and an energies array aligned to 1-second windows.

04 同仓库更多 Skills