📦 one line HTTP static server — 一键静态文件服务器

v2026.3.10

在当前或指定目录用一行命令启动本地 HTTP 静态文件服务器,支持 25+ 语言与工具自动检测,零配置即可浏览目录与文件。

0· 246·1 当前·1 累计
flowerwrong 头像by @flowerwrong (浮生)
下载技能包
最后更新
2026/3/12
0
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
high confidence
This is an instruction-only skill that coherently provides one-line commands to start local static HTTP servers; its requirements and instructions match the stated purpose.
评估建议
This skill is an instruction-only guide for starting local static servers and appears internally consistent. Before running any suggested command, confirm the port and directory. Be aware that several recommended one-liners will fetch or execute code from remote package registries or start containers (e.g., npx, go run, deno run, pip/cargo installs, docker run) — only run those if you trust the upstream packages. Also note bind addresses like 0.0.0.0 expose the server to your LAN; use 127.0.0.1 ...
详细分析 ▾
用途与能力
The name/description (one-line HTTP static server) matches the content: SKILL.md and references provide one-liner commands across many runtimes. No unrelated credentials, binaries, or install steps are requested.
指令范围
The runtime instructions are focused on detecting available runtimes, choosing an option (default Python 3), and returning an exact one-liner. They do recommend commands that change networking exposure (binding to 0.0.0.0) and use package managers/remote registries (npx, go run, deno run, pip, cargo, etc.) and Docker mounts; these are expected for the task but are worth calling out because they can fetch/execute remote code or expose files to containers or the LAN.
安装机制
Instruction-only skill with no install spec and no code files. The skill itself does not write or install anything. It does suggest developer tooling commands that, when executed by a user/agent, may install or run packages from registries — that is appropriate for this utility but not performed by the skill itself.
凭证需求
The skill requests no environment variables or credentials. It only asks the agent to detect available runtimes (e.g., `python3 --version`) and confirm port/directory, which is proportionate to its purpose.
持久化与权限
always is false and there are no install hooks or modifications to other skills or system config. Autonomous invocation is allowed (default) but this is normal for skills; no elevated persistence is requested.
安全有层次,运行前请审查代码。

运行时依赖

无特殊依赖

版本

latestv2026.3.102026/3/12

- Initial release of http-static-server skill. - Instantly start a local HTTP static file server in the current directory with one-line commands for 25+ languages and tools. - Auto-detects installed runtimes and recommends the best option (Python, Node, Deno, PHP, Go, Rust, etc.). - Includes a detailed quick reference table, decision guide, and common options (custom port, CORS, HTTPS, upload/auth). - Links to per-language reference docs for usage details, install instructions, and advanced features.

无害

安装命令

点击复制
官方npx clawhub@latest install http-static-server
镜像加速npx clawhub@latest install http-static-server --registry https://cn.longxiaskill.com
数据来源ClawHub ↗ · 中文优化:龙虾技能库