Skills

Preview My Work

Boot, reopen, update, or reset OpenWork PR previews.

Install

npx skills add different-ai/openwork --skill preview-my-work -g -a claude-code -y
Repository
different-ai/openwork24.4k
Category
Testing
Updated
3d ago
License
See repository
Context cost
Mediumabout 3,000 tokens
Runs scripts
Yes, review before use

What it does

Boot, reopen, update, or reset OpenWork PR previews. Discover script worlds; choose preview-desktop (app only), preview-den (Den only), preview-full (Den plus desktop), or preview-app-web locally, on a private Daytona URL, or on Freestyle for hands-on testing.

Preview my work

Use the repository's world lifecycle. These are disposable test environments, not production or a user's installed desktop profile. Do not touch another world or an existing test sandbox. Run from the requested worktree.

Agent quick path

Three calls take you from intent to a running preview; each prints what the next one needs.

  1. pnpm world help <world> --json: each target's seeds and sources, what an omitted --source means, the login or key each placement needs with its fix, and ready-to-run commands by intent. Remote desktop and Den previews default to the current origin/dev commit (the source the alpha channel is built from), so "the latest alpha" needs no --source there; the per-target defaultSource shows where a source is required instead. pnpm world help --json lists every world with a one-line summary.
  2. pnpm world plan <world> --place <place> --stage <stage>: checks those requirements without creating anything and exits 1 with the fix while one is unmet. pnpm world outputs <world> --stage <stage> --json answers {"exists": false} when there is nothing to reopen.
  3. pnpm world up ... from an example. It checks the requirements again before any side effect and prints the exact command to rerun.

A refused --seed names the worlds and placements that offer it.

Credentials, scoped to one command

Load keys only inside a command substitution on the one command that needs them, from the repo root; never print a value.

Read the whole SKILL.md on GitHub

More in Testing