steam-cdp

steam-cdp is a skill for Claude Code, Codex from jinzhongjia/decky-music. It costs 82 tokens per session (1,281 once invoked), scanned A, original, MIT.

A set of scripts for inspecting and controlling the Steam client through its built-in Chromium debugging connection. It can work with Steam's visible Game Mode screens and internal browser contexts.

In plain words
What is it for?
Use it to list Steam windows, inspect page content, run JavaScript probes, navigate, click controls, send key presses, take screenshots, and read console errors.
Why use it?
It gives developers a way to check Steam UI behavior and diagnose problems remotely without manually operating every screen.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to list Steam windows, inspect page content, run JavaScript probes, navigate, click controls, send key presses, take screenshots, and read console errors.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jinzhongjia/decky-music/steam-cdp
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 jinzhongjia/decky-music --skill steam-cdp
Clone the repo
git clone --depth 1 https://github.com/jinzhongjia/decky-music

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 steam-cdp

README.md
[![agentmods](https://agentmods.dev/badge/skills/jinzhongjia/decky-music/steam-cdp/github.svg)](https://agentmods.dev/skills/jinzhongjia/decky-music/steam-cdp)
Your own site
<a href="https://agentmods.dev/skills/jinzhongjia/decky-music/steam-cdp"><img src="https://agentmods.dev/badge/skills/jinzhongjia/decky-music/steam-cdp/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 steam-cdp

Your own site · 80×15
<a href="https://agentmods.dev/skills/jinzhongjia/decky-music/steam-cdp"><img src="https://agentmods.dev/badge/skills/jinzhongjia/decky-music/steam-cdp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,281 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Memory Poisoning · line 89
    Skill manipulates agent memory, state, or stored context. Memory corruption can alter personality, override safety rules, or cause unpredictable behavior.
    Fix: Protect agent memory and state from modification by untrusted content. Use read-only memory for critical instructions and validate all state changes.
  • medium Memory Poisoning · line 84
    Skill attempts to fill the context window with filler content, displacing legitimate instructions and safety constraints. This can degrade agent performance or bypass safety boundaries.
    Fix: Implement context-window management that detects and rejects padding or stuffing attempts. Prioritize system instructions over user-injected content.
How audits are shown
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.00082 $0.01281
Opus 5 $0.00041 $0.00641
Sonnet 5 $0.00016 $0.00256
Haiku 4.5 $0.00008 $0.00128

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

Security

Grade A, and why

steam-cdp 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 12d ago.

The scan reads SKILL.md. This mod also ships 9 executable files (scripts/cdp-console.mjs, scripts/cdp-key.mjs, scripts/cdp-lib.mjs, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.agents/skills/steam-cdp/SKILL.md · 106 lines

How it starts

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

Steam CDP Automation

Steam's embedded Chromium (CEF) exposes remote debugging on localhost:8080 on the device (enabled by default in Decky environments; desktop Steam needs -cef-enable-debugging). Everything here is read-only diagnosis and test driving — never ship CDP tricks inside a plugin. The bundled scripts live in scripts/ next to this file and are dependency-free (Node ≥ 21 for global fetch/WebSocket).

Setup (once per machine session)

ssh -N -L 8080:localhost:8080 deck@<ip> &     # tunnel; survives plugin_loader restarts
node scripts/cdp.mjs targets                  # list targets, sanity-check the tunnel

Targets

Alias Target Use for
bp gamepad-UI main window ("Steam Big Picture Mode" / localized) the visible screen: screenshots, DOM clicks, key input
qam QuickAccess Quick Access Menu overlay
mainmenu MainMenu left Steam main menu overlay
shared / sjc SharedJSContext main JS context (no pixels) — webpack/module probing

Script inventory

node scripts/cdp.mjs targets                      # list targets with aliases
node scripts/cdp.mjs <target> <probe.js>          # Runtime.evaluate a JS file, print its return value
node scripts/cdp-nav.mjs /your-route              # navigate the gamepad UI to a route
node scripts/cdp-shot.mjs bp /tmp/ui.png          # screenshot a target to PNG
node scripts/cdp-key.mjs bp ArrowDown Enter       # dispatch keyDown/keyUp pairs
node scripts/cdp-console.mjs shared 30            # stream console warnings/errors for N seconds
node scripts/cdp.mjs mainmenu scripts/probe-mainmenu.js    # example probe: menu patch anchors

cdp-lib.mjs is the shared helper (target resolution, sessions, evaluate, screenshot, keys) — import it to build new drivers.

Writing probes

A probe is an IIFE evaluated in the target page. Return a JSON-serializable value instead of printing from inside the page. Reuse the bundled probes before writing another React-fiber walk.

Read the full file on GitHub · 106 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. 12d ago First seen · 106 lines · 82 tokens per session scan A 1aea64ad4b42

Subscribe to this mod's changes

steam-cdp is a skill published in the GitHub repository jinzhongjia/decky-music (119 stars, last pushed 8d ago), licensed MIT. It adds 82 tokens to every session and 1,281 once invoked, about $0.0004 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-30.

Related

Other skills, from other repositories

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

opencli-sitemap-author

Use when creating or maintaining OpenCLI site sitemaps: agent-facing navigation, page-state, action, workflow, API-reference, pitfall, and fallback knowledge for a website. Use after browser exploration discovers durable site context, when a sitemap is stale, or when promoting local site knowledge into the repo.

jackwener/OpenCLI · 67 tokens

interactive-login

How to complete browser/interactive logins (aws / gh / glab / gcloud). The platform backgrounds the login poller so it survives the human's browser round-trip — and when that does NOT work.

yc-software/qm · 46 tokens

pinchtab-mcp

Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.

pinchtab/pinchtab · 52 tokens

azure-messaging-webpubsub-java

Build real-time web applications with Azure Web PubSub SDK for Java. Use when implementing WebSocket-based messaging, live updates, chat applications, or server-to-client push notifications.

microsoft/skills · 43 tokens

google-safe-browsing

Prevent and fix Google Safe Browsing "Dangerous site" flags. Use when launching a public web app, buying/picking a domain, building a login or signup page, or when any site shows a red "Dangerous site" / "Deceptive site" warning in Chrome, Brave, Safari, Firefox, or Edge. Triggers on "dangerous site", "deceptive…

davidondrej/skills · 105 tokens