Skip to content

Puter Deployer

Verified

Deploy or update Puter-hosted web apps/sites with a CLI-first, verify-first workflow. Use when user asks to publish to Puter, update an existing Puter app/si...

57 downloads
$ Add to .claude/skills/

About This Skill

# Puter Deployer

Use a strict flow: preflight → build/stage → deploy path selection → verify → rollback note.

1) Preflight (always)

Run:

```bash bash skills/puter-deployer/scripts/preflight.sh <project_dir> <build_dir> ```

  • This checks:
  • `puter` CLI exists
  • `puter whoami` works
  • build directory exists and is non-empty
  • `index.html` exists

If any check fails, stop and report exact fix commands.

2) Deployment path selection

Choose one path explicitly:

  1. Create new Puter app entry (CLI-supported):
  2. - `puter app:create <name> <remoteDir> --description "..." --url "..."`
  3. Update/publish build content:
  4. - Use Puter API fallback guidance in `references/api-fallback.md`.
  5. - If API details are unclear for this host/version, inspect active `puter-cli` source behavior before pushing.

Important: current public `puter-cli` command surface is limited. Do not invent non-existent commands.

3) Verify deployment (always)

Run:

```bash bash skills/puter-deployer/scripts/verify_url.sh <url> [expected_snippet] ```

  • Require:
  • HTTP 200
  • expected snippet present (if provided)

If verification fails, mark deployment unsuccessful.

4) Rollback note (always)

  • Return these fields in final report:
  • source commit
  • previous known-good artifact path
  • previous known-good URL
  • exact rollback command/runbook

Use `scripts/deploy_report_template.md` as output skeleton.

Guardrails

  • Never print auth tokens.
  • Never delete remote app/site without explicit user request.
  • Require explicit confirmation before overwriting production targets.
  • On failure, classify into one bucket:
  • 1) auth/session
  • 2) missing build artifact
  • 3) wrong app/site target
  • 4) platform/API error

References

  • `references/deploy-checklist.md` — end-to-end checklist
  • `references/api-fallback.md` — API-first fallback logic when CLI is insufficient
  • `references/failure-playbook.md` — common failure signatures + fixes

Use Cases

  • Deploy applications to production environments with automated workflows
  • Automate infrastructure operations for reliability and consistency
  • Monitor and maintain server infrastructure with proactive alerting

Pros & Cons

Pros

  • +Clean CLI interface integrates well with automation pipelines and AI agents
  • +Automates infrastructure operations for consistency and reliability
  • +Reduces manual intervention in deployment and maintenance workflows

Cons

  • -Requires specific infrastructure setup and tool dependencies
  • -Configuration errors in infrastructure tools can have production impact

FAQ

What does Puter Deployer do?
Deploy or update Puter-hosted web apps/sites with a CLI-first, verify-first workflow. Use when user asks to publish to Puter, update an existing Puter app/si...
What platforms support Puter Deployer?
Puter Deployer is available on Claude Code, OpenClaw.
What are the use cases for Puter Deployer?
Deploy applications to production environments with automated workflows. Automate infrastructure operations for reliability and consistency. Monitor and maintain server infrastructure with proactive alerting.

100+ free AI tools

Writing, PDF, image, and developer tools — all in your browser.

Next Step

Use the skill detail page to evaluate fit and install steps. For a direct browser workflow, move into a focused tool route instead of staying in broader support surfaces.