ginuim/skill-base/skill-base-web-deploy

Claude Code and agent skill by ginuim/skill-base

Trust tier 2
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Skill Base server deployment guide. Covers starting the Skill Base server (npx skill-base), Docker configuration, port mapping, SQLite database backup, and platform capabilities (collections, tags, GitHub import). For deploying and operating the Skill Base platform itself only.

Install

npx vskill@latest install ginuim/skill-base/skill-base-web-deploy

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as ginuim/skill-base/skill-base-web-deploy.

Skill Base Web Server Deployment

This skill guides you through setting up and operating the Skill Base platform server. Requires Node.js 20.19+ or 22.12+ (LTS).

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).

Contributor profiles

The Web UI includes /users/:id and GET /api/v1/users/:user_id/profile. Deploy the rebuilt static/ together with the updated server. No new environment variables or database migration are required: contributions use existing version uploaders and respect skill visibility.

Publish/settings presentation changes require rebuilding web/ into static/; no server configuration or migration is needed.

Quick Start (npm package)

bash
# 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 127.0.0.1. Set an explicit address when other machines need to connect. The Docker image binds to 0.0.0.0 inside the container.
-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

On a new data directory, get the one-time setup token from the private server startup log or supply a random SKILL_BASE_SETUP_TOKEN. Enter it on the Web setup page to create the first administrator. Preserve the original Host at the HTTPS reverse proxy. Use CORS_ORIGINS only for explicitly trusted browser origins.

Remote MCP uses Streamable HTTP at /mcp (or /skills/mcp in the subpath example). Forward POST and the Authorization header through the HTTPS reverse proxy for MCP clients. If the proxy sets a request body limit, allow at least 3 MiB for MCP publishing requests. The Web navigation includes the MCP setup guide and downloadable official skills.

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.

Platform Capabilities (Post-Deploy)

After the server is running, the Web UI and CLI share the same backend:

CapabilityWeb UICLI
Browse / search skillsYesskb search
Version history & changelogsYesskb update
Tags & favoritesYes (admin tag library; owner assigns tags)—
Collections (admin-curated packs, max 10 skills)Browse on homeskb install --collection <id_or_slug>
GitHub import (public repos only)Publish pageskb import-github
Desktop clientdocs/desktop.mdSame install/update logic as CLI

Collections are flat recommendation packs maintained by admins — they link to skills via collection_skills, not a folder hierarchy. Clients install the whole pack in one zip download.

Development/Production Run from Source Directory

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

Docker (Recommended for Production)

Build in the repository root directory containing the Dockerfile:

bash
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:

bash
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:

text
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.

Security

  • Security scanPassed, 93 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
103
Repository forks
22
7-day trend score
23

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Extension points

  • hookPre/post lifecycle hooks

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ginuim/skill-base/skill-base-web-deploy/badge)](https://verified-skill.com/skills/ginuim/skill-base/skill-base-web-deploy)

Something wrong with this skill or its page? Tell us.