Puter Deployer
by @logclinker
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...
clawhub install puter-deployerπ About This Skill
name: puter-deployer description: 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/site, create a new Puter app from a build directory, troubleshoot failed Puter deployment, or prepare rollback. Trigger on phrases like "deploy to Puter", "publish Puter app", "update Puter site", "Puter deployment failed", or "rollback Puter deploy".
Puter Deployer
Use a strict flow: preflight β build/stage β deploy path selection β verify β rollback note.
1) Preflight (always)
Run:
bash skills/puter-deployer/scripts/preflight.sh
This checks:
puter CLI existsputer whoami worksindex.html existsIf 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):
- puter app:create
2. Update/publish build content:
- Use Puter API fallback guidance in references/api-fallback.md.
- 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 skills/puter-deployer/scripts/verify_url.sh [expected_snippet]
Require:
If verification fails, mark deployment unsuccessful.
4) Rollback note (always)
Return these fields in final report:
Use scripts/deploy_report_template.md as output skeleton.
Guardrails
References
references/deploy-checklist.md β end-to-end checklistreferences/api-fallback.md β API-first fallback logic when CLI is insufficientreferences/failure-playbook.md β common failure signatures + fixes