Pp steam web

From mvanhorn/printing-press-library · View interactive version

Pp steam web is an AI agent skill from the GitHub repository mvanhorn/printing-press-library. Every Steam Web API endpoint, plus a local SQLite store that turns friend playtimes, achievement progress, and library backlogs into single SQL queries no other tool can answer. Trigger phrases: `what should I play next on steam`, `find friends who own this game`, `easiest steam achievement to unloc

How to use this skill

Skill file

<!-- GENERATED FILE — DO NOT EDIT.

This file is a verbatim mirror of library/media-and-entertainment/steam-web/SKILL.md,

regenerated post-merge by tools/generate-skills/. Hand-edits here are

silently overwritten on the next regen. Edit the library/ source instead.

See the repository agent guide, section "Generated artifacts: registry.json, cli-skills/". -->

Steam Web — Printing Press CLI

Prerequisites: Install the CLI

This skill drives the steam-web-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:

  1. Install via the Printing Press installer. It defaults binaries to $HOME/.local/bin on macOS/Linux and %LOCALAPPDATA%\Programs\PrintingPress\bin on Windows:

```bash

npx -y @mvanhorn/printing-press-library install steam-web --cli-only

```

  1. Verify: steam-web-pp-cli --version
  2. Ensure the reported install directory is on $PATH for the agent/runtime that will invoke this skill.

If the npx install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.6 or newer):

go install github.com/mvanhorn/printing-press-library/library/media-and-entertainment/steam-web/cmd/steam-web-pp-cli@latest

If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds.

When to Use This CLI

Pick this CLI when an agent is asked to query Steam profile, library, achievement, or news data and the question crosses entities — anything joining friends with owned games, achievements with global rarity, or news with a date filter. The local SQLite store turns those questions into one SQL query instead of an N+1 fanout. Every other Steam tool is single-shot read-once; this one compounds. For pure single-endpoint reads (one player's profile, one app's news), the per-endpoint MCP tools work too — but the novel commands are where this CLI earns its weight.

Unique Capabilities

These capabilities aren't available in any other tool for this API.

Local state that compounds

_Use this when an agent is asked to plan what to play next, justify a refund, or summarize the user's gaming spend._

```bash

steam-web-pp-cli library audit 76561197960287930 --bounce --json

```

_Use this when an agent is asked to track sentiment shifts after a patch, sale, or controversy._

```bash

steam-web-pp-cli review-velocity 1245620 --window 30d --json

```

_Use this when an agent is asked to dig up patch notes, devlog mentions, or news around a specific topic across the user's library._

```bash

steam-web-pp-cli news search 'patch notes' --since 2026-04-01 --json

```

_Use this when an agent needs to see whether a game's playerbase is growing, falling, or has spiked around an event — sample the count every few hours via cron and the window query becomes meaningful within a week._

```bash

steam-web-pp-cli play-trend 1245620 --window 7d --json

```

Friend-graph intelligence

_Use this when an agent is asked 'who in my friends has the most hours in <game>' or 'who owns this and never played'._

```bash

steam-web-pp-cli friends compare 1245620 --my-steamid 76561197960287930 --agent --select results.persona_name,results.playtime_hours

```

_Use this when an agent is asked 'what games do my friend and I both own' or to plan a co-op session._

```bash

steam-web-pp-cli library compare 76561197960287930 --my-steamid 76561197960287930 --shared --json

```

_Use this when an agent is asked 'who is online and playing what' or to power a status panel._

```bash

steam-web-pp-cli currently-playing --my-steamid 76561197960287930 --json

```

_Use this when an agent is asked 'who in my friends is closest to 100% in <game>' or to seed a competitive completion challenge._

```bash

steam-web-pp-cli achievement-leaderboard 1245620 --my-steamid 76561197960287930 --json

```

Achievement intelligence

_Use this when an agent is asked 'what should I go unlock next' or to recommend low-effort achievement progress for completionists._

```bash

steam-web-pp-cli next-achievement --steamid 76561197960287930 --limit 10 --json

```

_Use this when an agent needs the full unlock landscape for one game to plan a completion run._

```bash

steam-web-pp-cli achievement-hunt 1245620 --steamid 76561197960287930 --locked --json

```

_Use this when an agent is asked to summarize what the user is proud of, or to power a profile-flex panel._

```bash

