Agent skill

Energy Calculator

by benchflow-ai in benchflow-ai/skillsbench

Calculate per-second RMS energy from audio files. An agent skill from benchflow-ai/skillsbench.

Apache-2.0Auto-check passed

Install Energy Calculator

skills CLI
$ npx skills add benchflow-ai/skillsbench --skill energy-calculator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install benchflow-ai/skillsbench energy-calculator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/benchflow-ai/skillsbench.git skills-src && mkdir -p .claude/skills && cp -r skills-src/tasks/video-silence-remover/environment/skills/energy-calculator .claude/skills/energy-calculator && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
energy-calculator
GitHub stars
1.8k
Token cost
~437 tokens
SKILL.md length
126 words
Files
2 (incl. scripts)
Skills in repo
189
Repo updated
First seen
Licence
Apache-2.0

At a glance

Calculate per-second RMS energy from audio files. An agent skill from benchflow-ai/skillsbench.

  • Works in 4 steps: Load audio file → Split into 1-second windows → Calculate RMS energy for each window:… → …
  • You need to analyze audio volume patterns
  • SKILL.md covers Use Cases, Usage, How It Works and Dependencies, plus 2 more sections
  • Runs Python scripts from its folder; calls python3

What it does

Energy Calculator is an agent skill from benchflow-ai/skillsbench. 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.

