PEERLESS
All learning guides
PEERLESS / FOR AGENTS

Publish to Peerless with a coding agent

A downloadable skill for Claude Code, Cursor and Codex that only uses Peerless SDK features that actually exist, plus CLI-style steps to prepare a listing draft.

OpenGame ships skills an agent can install with a CLI. Peerless does not have a peerless deploy command today. What we can offer is a skill file you can drop into Claude Code, Cursor or Codex, plus a checklist that prepares a listing draft for Creator Studio. The skill only mentions SDK methods that exist in the public typings (peerless-sdk.d.ts).

Install the skill

Download SKILL.md and AGENTS.md. Copy SKILL.md into your agent's skills folder (for example .cursor/skills/publish-to-peerless/SKILL.md or the equivalent Claude Code / Codex skills directory). Keep AGENTS.md in the game repo root if you want every agent that opens the repo to see the same instructions.

CLI-style checks before you submit

Run these in the build folder. They are ordinary shell checks, not a Peerless CLI.

``bash # In the folder you will zip (index.html must be at the root) test -f index.html || { echo 'missing index.html at the root'; exit 1; } python3 - <<'PY' import os files=0; size=0 for r,ds,fs in os.walk('.'): if '.git' in r.split(os.sep): continue for f in fs: p=os.path.join(r,f); files+=1; size+=os.path.getsize(p) print(f'files={files} expanded_bytes={size}') if files>5000: raise SystemExit('over 5,000 files') if size>500*1024*1024: raise SystemExit('over 500 MB expanded') PY # Then zip the folder and confirm the archive is <= 100 MB # zip -r ../game.zip . && ls -l ../game.zip ``

SDK features that actually exist

The optional SDK is loaded from your listing and typed in [peerless-sdk.d.ts](/peerless-sdk.d.ts). You can call `Peerless.init()`, `Peerless.ui.open(...)` for menu, party, friends, chat, profile, settings, leaderboards and achievements, `Peerless.social.*`, `Peerless.leaderboards.submit` / `list`, `Peerless.achievements.list` / `unlock` / `setProgress`, `Peerless.analytics.gameplayReady` / `roundCompleted`, `Peerless.sessions.listen` (and related session helpers), and a relay via `Peerless.join` / `send` / `leave`. Standalone mode is supported so the game still runs outside Peerless.

Do not tell a creator that Peerless has OG Radio, an OG avatar, a packaging CLI, or automatic 4 GB hosting. Those are OpenGame features, not ours.

Prepare a listing draft

There is no public API in this skill that publishes a game without the creator. Collect title, pitch, description, genres, cover, hero, screenshots, the ZIP or HTTPS play URL, and a plain-language AI disclosure. Then the creator opens [Creator Studio](/creator) and submits. The agent should not invent an email address, a price, or a feature the SDK does not have.

TEST YOUR WORK

Before you move on

  • Confirm index.html is at the zip root.
  • Stay inside documented upload limits.
  • Only wire SDK methods that exist in peerless-sdk.d.ts.
  • Leave the final submit to the creator.

Official references

Use these for current platform requirements and a deeper technical reference.

KEEP MAKINGPublish a browser game on Peerless: export, test, and submitConnect your game to Peerless friends and partiesHow to list a single-HTML-file browser game