steam-web-pp-cli rare-achievements --steamid 76561197960287930 --limit 10 --json

```

Command Reference

iauthentication-service — Manage iauthentication service

ibroadcast-service — Manage ibroadcast service

icheat-reporting-service — Manage icheat reporting service

iclient-stats-1046930 — Manage iclient stats 1046930

icontent-server-config-service — Manage icontent server config service

icontent-server-directory-service — Manage icontent server directory service

icsgoplayers-730 — Manage icsgoplayers 730

icsgoservers-730 — Manage icsgoservers 730

icsgotournaments-730 — Manage icsgotournaments 730

idota2-match-570 — Manage idota2 match 570

idota2-match-stats-570 — Manage idota2 match stats 570

idota2-stream-system-570 — Manage idota2 stream system 570

idota2-ticket-570 — Manage idota2 ticket 570

iecon-dota2-570 — Manage iecon dota2 570

iecon-items-1046930 — Manage iecon items 1046930

iecon-items-1269260 — Manage iecon items 1269260

iecon-items-440 — Manage iecon items 440

iecon-items-570 — Manage iecon items 570

iecon-items-583950 — Manage iecon items 583950

iecon-items-620 — Manage iecon items 620

iecon-items-730 — Manage iecon items 730

iecon-service — Manage iecon service

igame-notifications-service — Manage igame notifications service

igame-servers-service — Manage igame servers service

igcversion-1046930 — Manage igcversion 1046930

igcversion-1269260 — Manage igcversion 1269260

igcversion-1422450 — Manage igcversion 1422450

igcversion-440 — Manage igcversion 440

igcversion-570 — Manage igcversion 570

igcversion-583950 — Manage igcversion 583950

igcversion-730 — Manage igcversion 730

ihelp-request-logs-service — Manage ihelp request logs service

iinventory-service — Manage iinventory service

iplayer-service — Manage iplayer service

iportal2-leaderboards-620 — Manage iportal2 leaderboards 620

ipublished-file-service — Manage ipublished file service

isteam-apps — Manage isteam apps

isteam-broadcast — Manage isteam broadcast

isteam-cdn — Manage isteam cdn

isteam-directory — Manage isteam directory

isteam-economy — Manage isteam economy

isteam-news — Manage isteam news

isteam-remote-storage — Manage isteam remote storage

isteam-user — Manage isteam user

isteam-user-auth — Manage isteam user auth

isteam-user-oauth — Manage isteam user oauth

isteam-user-stats — Manage isteam user stats

isteam-web-apiutil — Manage isteam web apiutil

istore-service — Manage istore service

itfitems-440 — Manage itfitems 440

itfpromos-440 — Manage itfpromos 440

itfpromos-620 — Manage itfpromos 620

itfsystem-440 — Manage itfsystem 440

iwishlist-service — Manage iwishlist service

Finding the right command

When you know what you want to do but not which command does it, ask the CLI directly:

steam-web-pp-cli which "<capability in your own words>"

which resolves a natural-language capability query to the best matching command from this CLI's curated feature index. Exit code 0 means at least one match; exit code 2 means no confident match — fall back to --help or use a narrower query.

Recipes

Find friends who own a game but never played it

steam-web-pp-cli friends compare 1245620 --my-steamid 76561197960287930 --filter owns-zero-hours --agent --select results.persona_name,results.steamid

Throttled fan-out to identify dormant owners — the people most likely to actually play if invited.

Plan a completion run on one game

steam-web-pp-cli achievement-hunt 1245620 --steamid 76561197960287930 --locked --agent --select achievements.display_name,achievements.global_pct

Surfaces every locked achievement plus its global rarity so you can rank effort vs. reward.

Find low-hanging fruit across your whole library

steam-web-pp-cli next-achievement --steamid 76561197960287930 --limit 10 --json

Cross-library SQL — the ten achievements with the highest global unlock rate that you still don't have.

Audit your backlog after a sale

steam-web-pp-cli library audit 76561197960287930 --never-launched --json

Reveals what you bought and didn't open; pairs well with library audit --bounce for the under-2h paid set.

Search your synced news feed for a topic

steam-web-pp-cli news search 'mod support' --since 2026-04-01 --json

FTS5 search over every news post you've synced — useful for tracking when devs ship features you care about across all your owned games.

Auth Setup

Standard Steam Web API key auth: get one at https://steamcommunity.com/dev/apikey and set STEAM_WEB_API_KEY in your environment. The key is sent as a ?key= query parameter on every request. Some endpoints (server time, app list, news) require no auth at all and work without a key. The IAuthenticationService endpoints in the spec are NOT for Web API auth — they implement Steam's interactive QR-code login flow. They remain reachable via the CLI subcommand and the MCP code-orchestration pair for completeness but should not be used as part of normal Web API workflows.

Run steam-web-pp-cli doctor to verify setup.

Agent Mode

Add --agent to any command. Expands to: --json --compact --no-input --no-color --yes.

```bash

