Quick Start
One-Click Deployment
Use the curl command to quickly deploy SkillHub (includes all services: Web UI, Backend API, PostgreSQL, Redis, MinIO, Skill Scanner):
curl -fsSL https://imageless.oss-cn-beijing.aliyuncs.com/runtime.sh | sh -s -- upFor users in China (Alibaba Cloud mirror):
curl -fsSL https://imageless.oss-cn-beijing.aliyuncs.com/runtime.sh | sh -s -- up --aliyunCustom parameters:
curl -fsSL https://imageless.oss-cn-beijing.aliyuncs.com/runtime.sh | sh -s -- up \
--version v0.2.0 \
--home /opt/skillhub \
--aliyunParameter reference:
| Parameter | Description | Example |
|---|---|---|
--version <tag> | Specify version | --version v0.2.0 |
--aliyun | Use Alibaba Cloud mirror (recommended for China) | --aliyun |
--home <dir> | Specify installation directory | --home /opt/skillhub |
--no-scanner | Disable security scanning service | --no-scanner |
--mirror-registry <url> | Custom image registry | --mirror-registry registry.example.com |
Other commands:
# Stop services
curl -fsSL https://imageless.oss-cn-beijing.aliyuncs.com/runtime.sh | sh -s -- down
# Check service status
curl -fsSL https://imageless.oss-cn-beijing.aliyuncs.com/runtime.sh | sh -s -- ps
# View logs
curl -fsSL https://imageless.oss-cn-beijing.aliyuncs.com/runtime.sh | sh -s -- logs
# Clean all data
curl -fsSL https://imageless.oss-cn-beijing.aliyuncs.com/runtime.sh | sh -s -- cleanAfter successful deployment, visit:
- Web UI: http://localhost:3000
- Backend API: http://localhost:8080
- API Docs: http://localhost:8080/swagger-ui.html
- Skill Scanner: http://localhost:8000
Local Development
To start the development environment from source:
# Clone the repository
git clone https://github.com/iflytek/skillhub.git
cd skillhub
# Start all services (including Scanner)
make dev-allNotes for Developers in China
If make dev-all fails to start the backend, common causes include:
Maven dependency download timeout
The project includes a built-in Aliyun mirror configuration (
server/.mvn/settings.xml), but Maven does not automatically read project-level settings. You need to configure it manually:bash# Option 1: Copy to user directory (recommended) mkdir -p ~/.m2 cp server/.mvn/settings.xml ~/.m2/settings.xml # Option 2: Specify on each build cd server && ./mvnw -s .mvn/settings.xml packageJava version mismatch
SkillHub requires Java 21+:
bashjava -versionPort conflict
Check if port 8080 is in use:
bashlsof -i :8080
For detailed troubleshooting steps, see FAQ.
Logging In
Option 1: Use the Built-in Admin Account
SkillHub comes with a built-in super admin account for direct login:
- Username:
admin - Password:
ChangeMe!2026
Security notice: Change the default password immediately after deploying to production.
Option 2: Register a New Account
Visit http://localhost:3000/register to create a new account.
Option 3: Use Mock Users (Local Development Only)
During local development, you can use mock user headers for quick login:
# Regular user
curl -H "X-Mock-User-Id: local-user" http://localhost:8080/api/v1/auth/me
# Super admin
curl -H "X-Mock-User-Id: local-admin" http://localhost:8080/api/v1/auth/meIn the browser, you can add the X-Mock-User-Id header via a browser extension (e.g., ModHeader).
Install the CLI Tool
Use the first-party SkillHub CLI for skill package management:
# Install the CLI and configure the SkillHub registry URL
npm install -g @astron-team/skillhub
export SKILLHUB_REGISTRY=http://localhost:8080
# Search for skill packages
skillhub search email
# Install a skill package
skillhub install my-skill
# Publish a skill package
skillhub publish ./my-skill --namespace my-teamExisting ClawHub workflows can still use the compatibility layer for search and install. Prefer the SkillHub CLI for new workflows and publishing.
Publish Your First Skill Package
Publish via CLI (Recommended)
- Prepare the skill package
Create a simple skill package directory:
my-skill/
├── skill.md # Skill description
├── package.json # Metadata
└── scripts/ # Script files
└── main.py- Publish using the CLI
# Configure the registry
export SKILLHUB_REGISTRY=http://localhost:8080
# Publish to a specific namespace
skillhub publish ./my-skill --namespace my-team- Wait for security scanning
After publishing, the Skill Scanner will automatically scan the skill package for potential security issues:
- Malicious code detection
- Sensitive information leakage
- Dependency vulnerability scanning
- Behavioral analysis
Scan results are displayed on the skill package detail page.
- Wait for review (if the namespace has review enabled)
Administrators will receive a notification and the skill package will be officially published once approved.
Publish via Web UI
- Visit http://localhost:3000/dashboard/publish
- Select a namespace (create one first if needed)
- Upload a zip file
- Choose visibility (PUBLIC / PRIVATE / INTERNAL)
- Click "Publish"
Search and Download Skill Packages
Using the CLI
# Search for skill packages
skillhub search pdf
# Install a skill package
skillhub install pdf-parser
# Install a skill package from a specific namespace
skillhub install pdf-parser --namespace my-teamUsing the Web UI
- Visit http://localhost:3000/search
- Enter keywords to search
- Click a skill package to view details
- Click "Download" or copy the install command
Upgrade SkillHub
Use the curl command to upgrade to the latest version:
# Upgrade to the latest version
curl -fsSL https://imageless.oss-cn-beijing.aliyuncs.com/runtime.sh | sh -s -- pull
curl -fsSL https://imageless.oss-cn-beijing.aliyuncs.com/runtime.sh | sh -s -- down
curl -fsSL https://imageless.oss-cn-beijing.aliyuncs.com/runtime.sh | sh -s -- up
# Upgrade to a specific version
curl -fsSL https://imageless.oss-cn-beijing.aliyuncs.com/runtime.sh | sh -s -- up --version v0.2.0Note: It is recommended to back up the database and object storage before upgrading.