一键导入
file-server
Start a local HTTP file server to share files in a directory over the network. Use when the user wants to serve or share files via a browser or HTTP.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Start a local HTTP file server to share files in a directory over the network. Use when the user wants to serve or share files via a browser or HTTP.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Browse, search, and install skills from the CrawHub skill marketplace.
Agent Messaging (ClawMeets). Send, read, list, and delete messages via the ClawMeets agent-to-agent protocol.
Expose a local port to the public internet using ngrok. Use when the user wants a public URL for a locally running web service.
Notion API for creating and managing pages, databases, and blocks.
Create or update MMClaw skills. Use this when the user wants to add new capabilities, automate a specific tool, or define complex multi-step workflows for the agent.
Search the web using a configured search provider. Use when the user explicitly asks to search, look up current information, or needs real-time data such as news, prices, or recent events.
| name | file-server |
| description | Start a local HTTP file server to share files in a directory over the network. Use when the user wants to serve or share files via a browser or HTTP. |
| metadata | {"mmclaw":{"emoji":"📡","os":["linux","darwin","win32"],"requires":{"bins":["python"]}}} |
Use this skill when the user wants to serve files from a local directory over HTTP. Trigger phrases: "file server", "serve files", "share files", "http server", "serve this directory".
Before starting the server, you MUST run the file-server-guard skill first.
Read and execute file-server-guard using file_read on its skill path, then run the guard scan. Only proceed to start the server after the user has reviewed the guard output and confirmed it is safe to continue.
Do NOT skip this step, even if the user seems in a hurry.
Read the file-server-guard skill and run the scan on the target directory before doing anything else.
After guard confirmation, start the server in the background using shell_async. Do NOT append &.
python -m http.server <PORT> --directory <DIRECTORY>
Replace <PORT> with the user's requested port (default: 8000) and <DIRECTORY> with the target directory (default: current directory).
Tell the user:
http://localhost:<PORT>http://<local-ip>:<PORT> (get local IP via hostname -I or ipconfig)To stop the server, kill the background Python process:
pkill -f "http.server <PORT>"
~, ~/Documents, or any directory the guard flagged