Auto Domain for Openclaw

An automated tunneling skill that detects project settings and generates a public URL for local development environments.

changfenghu
v1.0.0
Mar 4, 2026
0
659
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install auto-domain

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install auto-domain using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Auto Domain?

Auto Domain is a powerful automation utility designed for Openclaw Skills that eliminates the manual overhead of setting up reverse tunnels. When a developer needs to share a local project or test webhooks, this skill takes over by automatically identifying the project directory, detecting the active port from configuration files like package.json, and resolving environment dependencies.

By streamlining the transition from localhost to a public-facing URL, Auto Domain ensures that developers can focus on coding rather than networking infrastructure. It handles everything from installing missing system tools via brew, apt, or yum to launching the tunnel process and extracting the final public endpoint for immediate use.

Auto Domain Use Cases

  • Sharing a local web application with a client or teammate for immediate feedback.
  • Testing webhooks from third-party services like Stripe or GitHub on a local machine.
  • Quickly exposing a frontend framework project (React, Vue, Next.js) to the public internet.
  • Demonstrating live project progress without deploying to a staging server.

How Auto Domain Works

  1. The user triggers the skill using natural language commands like "start my project with a public URL".
  2. The skill identifies the project directory using the current working directory or user specification.
  3. It executes the auto_start.sh script which automatically detects the application port based on the framework or package.json.
  4. The system performs an environment check for dependencies like Python3, Node.js, and lsof, installing them if necessary.
  5. A tunnel is established and the skill parses the output to extract the public_url.
  6. The final public URL is returned directly to the user.

Auto Domain Setup

To integrate this capability into your Openclaw Skills workflow, ensure your project directory is accessible to the agent. You can manually run the environment checks or let the skill handle it automatically during the first run.

# Check for missing environment tools
scripts/check_env.sh

# Manually fix a specific environment dependency if needed
scripts/fix_env.sh python3

# Start the tunnel manually for a specific directory and port
scripts/auto_start.sh /path/to/project 8080

Auto Domain Data Schema & Taxonomy

The Auto Domain skill manages its lifecycle through specific shell scripts and temporary configuration mappings.

File/Component Description
auto_start.sh The primary execution engine for port detection and tunnel initiation.
project-tunnel.sh A localized script installed into the project directory to manage the connection.
check_env.sh Diagnostic tool for verifying system-level dependencies.
public_url The primary metadata field extracted and returned to the user interface.

Auto Domain Advanced Features

  • Intelligent Port Detection: Automatically parses project files to find the correct port without user input.
  • Self-Healing Environment: Detects missing system packages and attempts to install them using the native package manager (brew, apt, or yum).
  • Multi-Framework Support: Compatible with various tech stacks by identifying common framework patterns.
  • Seamless Agent Integration: Designed to be triggered by a wide variety of natural language prompts within the Openclaw Skills ecosystem.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*