internal-chrome-control
Skill by ossrs
Drives the Chrome or Edge already installed on a machine, through puppeteer-core, as a test client for SRS. It publishes and plays WebRTC, HTTP-FLV, HTTP-TS and HLS streams in a headless browser and reads WebRTC stats.
Install internal-chrome-control
Built from the published package, never by AI.
git clone --depth 1 https://github.com/ossrs/srs /tmp/srs && mkdir -p ~/.claude/skills && cp -r /tmp/srs/skills/internal-chrome-control ~/.claude/skills/internal-chrome-controlRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install internal-chrome-control in Claude Code
git clone --depth 1 https://github.com/ossrs/srs /tmp/srs && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/srs/skills/internal-chrome-control ~/.gemini/antigravity-cli/skills/internal-chrome-controlAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install internal-chrome-control in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This is an agent skill that drives the Chrome or Edge already installed on the machine, using puppeteer-core, as a test client for SRS. It can publish over WHIP with H.264, H.265, VP9 or AV1 video and Opus audio, and play over WHEP, HTTP-FLV, HTTP-TS or HLS. It does not download a browser.
The scripts in scripts/chrome.js provide find-browser, launch --probe, serve and run commands. Each launch is a new headless browser with its own profile, using Chrome's fake camera and microphone, so the user's own browser and sign-ins are not used. The run command checks that each stream moves and can save getStats() samples and a chrome://webrtc-internals dump. It is intended for people testing SRS who need a real browser as the client.
Written from the project's SKILL.md and checked against it.
What it can do
- find-browserPrints the browser executable that the driver will use.
- launch --probeStarts the browser, prints its version and video codecs, then closes it.
- runRuns one or more publish or play jobs in one browser and checks that each stream moves.
- serveServes the test page on a chosen port for a page opened by hand.
- WHIP publishingPublishes the fake camera and microphone to SRS with H.264, H.265, VP9 or AV1 video.
- Playback modesPlays from SRS over WHEP, HTTP-FLV, HTTP-TS or HLS in a browser window.
- Stats filesWrites getStats() samples and job results to a JSON file with the --out option.
- Internals dumpSaves the chrome://webrtc-internals dump with the --internals option.
What you need
- Node.js 22.12 or later
- Google Chrome, Microsoft Edge or Chromium installed
- npm ci run once in the skill directory
- An SRS checkout, for the vendored players
Try asking
- Publish H.264 to SRS over WHIP and play it back over WHEP in headless Chrome.
- Run a WHIP VP9 publish test and save the getStats() samples to a file.
- Check which video codecs the installed browser can encode with launch --probe.
Good to know
- Uses only fake camera and microphone devices, not real hardware.
- Not for the SRS player pages such as whip.html or whep.html.
- Google Chrome has no Linux arm64 build, so arm64 Macs need SRS in Docker.
- Edge 156 on Windows has no H.265 send support, so those H.265 WHIP jobs are skipped.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/internal-chrome-control/SKILL.md, skills/internal-chrome-control/page/srs-test.js, skills/internal-chrome-control/scripts/chrome.js, skills/internal-chrome-control/scripts/chrome.test.js, skills/internal-chrome-control/scripts/page.test.js, skills/internal-chrome-control/scripts/run.test.js. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
.gitignore14 B -
SKILL.md13 KB -
package-lock.json11 KB -
package.json328 B -
page/index.html474 B
Show all 10 files
-
page/srs-test.js12 KB -
scripts/chrome.js31 KB -
scripts/chrome.test.js19 KB -
scripts/page.test.js14 KB -
scripts/run.test.js32 KB
Alternatives to internal-chrome-control
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
internal-chrome-control: common questions
Does it use my own Chrome profile?
No. Every launch uses a new headless browser with its own profile, and the driver never connects to a running browser.
Which streaming protocols can the browser test?
It can publish over WHIP and play over WHEP, HTTP-FLV, HTTP-TS and HLS, using the vendored players.
What happens if the browser lacks a codec?
The job is reported as SKIP for that codec, and the run still exits with code 0 if nothing failed.
How do I install internal-chrome-control?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is internal-chrome-control free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is internal-chrome-control safe to use?
It scores 89 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to internal-chrome-control?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
