energy-calculator
БесплатноЗапускает вложенные скриптыНе проверенCalculate per-second RMS energy from audio files. Use when you need to analyze audio volume patterns, prepare data for silence/pause detection, or create an…
от benchflow-ai★ 1 941 звезда на GitHubОб этом скилле
Energy Calculator
Calculates per-second RMS (Root Mean Square) energy from audio files. Produces an energy profile that can be used for opening detection, pause detection, or other audio analysis tasks.
Use Cases
- Calculating audio energy for silence detection
- Preparing data for opening/pause detection
- Analyzing audio volume patterns
Usage
python3 /root/.claude/skills/energy-calculator/scripts/calc_energy.py \
--audio /path/to/audio.wav \
--output /path/to/energies.json
Parameters
--audio: Path to input WAV file--output: Path to output JSON file--window-seconds: Window size for energy calculation (default: 1 second)
Output Format
{
"sample_rate": 16000,
"window_seconds": 1,
"total_seconds": 600,
"energies": [123.5, 456.7, 234.2, ...],
"stats": {
"min": 45.2,
"max": 892.3,
"mean": 234.5,
"std": 156.7
}
}
How It Works
- Load audio file
- Split into 1-second windows
- Calculate RMS energy for each window:
sqrt(mean(samples^2)) - Output array of energy values
Dependencies
- Python 3.11+
- numpy
Example
# Calculate energy from extracted audio
python3 /root/.claude/skills/energy-calculator/scripts/calc_energy.py \
--audio audio.wav \
--output energies.json
Notes
- RMS energy correlates with perceived loudness
- Higher values = louder audio, lower values = quieter/silence
- Output can be used by opening-detector and pause-detector skills
Установить energy-calculator в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл energy-calculator?
Calculate per-second RMS energy from audio files. Use when you need to analyze audio volume patterns, prepare data for silence/pause detection, or create an energy profile for audio analysis tasks.
Как установить скилл energy-calculator?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл energy-calculator запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic