auto-domain

当用户说"启动项目"、"给项目一个公网域名"、"start tunnel"、"expose my project"、 "让项目可以公网访问"、"start my project with a public URL" 时自动触发。 无需用户做任何操作:自动检测项目目录和端口,修复环境,启动 tunnel, 直接返回公网域名 URL。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "auto-domain" with this command: npx skills add changfenghu/auto-domain

Auto Domain

一句话触发,全自动执行,直接给出公网 URL。用户无需手动配置。

Agent 执行步骤(全自动)

用户说:启动我的项目,给我一个公网域名
         ↓
1. 确认项目目录(pwd 或用户指定目录)
2. 运行 scripts/auto_start.sh [project_dir] [port]
         ↓
   auto_start.sh 自动完成:
   ├─ 检测端口(从 package.json / 框架类型自动判断)
   ├─ 安装/更新 project-tunnel.sh 到项目目录
   ├─ 检测环境(python3/python, curl, node, npm, lsof)
   ├─ 自动安装缺失工具(brew / apt / yum)
   └─ 启动 tunnel
         ↓
3. 从输出提取 public_url
4. 直接返回用户公网地址

调用方式

# 当前目录,自动检测端口
scripts/auto_start.sh

# 指定目录和端口
scripts/auto_start.sh /Users/huchangfeng/todo-katong 4545

输出中重点字段:public_url

触发关键词示例

  • "启动我的项目"
  • "给我的项目一个公网域名"
  • "让外网能访问我的项目"
  • "start tunnel for my project"
  • "expose port 3000 to the internet"
  • "给我一个公网 URL"
  • "start my project with a public URL"

环境问题处理

scripts/check_env.sh          # 查看缺少哪些工具
scripts/fix_env.sh python3    # 修复指定工具
scripts/auto_start.sh         # 重试

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Workout Readiness Check In

Create a same-day workout readiness decision card for users who planned to exercise today but feel tired, sore, stressed, underslept, ill, or uncertain. Use...

Registry SourceRecently Updated
General

URL to Markdown

Convert HTML web pages from HTTP/HTTPS URLs to clean, readable Markdown files with optional batch processing and formatting features.

Registry SourceRecently Updated
General

Appliance Manual Command Card

Assist in creating a one-page appliance command card for tracking maintenance, troubleshooting, warranty info, and repair preparation.

Registry SourceRecently Updated
General

Fireseed Writing Expert

全能小说写作专家,支持从零创作、DNA提取与克隆、风格仿写、一键发布到 fireseed.online。用户可以用自然语言描述需求,系统自动调度子技能完成科学、闭环的写作与发布流程。

Registry SourceRecently Updated