Skip to content
Agentmart
Submit a tool

audio-analysis

Extract audio from a video (or analyze a standalone audio file) and report loudness — integrated LUFS, true peak (dBTP), loudness range — against a target…

Skill by danielrosehill

IndexedMIT★ 6
Write a review

Chalk Labs

Need help deploying audio-analysis?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/danielrosehill-audio-analysis

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Extract audio from a video (or analyze a standalone audio file) and report loudness — integrated LUFS, true peak (dBTP), loudness range — against a target like YouTube (-14 LUFS) or broadcast (-23 LUFS). Use when the user says "check loudness", "is this normalized", "extract the audio", "audio analysis", or "what LUFS is this". Read-only on the source — does not normalize.

Use cases: documents

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/audio-analysis

Tools it pre-approves 13

From allowed-tools in SKILL.md: the agent may use these without asking you each time.

  • Bash(ffmpeg
  • *),
  • Bash(ffprobe
  • Bash(test
  • Bash(mkdir
  • Bash(ls
  • Bash(basename
  • Bash(dirname
  • Bash(grep
  • Bash(awk
  • Bash(sed
  • Read,
Show 1 more
  • Write

What's inside

Skill name
audio-analysis
Description
Extract audio from a video (or analyze a standalone audio file) and report loudness — integrated LUFS, true peak (dBTP), loudness range — against a target like YouTube (-14 LUFS) or broadcast (-23 LUFS). Use when the user says "check loudness", "is this normalized", "extract the audio", "audio analysis", or "what LUFS is this". Read-only on the source — does not normalize.
License
MIT
Allowed tools
Bash(ffmpeg, *),, Bash(ffprobe, *),, Bash(test, *),, Bash(mkdir, *),, Bash(ls, *),, Bash(basename, *),, Bash(dirname, *),, Bash(grep, *),, Bash(awk, *),, Bash(sed, *),, Read,, Write
Instructions
102 lines in SKILL.md · view on GitHub

Before installing

  • Pre-approves some shell commands

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Audio Analysis

Pull the audio out of a video (or take a standalone audio file) and run an EBU R128 loudness pass. Output is a short markdown report with LUFS / dBTP / LRA and a recommendation against a chosen target.

This skill does not normalize. Apply normalization separately (with `transcode` or a future `normalize-audio` skill) once you've decided on a target.

## Procedure

### 1. Inputs

| Field | Default |
|-------|---------|
| Source | required (video or audio) |
| Mode | `extract` / `analyze` / `both` (default `both`) |
| Target | `youtube` (-14 LUFS / -1 dBTP) / `broadcast` (-23 / -2) / `podcast` (-16 / -1) / `streaming-spotify` (-14 / -1) |
| Output dir | sibling `audio/` (or project's `assets/` if inside an index project) |

### 2. Extract

If the source is a video, pull the audio. Prefer stream-copy when the codec is sane (aac/opus/flac/mp3); otherwise re-encode to wav for analysis.

```bash
CODEC=$(ffprobe -v error -select_streams a:0 -show_entries stream=codec_name -of csv=p=0 "$SRC")
case "$CODEC" in
  aac|mp3|opus|flac) EXT="$CODEC"; ARGS="-vn -acodec copy" ;;
  *)                 EXT="wav";    ARGS="-vn -ac 2 -ar 48000 -c:a pcm_s24le" ;;
esac
mkdir -p "$OUT_DIR"
EXTRACTED="$OUT_DIR/$(basename "${SRC%.*}").$EXT"
ffmpeg -hide_banner -y -i "$SRC" $ARGS "$EXTRACTED"
```

### 3. Analyze (ebur128)

```bash
ffmpeg -hide_banner -nostats -i "$EXTRACTED" -af 'ebur128=peak=true:framelog=quiet' -f null - 2>&1 | tail -25
```

Parse the summary block at the end:

```
[Parsed_ebur128_0 @ ...] Summary:
  Integrated loudness:
    I:         -18.4 LUFS
    Threshold: -28.5 LUFS
  Loudness range:
    LRA:         8.1 LU
    Threshold: -38.5 LUFS
    LRA low:   -22.2 LUFS
    LRA high:  -14.1 LUFS
  True peak:
    Peak:       -1.3 dBFS
```

Pull I (integrated), LRA, and Peak with `grep`/`awk`.

Also probe stream metadata:

```bash
ffprobe -v error -select_streams a:0 -show_entries stream=codec_name,sample_rate,channels,bits_per_sample -of default=nw=1 "$SRC"
```

### 4. Compare to target

| Target | Integrated | True Peak |
|--------|-----------:|----------:|
| YouTube | -14 LUFS | -1 dBTP |
| Spotify | -14 LUFS | -1 dBTP |
| Apple Music | -16 LUFS | -1 dBTP |
| Podcast | -16 LUFS | -1 dBTP |
| Broadcast (EBU R128) | -23 LUFS | -2 dBTP |

Compute deltas (`measured_I - target_I`).

### 5. Write the report

`<OUT_DIR>/<basename>.loudness.md`:

```markdown
# Loudness report — <basename>

- Source: `<absolute path>`
- Stream: aac, 48 kHz, 2 ch
- Target: YouTube (-14 LUFS / -1 dBTP)

| Metric | Measured | Target | Delta |
|--------|---------:|-------:|------:|
| Integrated | -18.4 LUFS | -14 LUFS | **-4.4 LU** (too quiet) |
| True peak | -1.3 dBTP | -1 dBTP | -0.3 dB (ok) |
| LRA | 8.1 LU | — | — |

**Recommendation:** raise integrated by ~4.4 LU. Use ffmpeg `loudnorm` (two-pass) or apply gain when re-encoding.
```

### 6. Print summary

Show the table inline so the user doesn't have to open the file. Offer:

- Run `transcode` with a `loudnorm` step.
- Try a different target (re-run analysis with a different reference — no re-extraction needed).

From danielrosehill/Claude-Video-Editor-Plugin, MIT.

More from danielrosehill/Claude-Video-Editor-Plugin

Signals

Stars
6
Forks
0
Open issues
0
Last commit (this folder)
Apr 30, 2026 (6 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from danielrosehill

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get audio-analysis running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying audio-analysis?

CallGet help
Cite this page

audio-analysis skill. Agent Mart. https://agentmart.dev/skills/danielrosehill-audio-analysis (last updated 2026-10-24)