steam-cdp

steam-cdp is a skill for Claude Code, Codex from jinzhongjia/decky-music. It costs 82 tokens per session (1,433 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: positional $N argument; 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,433 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.01433
Opus 5.5 $0.00033 $0.00573
Sonnet 5.5 $0.00016 $0.00287
Haiku 4.5 $0.00008 $0.00143

Measured 19d ago against content hash 6af81cca8eb6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 19d 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 · 111 lines

How it starts

The opening of the file, as written. The whole thing — 111 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 · 111 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. 19d ago Changed · +5 lines 6af81cca8eb6
  2. 2mo 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 (125 stars, last pushed 2d ago), licensed MIT. It adds 82 tokens to every session and 1,433 once invoked, about $0.0003 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-30.

Related

steam-cdp compared with skills from other repositories

steam-cdp next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
steam-cdpjinzhongjia/decky-musicSkill1252d agoMITA82Claude Code, Codex
interactive-loginyc-software/qmSkill16kyesterdayMITA46Claude Code, Codex
pinchtab-mcppinchtab/pinchtabSkill11k10d agoMITA52Claude Code, Codex
azure-messaging-webpubsub-javamicrosoft/skillsSkill3.2kyesterdayMITA43Claude Code
cua-driverdavidondrej/skillsSkill4.3k3d agoMITA68Claude Code, Codex
open-design-browsercompozy/compozySkill2.8kyesterdayMITA56Claude Code, Codex
southwestborski/travel-hacking-toolkitSkill895yesterdayMITA40Claude Code