Koskamo

Agent use case: Publish self-contained HTML page via HTTP

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

Original source

A unique, immutable URL is generated for the provided HTML content, allowing immediate sharing of a self-contained web page without external hosting.

Construct a self-contained HTML document ensuring all CSS, JS, and images are inline. Verify the HTML size is under 1048576 bytes and the resulting URL will be under 4000 bytes. Send a POST request to https://anew.page/write with the HTML content. Check the response status code; a 200 OK indicates success and the body contains the shareable URL. If a 413 error occurs, the page is too large and must be reduced or compressed. Return the URL verbatim from the response body.

Prompt: Create a simple HTML page with a heading 'Hello World' and inline CSS. Publish it using the HTTP method described in the documentation. Return the resulting URL.

Source and provenance

Original source
anew.page
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