inspect

inspect is a command for Claude Code from HerbertGao/ogg2mp3. It costs 20 tokens per session (315 once invoked), scanned A, original, MIT.

A read-only command for checking metadata and cover information in OGG and OGGH audio files. It does not convert or change the files.

In plain words
What is it for?
Checking the file path, audio format, duration, bitrate, common tags such as title and artist, and whether cover art is present.
Why use it?
It gives useful file details without opening the audio in a player or modifying it, and makes technical metadata easier to read.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the ogg2mp3 plugin — 1 skill, 4 commands shipped together

Good fit Checking the file path, audio format, duration, bitrate, common tags such as title and artist, and whether cover art is present.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/herbertgao/ogg2mp3/inspect
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/HerbertGao/ogg2mp3

Made for: Claude Code.

Or install ogg2mp3, the plugin that ships this one along with the rest of its 1 skill, 4 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for inspect

README.md
[![agentmods](https://agentmods.dev/badge/commands/herbertgao/ogg2mp3/inspect/github.svg)](https://agentmods.dev/commands/herbertgao/ogg2mp3/inspect)
Your own site
<a href="https://agentmods.dev/commands/herbertgao/ogg2mp3/inspect"><img src="https://agentmods.dev/badge/commands/herbertgao/ogg2mp3/inspect/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for inspect

Your own site · 80×15
<a href="https://agentmods.dev/commands/herbertgao/ogg2mp3/inspect"><img src="https://agentmods.dev/badge/commands/herbertgao/ogg2mp3/inspect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 315 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00020 $0.00315
Opus 5.5 $0.00008 $0.00126
Sonnet 5.5 $0.00004 $0.00063
Haiku 4.5 $0.00002 $0.00032

Measured 1mo ago against content hash 5e7c8a3878d5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

inspect scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packaging/claude-code/commands/inspect.md · 23 lines

What it actually says

用户参数:$ARGUMENTS

把第一个参数当输入文件路径,跑:

ogg2mp3 inspect "<file>" --json

把 JSON 结果用中文友好地呈现给用户:

  • 文件路径 + 编码(codec)+ 时长(duration_sec 秒转分:秒)+ 比特率(bitrate bps 转 kbps)
  • 元数据:把 metadata 对象里有意义的字段(TITLE / ARTIST / ALBUM / DATE / GENRE / TRACK 之类)列出来。忽略 end / endserial / endgran 这些 Vorbis 内部字段(无用户价值)
  • 封面:cover.present true 则显示尺寸 KB;false 明确说"无封面(Resource Fork 里没有 ICNS 资源——可能不是 QQ 音乐下载的)"

不要建议下一步操作(转不转、要不要补封面),除非用户问。这个命令的定位是只读查询。

如果用户没提供文件($ARGUMENTS 为空),告诉用户用法:/ogg2mp3:inspect <file>,不要瞎调。

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 23 lines · 20 tokens per session scan A 5e7c8a3878d5

Subscribe to this mod's changes

inspect is a command published in the GitHub repository HerbertGao/ogg2mp3 (6 stars, last pushed 4mo ago), licensed MIT. It adds 20 tokens to every session and 315 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.