benchflow-ai/skillsbench/energy-calculator

Claude Code and agent skill by benchflow-ai/skillsbench

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

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.

Install

npx vskill@latest install benchflow-ai/skillsbench/energy-calculator

SKILL.md

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

bash
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
json
{
"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

  1. Load audio file
  2. Split into 1-second windows
  3. Calculate RMS energy for each window: sqrt(mean(samples^2))
  4. Output array of energy values

Dependencies

  • Python 3.11+
  • numpy

Example

bash
# 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

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
1,474
Repository forks
325
7-day trend score
36

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/benchflow-ai/skillsbench/energy-calculator/badge)](https://verified-skill.com/skills/benchflow-ai/skillsbench/energy-calculator)

Something wrong with this skill or its page? Tell us.