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 playback, video editing, image compression, image caching, or photo-library access.

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/github.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/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 multimedia

Your own site · 80×15
<a href="https://agentmods.dev/skills/wangjianqi/appstore/16-multimedia"><img src="https://agentmods.dev/badge/skills/wangjianqi/appstore/16-multimedia.svg" alt="Reviewed on agentmods" width="80" 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.5 $0.00017 $0.01231
Sonnet 5.5 $0.00009 $0.00616
Haiku 4.5 $0.00004 $0.00308

Measured 1mo ago against content hash 1b4790e3b6e4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

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. 1mo 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 (17 stars, last pushed 4mo ago), licensed MIT. It adds 43 tokens to every session and 3,078 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

ipaship-audit

Use when auditing iOS/Android app submissions for compliance with Apple App Store Review Guidelines or Google Play Developer Policies. Scan .ipa, .apk, or .zip files against official store policies, generate structured compliance reports, and identify violations with remediation steps.

atharvnaik1/ipaship-audit · 57 tokens

view-specifications

Guide for writing view specification documents and a starter template for SwiftUI and cross-platform views.

jpavley/meta-loop-ios · 21 tokens

project-structure

Directory layout, file responsibilities, and Xcode integration for meta-loop projects.

jpavley/meta-loop-ios · 18 tokens

analyzing-ios-app-security-with-objection

Runtime iOS app security testing with Objection (Frida): inspect keychain and filesystem data, explore app internals at runtime, and validate/bypass client-side protections during authorized mobile assessments.

mukul975/Anthropic-Cybersecurity-Skills · 49 tokens

ios-simulator-skill

Build, test, and drive iOS apps in the Simulator with 30 token-efficient scripts. Use when asked to build or test an Xcode project, launch an app on a simulator, tap/type/swipe through its UI by accessibility label, take screenshots or visual diffs, audit accessibility, read logs or diagnose hangs, or manage…

conorluddy/ios-simulator-skill · 106 tokens

mastg

Autonomous mobile security audit aligned with OWASP MASTG v2. Performs checklist-driven analysis across MASVS categories: storage, crypto, network, platform, code, resilience, privacy. Exports structured markdown report with MASTG test references.

ChiChou/grapefruit · 53 tokens