Agent skill · creative production · kochetkov-ma

publish

Publish text/markdown/file/site to brewpage.app, returns URL. Triggers: publish, share link, brewpage, опубликуй.

Why this skill is useful

Adds an executable script for publishing content to brewpage.app with specific API interactions and user prompts.

What it needs

Requires bash installed locally. About 9k tokens when loaded. Last updated 2026-08-06. 29 stars on the source repository.

What this skill does

brewdoc:publish Publish content to brewpage.app — free instant hosting for HTML pages, JSON documents, files, and multi-file sites. No sign-up required. Prompt contract Position 1 of $ARGUMENTS is a free-form prompt (RU/EN) — the content (text, file/dir/zip path), --ttl and --entry are optional and may follow in any order. Nobody types keys: resolve WHAT to publish FROM the prompt. 1. Strip --ttl N and --entry <filename> flags. 2. Extract the content to publish (rule 3 below) — this doubles as the content-type detection in Step 2, scored by the keyword table there. 3. Prose resolution (mandatory): a sentence naming a file/dir resolves to that file/dir (e.g. "publish my report.md" -> contentarg = report.md, resolved against cwd); a sentence with no path and no inline text/JSON has nothing to publish -> ONE AskUserQuestion asking what to publish. Never guess, never silently fall back to an empty HTML page. 4. Outcome-changing ambiguity (namespace, password) -> the two dedicated AskUserQuestion calls in Steps 4-5; nothing else asks. Then print this block ONCE, before Step 6 (the publish call): Labels are literal; values follow the conversation language. Workflow Step 1: Parse Arguments Extract from $ARGUMENTS: --ttl N → TTL in days (default: 15) --entry <filename> → entry file for SITE uploads (default: auto-detect) Remaining text → contentarg — extract per the prose-resolution rule above; not resolvable -> AskUserQuestion Step 2: Detect Content Type Input Type API EN keywords RU keywords Mutates? ------- ------ ----- -------------- -------------- ---------- contentarg is a directory (test -d) SITE POST /api/sites (ZIP created from dir) publish site, publish folder/directory опубликуй сайт, опубликуй папку yes contentarg ends with .zip AND file exists (test -f) SITE POST /api/sites (archive upload) publish zip, publish archive опубликуй архив, опубликуй zip yes contentarg is a .md/.markdown file AND exists (test -f) MARKDOWN POST /api/html (format=markdown, content rea …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills kochetkov-ma/publish

View the source on GitHub

Browse the @skills marketplace