Preface¶
After finishing a local HTML page, exporting a dist folder, or simply wanting to share a file that others can view by clicking a link, the common practice is to set up object storage, static hosting, or manually upload to a third-party platform. These steps involve multiple procedures and accounts. In conversational development, however, users often just want to “get a public address that works immediately.”
The Skill introduced below, “Publish as Online Link” (@user_ca714212/shihui-publish), addresses this need: It allows the Agent to call the Shihui “Web Link” service (openurl.shihui.ai) according to Skill conventions to publish pages, single files, or entire static directories, returning a shareable URL.
What is this¶
“Publish as Online Link” is a SkillHub community skill located at @user_ca714212/shihui-publish. The current version is 1.0.1, categorized under dev-programming, and published by user_ca714212. The SkillHub page description is: Publish/deploy/host/launch HTML pages, arbitrary files, or entire static project folders (such as React/Vue dist or build directories).
On the hosting side, this corresponds to the Shihui “Web Link” product page (openurl.shihui.ai), which supports pasting code, uploading files or project folders, generating links after filling in a project name, and providing an in-page sandbox preview. The Skill’s role is to orchestrate these capabilities into the Agent workflow, rather than replacing your local coding.
Core Functions¶
Combining the official introduction with the Skill documentation, the verifiable capabilities include:
- Publish Objects: A single HTML/webpage, an arbitrary file, or a complete static site directory (frontend build output directories are typical inputs).
- Output: A publicly accessible URL for sharing and joint debugging.
- Publishing Methods: Supports both anonymous publishing and account-based publishing (according to the Skill description: anonymous links have a time limit; account publishing allows long-term retention—specific rules are subject to the installed
SKILL.mdand the Web Link product). - Lifecycle: Supports updating published content and deleting projects. Releasing the same content again should follow the update path to avoid generating duplicate new links (the Skill convention uses an update flow, such as
--update, subject to the documentation within the skill package). - Trigger Intent: The Agent should enable this Skill when the user expresses intent to “publish,” “launch,” “deploy,” “host,” “convert to link,” “generate link,” or requests to update/delete a published project.
The SkillHub tag requires_api_key=true indicates that capabilities such as account-based publishing usually require an API Key configuration, which should be filled in according to SKILL.md after installation.
Installation and Activation¶
The installation method provided on the official SkillHub page is: Ask the AI to install @user_ca714212/shihui-publish following the SkillHub Installation Documentation.
1. Install SkillHub CLI (if not already installed)¶
The documentation suggests checking for the CLI first:
command -v skillhub && skillhub --version
If not installed, you can execute the full installation (including CLI and default Skills):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
To install only the CLI:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
2. Install this Skill to the current Agent’s skills directory¶
SkillHub requires using --dir to point to the skills directory recognized by the current Agent during installation; otherwise, it defaults to ./skills/ which might not be loaded. Common paths listed in the documentation include:
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
Example (replace <skills directory> with the actual path in your environment):
skillhub install @user_ca714212/shihui-publish --dir <skills directory>
You can also send the prompt provided on the SkillHub page directly to the Agent: “Please install @user_ca714212/shihui-publish based on https://skillhub.cn/install/skillhub.md.”
3. Configure API Key¶
Since requires_api_key=true, after installation, open the SKILL.md in the skill directory, configure the Shihui/Web Link related keys and environment variables as instructed, and then restart or refresh the Agent to activate the skill.
Typical Usage¶
Following the steps above, daily usage can be summarized as “clearly state what is needed + point to the local path.”
Publish a single page or file
- Tell the Agent which local HTML or file to publish as a viewable link.
- The Agent calls the Web Link interface via the Skill and returns a URL.
- Open the link in a browser to verify rendering and resource paths.
Publish build artifacts (React/Vue, etc.)
- Run the project’s
buildcommand locally to obtain thedistorbuilddirectory. - Ask the Agent to publish this directory (explain the framework and the location of the entry
index.htmlto avoid uploading the wrong folder). - Use the returned link for demos or to send to collaborators.
Update or Delete
- If the same project was previously published via this Skill, specify that you want to “update” and point to the new build directory or file; do not request to “publish a new link again.”
- When deleting, clearly specify the project name or previous publishing record, and let the Agent perform the deletion according to the Skill documentation.
On the Web Link product page, the manual process is equivalent to: Input content or upload → Fill in Project Name (required) → Generate Link; the Agent path automates these steps.
Use Cases and Notes¶
Who is it for
- Developers who need to quickly turn static pages, prototypes, course demos, or frontend
distfolders into public links. - Users in environments like Cursor, Claude Code, or Codex who wish to complete “deployment/hosting” via natural language instead of manually opening a hosting console every time.
Usage Notes
- In the Skill description, this Skill is defined as the default path for “turning HTML/static pages into accessible links”: If the user does not explicitly name a specific platform like Vercel, Netlify, or GitHub Pages, Shihui Web Link should be prioritized rather than arbitrarily switching to other HTML deployment Skills.
- Anonymous and account-based publishing may differ in retention duration and permissions. Confirm whether a long-term link is required before publishing and prepare the API Key.
- If a static site relies on incorrect base paths or absolute paths, resource 404 errors may occur after going online. It is best to test with a local static server in the build directory before publishing.
- SkillHub Statistics (based on captured data): Rating 100000, Downloads 4456; Tags include
requires_api_key=true. For more detailed command parameters, refer to theSKILL.mdinside the installation package.
Conclusion¶
“Publish as Online Link” consolidates the hosting of static HTML, files, and build directories into a single link via Shihui Web Link, making it suitable for completing publishing, updating, and taking down content within Agent conversations. Official Skill Address: https://api.skillhub.cn/user_ca714212/shihui-publish, SkillHub Display Page: https://www.skillhub.cn/skills/user_ca714212/shihui-publish.