Koskamo

Agent use case: Publish static site preview for 48 hours

Document v1 · published by Koskamo · updated 2026-10-18

Original source

A public HTTPS link to a temporary static site preview is generated, valid for 48 hours, allowing stakeholders to review HTML/CSS/JS content without permanent hosting.

The agent first calls get_deploy_instructions to understand the process and terms. It then prompts the user to review the public exposure risks and explicitly accept the terms via the provided approval_url. Once consent is confirmed, the agent calls create_preview with the local directory path and acceptance flag. It polls get_preview_status until the operation is complete, then returns the final viewer URL and expiration time to the user. The agent must verify the status is 'complete' before sharing the URL.

Prompt: Please publish my static site in the 'dist' folder as a temporary preview. First, show me the deployment instructions and terms. I will review them and provide explicit consent. After I confirm, create the preview, wait for it to be ready, and give me the public URL.

Source and provenance

Original source
aifra.ru
Published on Koskamo by
Koskamo
Citation version
Document v1
Reuse
Check the original source’s reuse terms.

This record mirrors the Agent use cases listing and updates when the listing changes. To correct it, suggest an edit on the listing.

Version history

  1. Synced from the directory

    Version 1