steam-web-pp-cli iauthentication-service begin-auth-session-via-credentials --account-name example-resource --agent --select id,name,status

```

Response envelope

Commands that read from the local store or the API wrap output in a provenance envelope:

{
  "meta": {"source": "live" | "local", "synced_at": "...", "reason": "..."},
  "results": <data>
}

Parse .results for data and .meta.source to know whether it's live or local. A human-readable N results (live) summary is printed to stderr only when stdout is a terminal — piped/agent consumers get pure JSON on stdout.

Agent Feedback

When you (or the agent) notice something off about this CLI, record it:

steam-web-pp-cli feedback "the --since flag is inclusive but docs say exclusive"
steam-web-pp-cli feedback --stdin < notes.txt
steam-web-pp-cli feedback list --json --limit 10

Entries are stored locally at ~/.steam-web-pp-cli/feedback.jsonl. They are never POSTed unless STEAM_WEB_FEEDBACK_ENDPOINT is set AND either --send is passed or STEAM_WEB_FEEDBACK_AUTO_SEND=true. Default behavior is local-only.

Write what surprised you, not a bug report. Short, specific, one line: that is the part that compounds.

Output Delivery

Every command accepts --deliver <sink>. The output goes to the named sink in addition to (or instead of) stdout, so agents can route command results without hand-piping. Three sinks are supported:

| Sink | Effect |

|------|--------|

| stdout | Default; write to stdout only |

| file:<path> | Atomically write output to <path> (tmp + rename) |

| webhook:<url> | POST the output body to the URL (application/json or application/x-ndjson when --compact) |

Unknown schemes are refused with a structured error naming the supported set. Webhook failures return non-zero and log the URL + HTTP status on stderr.

Named Profiles

A profile is a saved set of flag values, reused across invocations. Use it when a scheduled agent calls the same command every run with the same configuration - HeyGen's "Beacon" pattern.

steam-web-pp-cli profile save briefing --json
steam-web-pp-cli --profile briefing iauthentication-service begin-auth-session-via-credentials --account-name example-resource
steam-web-pp-cli profile list --json
steam-web-pp-cli profile show briefing
steam-web-pp-cli profile delete briefing --yes

Explicit flags always win over profile values; profile values win over defaults. agent-context lists all available profiles under available_profiles so introspecting agents discover them at runtime.

Exit Codes

| Code | Meaning |

|------|---------|

| 0 | Success |

| 2 | Usage error (wrong arguments) |

| 3 | Resource not found |

| 4 | Authentication required |

| 5 | API error (upstream issue) |

| 7 | Rate limited (wait and retry) |

| 10 | Config error |

Argument Parsing

Parse $ARGUMENTS:

  1. Empty, help, or --help → show steam-web-pp-cli --help output
  2. Starts with install → ends with mcp → MCP installation; otherwise → see Prerequisites above
  3. Anything else → Direct Use (execute as CLI command with --agent)

MCP Server Installation

  1. Install the MCP server:

```bash

go install github.com/mvanhorn/printing-press-library/library/other/steam-web/cmd/steam-web-pp-mcp@latest

```

  1. Register with Claude Code:

```bash

claude mcp add steam-web-pp-mcp -- steam-web-pp-mcp

```

  1. Verify: claude mcp list

Direct Use

  1. Check if installed: which steam-web-pp-cli

If not found, offer to install (see Prerequisites at the top of this skill).

  1. Match the user query to the best command from the Unique Capabilities and Command Reference above.
  2. Execute with the --agent flag:

```bash

steam-web-pp-cli <command> [subcommand] [args] --agent

```

  1. If ambiguous, drill into subcommand help: steam-web-pp-cli <command> --help.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.