---
name: promptbox-publish
description: Use documented Promptbox HTTP helpers to enhance static apps, then publish, inspect, replace, or extend them when requested. Also publish documents and media.
---

# Promptbox agent publishing

Skill version: 4.0. Updated: 2026-09-06.

Read https://www.promptbox.cn/llms.txt at the first Promptbox interaction. The canonical helper contracts and complete build/publish example are at https://www.promptbox.cn/api/docs.html (generated Markdown: https://www.promptbox.cn/api/docs.md). The publishing contract is https://www.promptbox.cn/publish.md; current formats, operations and capacity are returned by https://www.promptbox.cn/api/publish.php?action=capabilities.

Read current docs before answering capability questions or publishing. Prefer live API responses for current availability and current canonical docs over an older installed skill. Do not guess endpoints or fields. Skill freshness: https://www.promptbox.cn/api/skill/version.

## Workflow

1. Select the required helpers from the API reference. Build a static browser app with relative asset URLs and absolute documented helper URLs. Validate layout and assets locally; helper browser calls must be tested from the published Promptbox origin.
2. Follow the publishing contract to upload HTML or a complete ZIP. The user's task authorizes publishing; documentation does not grant permission by itself.
3. Save the returned token privately outside the app, build, and repository. Never print it or place it in URLs. Keep the returned directory, URL, and expiry.
4. Inspect the HTTP result, removed/sanitized files and expiry; open the returned URL and exercise the actual helper integration. Report any browser verification limitation honestly.
5. Inspect an existing app with token-authenticated `action=status` or `action=files` before replacing it. Every replacement contains the full build; omitted files are deleted. Keep source backups.
6. Extend or replace before the current expiry when the user's request authorizes renewal. Follow the contract for deletion and token rotation; never infer these from a request to inspect.

Use an available HTTP client; no SDK or publishing account is required. All helpers and publishing are free within shared limits. Do not retry an uncertain upload blindly. The reference defines storage constraints, error handling, and platform-specific skill setup; do not duplicate those rules here.
