Install Ima Dai Sdk
Pick your agent. Every command is ready to paste.
npx skills add google/skills --skill ima-dai-sdkThe open skills CLI detects your agents (Claude Code, Cursor, Codex and 70+ more) and installs to the right folder. Add -g to install globally.
01
Install it
Run the command above, or upload the folder in Claude.
02
Ask naturally
Describe the task. Your agent loads ima-dai-sdk when the request matches its description.
03
Name it if needed
If it does not trigger, say “use the ima-dai-sdk skill”. In Codex, type $ima-dai-sdk.
The skill itself
SKILL.md
IMA DAI SDK
Use the IMA DAI SDK to load HLS or DASH streams into the app for:
- Livestream events configured in Google Ad Manager.
- Video on demand (VOD) content ingested into Google Ad Manager.
Prerequisites
Review the platform-specific integration guides for the target platforms:
Web/HTML5/ReactJs/NodeJs/Angular: Read StreamManager guide for loading stream URL from Google full-service DAI into
<video>element.ChromeCast: Read StreamManager guide for integrating the IMA DAI SDK into a ChromeCast Web Receiver.
Android: Read ImaServerSideAdInsertionMediaSource guide for integrating Media3 Exoplayer IMA extension.
iOS/tvOS: Read IMAStreamRequest guide for playing streams with
AVPlayer.Roku: Read StreamManager guide for implementing DAI on Roku SceneGraph.
Quick start (general workflow)
- Import the SDK
- Initialize the SDK
- Add stream event listeners
- Set up timed metadata forwarding
- Make a stream request
- Clean up SDK resources when the stream fails or the user leaves the stream.
Tips for Ima Dai Sdk
- • Start a fresh session after installing so your agent picks up the new skill.
- • It bundles reference files. The agent reads them only when needed, so they cost no context until then.
- • It is part of a pack with 40 skills. Install only the ones you need with --skill to keep triggers precise.
- • If two skills overlap, mention the one you want by name.
Questions about Ima Dai Sdk
What does the Ima Dai Sdk skill do?
Integrates the Google Interactive Media Ads (IMA) Dynamic Ad Insertion (DAI) SDK into websites, web apps, mobile apps, or TV apps. Use when: - A video player needs to load and play HLS or DASH streams in web apps, Android apps, iOS apps, tvOS apps, Cast (CAF) receivers, or Roku channels. - The app needs to make use of a Google DAI livestream event asset key, or content source CMS ID, video ID for video on demand. Don't use this skill to load and play a VAST or VMAP URL.
How do I install Ima Dai Sdk?
Run "npx skills add google/skills --skill ima-dai-sdk" in your project. The skills CLI installs it for Claude Code, Cursor, Codex and 70+ other agents. In Claude on the web, upload the skill folder as a ZIP under Customize > Skills.
Does Ima Dai Sdk work in Cursor and Codex?
Yes. Ima Dai Sdk uses the open SKILL.md format, so it works in Claude Code, Claude, Cursor, OpenAI Codex, Gemini CLI, GitHub Copilot and other agents that support agent skills.
Is Ima Dai Sdk free?
Ima Dai Sdk is open source on GitHub under the Apache-2.0 license. It is free to install; check the license before commercial use.
Who made Ima Dai Sdk?
Ima Dai Sdk is published by Google in the google/skills repository, together with 39 other skills.



