Skip to main content

file-share

Share files (HTML, images, etc.) with users by writing to the workspace and providing a download link via the built-in file server.

跳到安装

来源信息

仓库
blas1n/openclaw-docker
最近来源活动
2026年2月10日 13:02
检测到的 SKILL.md 语言
英语
星标
0
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
file-share
description
Share files (HTML, images, etc.) with users by writing to the workspace and providing a download link via the built-in file server.
metadata
{"openclaw":{"emoji":"🔗"}}
# File Share ## Overview A static file server runs alongside OpenClaw, serving everything under the workspace directory. Write a file to the workspace, then share its URL — the user can open it in any browser on the Tailnet. ## Base URL ``` http://100.112.147.39:8080/ ``` Any file written to the workspace root is served at `http://100.112.147.39:8080/<filename>`. ## How to use 1. Write the file to the workspace root using the `write` tool with a **relative path** (just the filename). 2. Reply with the URL so the user can open it. ### Example: HTML report ``` write path: report-20260210.html ``` Then reply: > Here is the report: http://100.112.147.39:8080/report-20260210.html ### Example: Generated image or PDF Same pattern — write the file with a relative filename, share the link. **Important:** Always use relative paths (e.g., `report.html`) — never absolute paths like `/home/node/...`. ## Guidelines - Use descriptive filenames with dates to avoid collisions (e.g., `ai-news-20260210.html`). - For HTML, include inline CSS so it renders well standalone. - The file server is read-only from the network; only the agent can write files. - Links are accessible only within the Tailnet (private network). - For large results, tables, or formatted content, **prefer HTML over plain text** when the user asks for rich output.
在 GitHub 查看