Its SKILL.md is about 440 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/calc_energy.py`).

The repository describes itself as: SkillsBench evaluates how well skills work and how effective agents are at using them. The licence is Apache-2.0.

When your agent uses it

  • You need to analyze audio volume patterns
  • Prepare data for silence/pause detection
  • Create an energy profile for audio analysis tasks

Example prompts

  • “/energy-calculator”

Requirements

  • Python 3

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  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

What it can do on your machine

Read from SKILL.md and the folder at commit 9a1f4dd. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Energy Calculator loads about 437 tokens when it runs. Until then it costs about 54 tokens; SKILL.md has 126 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~54
When it runs · the whole SKILL.md, loaded when a task matches
~437

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from benchflow-ai/skillsbench at commit 9a1f4dd, republished under its Apache-2.0 licence (© benchflow-ai). 126 words, ~437 tokens.

Download SKILL.mdSave it as .claude/skills/energy-calculator/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
energy-calculator
description
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

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

© benchflow-ai, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (scripts) in tasks/video-silence-remover/environment/skills/energy-calculator of benchflow-ai/skillsbench.

  • SKILL.md
  • scripts/calc_energy.py

Open the folder on GitHubat commit 9a1f4dd

Compare with similar skills

Energy Calculator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Energy Calculator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Energy Calculator this skillbenchflow-ai/skillsbench1.8k—~437Automated safety check: PassApache-2.0
HyperFrames Audioheygen-com/hyperframes60k1 repos~6.5kAutomated safety check: PassApache-2.0
Bio Free Energy CalculationsGPTomics/bioSkills1.2k1 repos~4.5kAutomated safety check: PassMIT
Audio Descriptionsthedaviddias/Front-End-Checklist74k—~549Automated safety check: PassMIT
Venice Audio Musicnexu-io/open-design100k—~297Automated safety check: PassApache-2.0
Team AudioDonchitos/Claude-Code-Game-Studios26k—~4.4kAutomated safety check: NotesMIT

Similar skills

  • HyperFrames Audio

    heygen-com/hyperframes

    Mixes audio already placed in a HyperFrames composition: fades, gain, ducking under a voiceover, effect chains, automation and shared submix buses.

    60k GitHub starsUsed in 1 repo~6.5k tokens
    Media & CreativeAuto-check passed
  • Performs alchemical free-energy calculations including relative binding free energy (RBFE / FEP+) and absolute binding free energy (ABFE) via OpenFE, FEP+, GROMACS, AMBER pmemd, and OpenMM with…

    1.2k GitHub starsUsed in 1 repo~4.5k tokens
    Research & ScienceAuto-check passed
  • Audio Descriptions

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing rendered HTML, interactive components, or design-system patterns related to Provide audio descriptions for video.

    74k GitHub stars~549 tokensUpdated 4 days ago
    Frontend & DesignAuto-check passed
  • Venice Audio Music

    nexu-io/open-design

    Music generation queueing, retrieval, and completion endpoints via Venice.ai.

    100k GitHub stars~297 tokensUpdated yesterday
    Media & CreativeAuto-check passed
  • Team Audio

    Donchitos/Claude-Code-Game-Studios

    Orchestrate the audio team — audio-director, sound-designer, technical-artist, gameplay-programmer — direction through implementation.

    26k GitHub stars~4.4k tokensUpdated 3 days ago
    Game DevelopmentAuto-check: notes
  • Energy Procurement

    affaan-m/ECC

    Procure electricity and natural gas for commercial and industrial facilities: tariff and rate-schedule optimization, demand-charge mitigation, supplier RFPs, fixed/index/block-and-index hedging…

    277k GitHub starsUsed in 4 repos~7.4k tokens
    Business, Finance & HRAuto-check passed

More from benchflow-ai/skillsbench

All 189 skills in this repo
  • Lean4 Memories

    benchflow-ai/skillsbench

    This skill should be used when working on Lean 4 formalization projects to maintain persistent memory of successful proof patterns, failed approaches, project conventions, and user preferences…

    1.8k GitHub stars~3.2k tokensUpdated 2 mo ago
    Auto-check passed
  • Senior Data Engineer

    benchflow-ai/skillsbench

    World-class data engineering skill for building scalable data pipelines, ETL/ELT systems, real-time streaming, and data infrastructure.

    1.8k GitHub stars~5.9k tokensUpdated 2 mo ago
    Auto-check passed
  • Ac Branch Pi Model

    benchflow-ai/skillsbench

    AC branch pi-model power flow equations (P/Q and |S|) with transformer tap ratio and phase shift, matching acopf-math-model.md and MATPOWER branch fields.

    1.8k GitHub stars~1.1k tokensUpdated 2 mo ago
    Auto-check passed
  • Civ6lib

    benchflow-ai/skillsbench

    Civilization 6 district mechanics library. An agent skill from benchflow-ai/skillsbench.

    1.8k GitHub stars~1.7k tokensUpdated 2 mo ago
    Auto-check passed
  • D3 Visualization

    benchflow-ai/skillsbench

    Build deterministic, verifiable data visualizations with D3.js (v6).

    1.8k GitHub stars~1.5k tokensUpdated 2 mo ago
    Auto-check passed
  • Dc Power Flow

    benchflow-ai/skillsbench

    DC power flow analysis for power systems. An agent skill from benchflow-ai/skillsbench.

    1.8k GitHub stars~717 tokensUpdated 2 mo ago
    Auto-check passed

Questions about Energy Calculator

What does Energy Calculator do?

Calculate per-second RMS energy from audio files. An agent skill from benchflow-ai/skillsbench. Energy Calculator is an agent skill from benchflow-ai/skillsbench. Calculate per-second RMS energy from audio files.

When should I use Energy Calculator?

Energy Calculator fits situations like: you need to analyze audio volume patterns; prepare data for silence/pause detection; create an energy profile for audio analysis tasks.

How do I install Energy Calculator in Claude Code?

Run `npx skills add benchflow-ai/skillsbench --skill energy-calculator -a claude-code`. Or copy the skill folder (tasks/video-silence-remover/environment/skills/energy-calculator in benchflow-ai/skillsbench) into .claude/skills/energy-calculator in your project. Claude Code loads it when a task matches its description.

How do I install Energy Calculator in Codex?

Run `npx skills add benchflow-ai/skillsbench --skill energy-calculator -a codex`. Or copy the skill folder (tasks/video-silence-remover/environment/skills/energy-calculator in benchflow-ai/skillsbench) into .agents/skills/energy-calculator in your project. Codex loads it when a task matches its description.

Can I use Energy Calculator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add benchflow-ai/skillsbench --skill energy-calculator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/energy-calculator, .gemini/skills/energy-calculator, .github/skills/energy-calculator and .opencode/skills/energy-calculator in your project.

What does Energy Calculator need to run?

Going by SKILL.md and its folder, Energy Calculator needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does Energy Calculator access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Energy Calculator safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Energy Calculator use?

Energy Calculator is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Energy Calculator use?

About 437 tokens (SKILL.md is roughly 1.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Energy Calculator?

Skills that share tags, products or a category with Energy Calculator: HyperFrames Audio (heygen-com/hyperframes, 60k stars), Bio Free Energy Calculations (GPTomics/bioSkills, 1.2k stars), Audio Descriptions (thedaviddias/Front-End-Checklist, 74k stars) and Venice Audio Music (nexu-io/open-design, 100k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Energy Calculator?

benchflow-ai (a GitHub organization) maintains it in benchflow-ai/skillsbench, which has 1,835 GitHub stars. The repository holds 189 skills in this directory. The repository was last updated on July 23, 2026.

Source: benchflow-ai/skillsbench on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.