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.
npx skills add portals-labs/portals-plugin-claude --skill portals-web-gamesgit clone --depth 1 https://github.com/portals-labs/portals-plugin-claudeWrote 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.
[](https://agentmods.dev/skills/portals-labs/portals-plugin-claude/portals-web-games)<a href="https://agentmods.dev/skills/portals-labs/portals-plugin-claude/portals-web-games"><img src="https://agentmods.dev/badge/skills/portals-labs/portals-plugin-claude/portals-web-games/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.
<a href="https://agentmods.dev/skills/portals-labs/portals-plugin-claude/portals-web-games"><img src="https://agentmods.dev/badge/skills/portals-labs/portals-plugin-claude/portals-web-games.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00110 | $0.02432 |
| Opus 5 | $0.00055 | $0.01216 |
| Sonnet 5 | $0.00022 | $0.00486 |
| Haiku 4.5 | $0.00011 | $0.00243 |
Grade A, and why
portals-web-games 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.
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.
How it starts
The opening of the file, as written. The whole thing — 105 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Portals Web Games
Use the portals-web-games MCP tools for remote Portals state and ordinary workspace tools for local source files.
Load the platform rules
Before creating or changing a game, read references/portals-web-games.md completely. Treat it as authoritative for the injected SDK, host-owned UI reserve, Coin products, sandbox restrictions, multiplayer and voice limits, Guardian avatar integration, local development, and generated-asset rules. Those instructions are bundled from this MCP project's src/instructions.ts.
For the full official documentation on one subsystem, use the dedicated skill instead of guessing at the API:
portals-sdk— identity, saved progress, casual scores, leaderboards, host context.portals-multiplayer-and-voice—Portals.netsessions and channels, text chat,Portals.voice, dev-token local testing.portals-server-scripts— a rootserver.jsreferee for lobbies, ready checks, authoritative countdowns, and kicking.portals-server-sim— running the game simulation itself on the server: shared physics, snapshots, client prediction, and fallback to host authority.portals-guardian-avatars— Guardian avatars, wearables, animation, and the character controller in Three.js.portals-game-economy— selling in-game products for Coins: the product catalog,Portals.economypurchases, and the purchase sandbox.
Choose the workflow
Existing game
- Call
list_web_gamesto resolve the game and confirm its current state. - Pull with
pull_web_game_sourcebefore editing unless the user explicitly wants to replace the remote source. - Use a dedicated game directory. A pull overwrites matching project files, so never target an unrelated repository root or a directory whose ownership is unclear.
- Preserve the returned
revisionand pass it asexpectedRevisiontopush_web_game_source. If the server reportsPROJECT_CHANGED, stop and reconcile instead of overwriting newer edits. - Inspect and test the local build, then push the directory containing
index.htmlat its root. Pass the optionaltagwhen the user named a label for the push.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 12d ago First seen · 105 lines · 110 tokens per session scan A eb192eb8ddea
portals-web-games is a skill published in the GitHub repository portals-labs/portals-plugin-claude (4 stars, last pushed 3d ago), licensed ISC. It adds 110 tokens to every session and 2,432 once invoked, about $0.0006 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-31.
Other skills, from other repositories
browser-a2d9b0b0
A browser gamepad skill for detecting connected controllers and reading their buttons and analogue sticks.
multiplatform-conversion
Converting a single-target FlatRedBall2 desktop sample into a dual-target desktop + KNI BlazorGL (Blazor WebAssembly / browser) project. Use when the user mentions web deployment, browser/WASM/itch.io targets, KNI, or asks to add web support to an existing game. Assumes you already have a working desktop sample — see…
3d-browser-game
Build a 3D Three.js browser game through research, playable core gates, Blender production, and evidence-bound acceptance.
bg3-steam-launcher
Launch Baldur's Gate 3 through Steam on macOS and load saved games using macos-automator and peekaboo MCP servers. Designed for testing bg3se-macos (Script Extender) development. Use when: (1) launching BG3 from Steam, (2) loading a BG3 saved game, (3) testing SE mod injection, (4) user asks to "start BG3", "load my…
agent-casino-gambling
Interact with MoltCasino - a 3D Vegas-style casino built for AI agents.
browser-fps
Build a one-room first-person browser game from a brief - engine evidence, a design brief, checkpointed waves, and a playable probe.