multimedia

multimedia is a skill for Claude Code, Codex from wangjianqi/AppStore. It costs 43 tokens per session (3,078 once invoked), scanned A, original, MIT.

An iOS multimedia guide for recording and playing audio, editing video, and working with photos. It covers Apple frameworks such as AVFoundation and Photos.

In plain words
What is it for?
Use it when building iOS features for audio recording, music or voice playback, video editing, image compression, image caching, or photo-library access.
Why use it?
It brings common media tasks and audio-session choices into one reference, reducing guesswork when handling recording, playback, or media exports.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when building iOS features for audio recording, music or voice…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wangjianqi/appstore/16-multimedia
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.

Any agent
npx skills add wangjianqi/AppStore --skill 16-multimedia
Clone the repo
git clone --depth 1 https://github.com/wangjianqi/AppStore

Made for: Claude Code, Codex.

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 multimedia

README.md
[![agentmods](https://agentmods.dev/badge/skills/wangjianqi/appstore/16-multimedia.svg)](https://agentmods.dev/skills/wangjianqi/appstore/16-multimedia)
Your own site
<a href="https://agentmods.dev/skills/wangjianqi/appstore/16-multimedia"><img src="https://agentmods.dev/badge/skills/wangjianqi/appstore/16-multimedia.svg" alt="Measured on agentmods" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,078 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.00043 $0.03078
Opus 5 $0.00022 $0.01539
Sonnet 5 $0.00009 $0.00616
Haiku 4.5 $0.00004 $0.00308

Measured 6d ago against content hash 1b4790e3b6e4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

multimedia 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 6d 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.

ios-claude-skills/16-multimedia/SKILL.md · 372 lines

How it starts

The opening of the file, as written. The whole thing — 372 lines — stays where its author put it; the contents beside it link to each section on GitHub.

多媒体处理

音频

音频会话配置

import AVFoundation

func configureAudioSession(category: AVAudioSession.Category = .playAndRecord) {
    let session = AVAudioSession.sharedInstance()
    do {
        try session.setCategory(category, mode: .default, options: [.defaultToSpeaker, .allowBluetooth])
        try session.setActive(true)
    } catch {
        Logger.error("音频会话配置失败: \(error)")
    }
}

场景与 Category 对照

场景 Category Mode Options
录音 .playAndRecord .default .defaultToSpeaker
播放音乐 .playback .default -
语音通话 .playAndRecord .voiceChat .allowBluetooth
后台播放 .playback .default 需 Background Modes → Audio
静音开关跟随 .ambient .default -

音频录制

final class AudioRecorder: NSObject {
    private var recorder: AVAudioRecorder?
    private var recordingURL: URL?

    func startRecording(to url: URL) throws {
        configureAudioSession(category: .playAndRecord)
        let settings: [String: Any] = [
            AVFormatIDKey: Int(kAudioFormatMPEG4AAC),
            AVSampleRateKey: 44100.0,
            AVNumberOfChannelsKey: 1,
            AVEncoderAudioQualityKey: AVAudioQuality.high.rawValue
        ]
        recorder = try AVAudioRecorder(url: url, settings: settings)
        recorder?.record()
        recordingURL = url
    }

    func stopRecording() -> URL? {
        recorder?.stop()
        return recordingURL
    }

    var isRecording: Bool { recorder?.isRecording ?? false }

    var currentTime: TimeInterval { recorder?.currentTime ?? 0 }
}

音频播放

final class AudioPlayer {
    private var player: AVAudioPlayer?

    func play(url: URL) {
        configureAudioSession(category: .playback)
        do {
            player = try AVAudioPlayer(contentsOf: url)
            player?.play()
        } catch {
            Logger.error("音频播放失败: \(error)")
        }
    }

    func stop() {
        player?.stop()
        player = nil
    }

    var isPlaying: Bool { player?.isPlaying ?? false }

    var duration: TimeInterval { player?.duration ?? 0 }

    var currentTime: TimeInterval { player?.currentTime ?? 0 }
}

Read the full file on GitHub · 372 lines

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. 6d ago First seen · 372 lines · 43 tokens per session scan A 1b4790e3b6e4

Subscribe to this mod's changes

multimedia is a skill published in the GitHub repository wangjianqi/AppStore (11 stars, last pushed 3mo ago), licensed MIT. It adds 43 tokens to every session and 3,078 once invoked, about $0.0002 per session on Opus 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.

Related

Other skills, from other repositories

argent-screen-recording

Record a video of an iOS simulator or Android emulator/device screen using argent MCP tools. Use when the user asks to record the screen, capture a video of a flow, interaction, or animation, produce a screen recording, or document app behavior as a video clip.

software-mansion/argent · 59 tokens

ios-marketing-capture

Use when the user wants to automate capture of marketing screenshots for a SwiftUI iOS app across multiple locales, devices, or appearances. Covers full-screen shots, isolated element renders (carousel cards, widgets), and reproducible output naming. Triggers on marketing screenshots, locale screenshots, widget…

ParthJadhav/ios-marketing-capture · 78 tokens

scenekit-product-stages

Build and debug SceneKit scenes where one 3D object (a product, badge, coin, wheel) performs on a transparent stage inside a SwiftUI app - studio lighting, real shadows, baked keyframe choreography, hand-rolled physics, gestures and haptics, multi-scene sequencing. Use when working with SCNView or SceneView in…

dembsky/PropMotion · 306 tokens

swift-architecture

Choose and migrate an Apple-platform app architecture for a fintech iOS app (iOS 26 era). Covers MV with Observation (@Observable, @Environment injection, @Bindable), MVVM, hand-rolled MVI/unidirectional store+reducer, The Composable Architecture (@Reducer, @ObservableState, StoreOf, Effect.run, @Dependency…

TalissonVitorino/kmp-ios-skills · 203 tokens

app-store-screenshots

Capture App Store / TestFlight screenshots from the iOS Simulator at native resolution, downscale to every required display size, and upload to App Store Connect via helm-asc. Use when asked to take/produce/refresh App Store screenshots, marketing screenshots, or screenshots for custom product pages.

patrickserrano/lacquer · 64 tokens

react-native-docs

Comprehensive React Native reference covering core components, APIs, styling, flexbox, navigation, networking, animations, platform-specific code, debugging, performance, TypeScript integration, Fast Refresh, environment setup, React fundamentals, running on devices, and the New Architecture (Fabric, JSI…

pledgeandgrow/pledge-skills · 97 tokens