@playdrop/playdrop-cli
v0.9.6
Published
Official Playdrop CLI for publishing browser games, creator apps, and AI-generated game assets on playdrop.ai
Maintainers
Readme
@playdrop/playdrop-cli
Official Playdrop CLI for the live Playdrop platform.
Use it to browse live examples, create or remix projects, publish browser games and creator apps, and work with AI-generated game assets on Playdrop.
For AI coding workflows, pair the CLI with the public Playdrop plugin. The plugin is the preferred public setup and contains many specialist Playdrop skills for Codex, Claude Code, and Cursor.
Install
npm install -g @playdrop/playdrop-cliQuick Start
playdrop auth login
playdrop auth whoami --env dev
playdrop project init .
playdrop project create app my-first-game --template playdrop/template/typescript_template
playdrop project dev my-first-game
playdrop project publish --env dev .What You Can Do
- Browse the live Playdrop catalogue of apps, assets, and packs
- Inspect real references before building or remixing
- Create, remix, validate, and publish Playdrop projects
- Manage comments, versions, credits, notifications, and creations
- Read the public Playdrop docs directly from the CLI
Links
- Website: playdrop.ai
- Getting started: playdrop.ai/getting-started
- Plugin docs: playdrop.ai/docs/plugin
- CLI docs: playdrop.ai/docs/cli
- Runtime docs: playdrop.ai/docs/runtime
- Templates and demos: playdrop.ai/docs/examples#templates-and-demos
- Canonical public plugin repo: github.com/playdrop-ai/playdrop-plugin
- Legacy public skill compatibility: skills.sh/playdrop-ai/playdrop-skills/playdrop
Live Examples
Main Commands
playdrop doctor
playdrop clients status
playdrop agents status
playdrop workspaces list
playdrop auth login
playdrop auth whoami --env dev
playdrop browse
playdrop search "city builder"
playdrop detail playdrop/app/hangingout
playdrop comments browse playdrop/app/hangingout
playdrop versions browse playdrop/app/hangingout
playdrop credits balance
playdrop notifications browse
playdrop creations browse
playdrop ai create image "Pixel art hero portrait"
playdrop ai create image "Wide fantasy vista" --ratio 16:9 --size 4K
playdrop project init .
playdrop project create app my-app --template playdrop/template/html_template
playdrop project dev my-app
playdrop project publish --env dev .
playdrop documentation browse
playdrop feedback send --title "Bug report" --comment "Details here."
playdrop getting-startedMachine Setup
playdrop doctor
playdrop clients install
playdrop agents install-plugin codex
playdrop agents install-plugin claude
playdrop workspaces initplaydrop agents install-plugin claude adds the PlayDrop marketplace, installs the PlayDrop plugin through the Claude Code CLI, and tells you to reload plugins.
playdrop agents install-plugin codex configures the PlayDrop plugin marketplace and uses Codex's plugin install command when the local Codex CLI exposes one. If the installed Codex CLI only supports marketplace management, finish activation from Codex with /plugins.
Cursor does not currently expose documented plugin installation through its CLI. playdrop agents install-plugin cursor prints the manual steps instead: open Cursor and use /add-plugin or the Cursor Marketplace for PlayDrop.
Ref Format
Public content refs are always:
<creator>/<kind>/<name>Valid kinds:
appassetasset-pack
Examples:
playdrop/app/hangingoutplaydrop/asset/astroplaydrop/asset-pack/starter-kit
Local Project Flow
playdrop auth login
playdrop auth whoami --env dev
playdrop project init .
playdrop project create app my-app --template playdrop/template/html_template
playdrop project dev my-app
playdrop project publish --env dev .Documentation
playdrop documentation browse
playdrop documentation read runtime