一键导入
public-share
Publish files from the runtime to the public share directory and return direct public URLs.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Publish files from the runtime to the public share directory and return direct public URLs.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Work with Cohub spaces, chats, files, saves, labels, search, tasks, scheduled prompts, and cross-space run.
Generate or transform images, video, and music with Cohub multimodal models via `cohub generate`. Use when the user asks to create, edit, restyle, animate, or remove backgrounds from media, or generate songs.
Publish files, directory sites, or sandbox ports as public Cohub Works and return shareable Work URLs.
| name | public-share |
| description | Publish files from the runtime to the public share directory and return direct public URLs. |
Use this skill when a user wants a file or static page to be publicly accessible by link.
Public files live under:
/publicPublic base URL is provided by:
PUBLIC_URL_PREFIXExamples:
/public/demo/index.html -> ${PUBLIC_URL_PREFIX}/demo/index.html/public/reports/demo/report.html -> ${PUBLIC_URL_PREFIX}/reports/demo/report.html/public if they are meant to be public./public./public, not directly into /public root.demo/, reports/<name>/, exports/<name>/.index.html), never just a folder path../app.js or ./assets/chart.png.Treat /public as a publish target, not a working directory.
/public./public./public in one go.This keeps the public area clean and reduces noisy file operations on the mounted share.
/public when possible./public.PUBLIC_URL_PREFIX plus the relative path under /public.Single page site:
/public/demo/index.html${PUBLIC_URL_PREFIX}/demo/index.htmlNested demo:
/public/demos/todo/index.html${PUBLIC_URL_PREFIX}/demos/todo/index.htmlRaw artifact:
/public/data/output/result.json${PUBLIC_URL_PREFIX}/data/output/result.jsonCheck that:
/public/public root/public