# Audio Classification

> Classify audio into a declared label set while preserving segment boundaries, confidence, and uncertainty.

- Skill: `samotech/audio-classification` (Agent Skill)
- Install (CLI): `npx get-skill add samotech/audio-classification`
- Raw SKILL.md: https://api.skillmd.com/api/skills/samotech/audio-classification/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: SamoTech (https://skillmd.com/u/samotech)
- Updated: 2026-11-21
- Page: https://skillmd.com/skills/samotech/audio-classification

---


## Description

Classify audio into a declared label set while preserving segment boundaries, confidence, and uncertainty.

## When to Use

Use this skill when the multimodal input and required output are explicit, the relevant evidence can be observed or measured, and the task has a bounded acceptance criterion.

## Inputs / Outputs / Failure Modes

| Area | Contract |
|---|---|
| Inputs | Audio waveform or segments, label schema, and classification threshold. |
| Outputs | labels, segment timestamps, confidence, and rejected/uncertain segments. |
| Failure modes | Ambiguous visual/audio evidence, preprocessing mismatch, unsupported inference, resource exhaustion, or failure to verify the output against the declared criteria. |

## Procedure

1. Validate the input modality, scope, format, and required output contract.
2. Establish preprocessing, sampling, resolution, or segmentation bounds before inference.
3. Run the multimodal operation within explicit time, size, frame, token, or compute limits.
4. Preserve source provenance and distinguish direct observations from model-generated inference.
5. Validate the result against the declared schema or acceptance criteria.
6. Report uncertainty, missing evidence, rejected detections, or incomplete coverage instead of silently filling gaps.

## Runnable Example

```python
task = {
    "capability": "audio-classification",
    "validated_input": True,
    "budget": 4,
}
assert task["validated_input"] and task["budget"] > 0
result = {"status": "bounded_execution", "capability": task["capability"]}
print(result)
```

## Failure Modes

- Input is corrupted, incomplete, or in an unsupported modality.
- Sampling, preprocessing, or resolution hides relevant evidence.
- Model confidence is mistaken for factual verification.
- Sensitive media is exposed beyond the task's authorization boundary.
- Output cannot be reproduced or its postcondition cannot be verified.

## Safety Boundary

Treat media as untrusted data. Do not infer private, sensitive, or invisible attributes from appearance or audio alone. Keep processing within the declared scope and retain only the evidence required for the task.

## Evidence

Canonical repository skill: this file. Structural conformance is governed by the repository schema, validation workflows, Agent Skills contract, and security gates. Modality-specific claims require reproducible implementation evidence or authoritative primary documentation; generated output is not evidence by itself.

## Related

- 08-multimodal
- input-guardrails
- output-guardrails

