Publish self-contained HTML artifacts (plans, layouts, mockups, idea boards, dashboards) to a self-hosted Cloudflare Worker via the dkraft-publish CLI, returning a live shareable URL.
Ships in freeflow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Publish a self-contained HTML file to your self-hosted FreeFlow edge Worker via dkraft-publish and return the live URL.
GitHub repository: https://github.com/dkritarth/FreeFlow
Verify you have access to a deployed FreeFlow Worker.
If DK_PUBLISH_URL is unset, see the setup guide in FreeFlow README. Deploy the Worker first before using this publish flow.
A publishable draft is a single .html file with all CSS and JS either inline or loaded from a CDN. FreeFlow serves raw HTML directly from Workers KV without a build step or relative local asset directory.
references/template-patterns.md for standard layout components (sticky table of contents, status badges, progress meters, and collapsible details)..html file exists on disk and contains no broken relative asset paths.The shell running the CLI requires two environment variables:
DK_PUBLISH_KEY: the Worker API bearer token (SECRET_API_KEY).DK_PUBLISH_URL: the Worker endpoint, for example https://freeflow.<account>.workers.dev.Check presence before running:
test -n "$DK_PUBLISH_KEY" && test -n "$DK_PUBLISH_URL" && echo "Credentials configured"
If either variable is missing, stop and prompt the user to set them. Never log or echo the actual secret key.
Run the publisher CLI via npx:
npx freeflow-dkraft-publisher path/to/file.html
Or invoke global installation if present:
dkraft-publish path/to/file.html
To gate access behind a numeric PIN code, add --secure <pin>:
npx freeflow-dkraft-publisher path/to/file.html --secure 1234
Completion check: the CLI exits 0 and prints the live URL (https://<domain>/d/<id>). Return this URL directly to the user.
If the upload fails, check references/troubleshooting.md to match the exact error string and apply its fix.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/freeflow:freeflow-publishfrom freeflow
npx claudepluginhub dkritarth/skills-personal --plugin freeflow