skill-base-web-deploy

v1.0.0

Skill Base server deployment guide. Covers starting the Skill Base server (npx skill-base), Docker configuration, port mapping, and SQLite database backup. F...

1· 76·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for ginuim/skill-base-web-deploy.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "skill-base-web-deploy" (ginuim/skill-base-web-deploy) from ClawHub.
Skill page: https://clawhub.ai/ginuim/skill-base-web-deploy
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install skill-base-web-deploy

ClawHub CLI

Package manager switcher

npx clawhub@latest install skill-base-web-deploy
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
The skill is an instruction-only deployment guide for Skill Base and its requested actions (npx, Docker, mounting a data dir, backing up SQLite files) match the stated purpose. There are no unrelated required env vars, binaries, or config paths.
Instruction Scope
SKILL.md stays on-topic (startup flags, data directory, Docker run/build, backup tips). It does instruct running npx and docker which will execute code fetched from external registries—this is expected for a deploy guide but worth verifying the package/image source before running in production.
Install Mechanism
No install spec or code files included (instruction-only). The guide references using npx and docker which fetch external artifacts at runtime; that is normal here but implies executing remote code.
Credentials
No credentials, env vars, or config paths are required by the skill itself. The documented environment variables (DATA_DIR, DATABASE_PATH, PORT) are directly relevant to the deployment task.
Persistence & Privilege
The skill is not always-enabled and makes no requests to modify other skills or global agent settings. It is instruction-only and does not demand persistent privileges.
Assessment
This skill is a straightforward deployment guide, but before running commands: (1) verify the origin of the npm package (npx will fetch and run code) and any Docker image/Dockerfile you build; (2) when exposing the service, prefer binding to 127.0.0.1 or restrict firewall rules for private deployments; (3) mount a dedicated data directory and back it up when the service is idle; (4) confirm filesystem permissions for the data volume; and (5) note the skill metadata lacks a source/homepage—if you plan to run in production, try to obtain the upstream repository or official release to verify authenticity.

Like a lobster shell, security has layers — review code before you run it.

latestvk97dfmv34fsp8a4fg1t8msgr1x84vkh7
76downloads
1stars
1versions
Updated 2w ago
v1.0.0
MIT-0

Skill Base Web Server Deployment

This skill guides you through setting up and operating the Skill Base platform server. Requires Node.js >= 18.

When to Use This Skill

  • When users request private deployment, hosting, or running the Skill Base server (npx skill-base or Docker).
  • When users ask about Skill Base server host/port configuration (-h, -p), data directory (-d), or how to back up the database.

When NOT to Use This Skill

  • When users want to use the skb command to search, install, or publish specific skills (refer to skill-base-cli instead).
  • When users ask about Docker, ports, or database configuration for non-Skill Base projects (avoid misuse).

Quick Start (npm package)

# Recommended: fix the data directory for easy backup and migration
npx skill-base -d ./skill-data -p 8000

Default port is 8000; if -d is not specified, data will be stored in npm cache-related paths. In production, always use -d to point to a specific directory.

Startup Options (npx skill-base)

OptionDescription
-p, --portListening port, default 8000
-h, --hostListening address, default 0.0.0.0 (listens on all local network cards/IPv4 addresses, accessible from both internal and external networks; set to 127.0.0.1 for local-only access)
-d, --data-dirData root directory; sets DATA_DIR and DATABASE_PATH=<dir>/skills.db
--base-pathDeployment base path prefix, default / (e.g., /skills/ for subpath deployment)
--no-cappyDisable Cappy the capybara mascot
-v, --verboseEnable debug logging
--helpShow help information
--versionShow version number

Intranet or local hardening example: npx skill-base --host 127.0.0.1 -p 8000 -d ./data

Subpath deployment example: npx skill-base --base-path /skills/ -p 8000

Debug mode example: npx skill-base -v -d ./data

First Access

When no administrator exists, opening the site in a browser will launch the initialization wizard: create a system administrator account and password. Afterward, team members need to be added by the administrator, and users log in via Web and CLI.

Development/Production Run from Source Directory

pnpm install
pnpm start
# Or for development: `pnpm dev`

Docker (Recommended for Production)

Build in the repository root directory containing the Dockerfile:

docker build -t skill-base .

Image conventions: DATA_DIR=/data, DATABASE_PATH=/data/skills.db, PORT=8000. For host persistence, mount to /data inside the container:

docker run -d -p 8000:8000 -v "$(pwd)/data:/data" --name skill-base-server skill-base

If you need to change the port, map both host and container ports and set PORT, e.g., -p 3000:3000 -e PORT=3000.

Data Directory Structure (Backup)

After specifying -d or mounting /data, typical contents:

data/
├── skills.db
├── skills.db-wal
└── skills/
    └── <skill-id>/
        └── vYYYYMMDD.HHmmss.zip

Backup: Simply copy the entire data directory during low write activity or off-peak hours.

Troubleshooting Tips

  • Port: Ensure firewall/security groups allow PORT; cloud hosts need to allow corresponding inbound traffic.
  • CLI can't connect: Client uses skb init --server <root URL> (without /api); verify the site is accessible from that machine.
  • Permissions: The -d path must be readable/writable by the process; for Docker volumes, check host directory permissions.

Relationship with skill-base-cli

After deploying the Web server, users on the client side use skb pointing to the same site root URL; see the skill-base-cli skill within the project.

Comments

Loading comments...