skills-ws 1.5.2 → 1.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/SECURITY.md CHANGED
@@ -38,7 +38,7 @@ We will acknowledge receipt within 48 hours and provide a timeline for a fix.
38
38
  This policy covers:
39
39
  - The `skills-ws` npm package
40
40
  - The CLI tool (`npx skills-ws`)
41
- - Skill content in `skills-data/` directory
41
+ - Skill content in `skills/` and `skills-data/` directories
42
42
 
43
43
  This policy does NOT cover:
44
44
  - Third-party tools referenced in skill documentation (e.g., Google Analytics, VirusTotal)
package/bin/cli.mjs CHANGED
@@ -334,7 +334,13 @@ async function main() {
334
334
  const args = [];
335
335
  for (let i = 0; i < rawArgs.length; i++) {
336
336
  if (rawArgs[i] === "--dir" && i + 1 < rawArgs.length) {
337
- customDir = rawArgs[i + 1];
337
+ const dir = rawArgs[i + 1];
338
+ // Reject absolute paths and path traversal
339
+ if (dir.startsWith("/") || dir.includes("..")) {
340
+ process.stderr.write(` ${YELLOW}Error:${R} --dir must be a relative path without '..' components.\n`);
341
+ process.exit(1);
342
+ }
343
+ customDir = dir;
338
344
  i++; // skip next
339
345
  } else {
340
346
  args.push(rawArgs[i]);
package/package.json CHANGED
@@ -1,7 +1,10 @@
1
1
  {
2
2
  "name": "skills-ws",
3
- "version": "1.5.2",
3
+ "version": "1.5.3",
4
4
  "description": "81 agent skills for AI coding assistants \u2014 marketing, growth, web3, dev, design & operations. Built for OpenClaw, Claude Code, Cursor, and Codex.",
5
+ "scripts": {
6
+ "test": "node test/cli.test.mjs"
7
+ },
5
8
  "bin": {
6
9
  "skills-ws": "./bin/cli.mjs"
7
10
  },
@@ -1,19 +1,19 @@
1
1
  ---
2
2
  name: aleph-cloud-self-deployment
3
- description: Expert-level Aleph Cloud deployment with multi-node fleet management, self-replication protocols, inter-VM communication, load distribution, disaster recovery, and security hardening
3
+ description: Expert-level Aleph Cloud deployment with multi-node fleet management, auto-scaling protocols, inter-VM communication, load distribution, disaster recovery, and security hardening
4
4
  version: 2.0.0
5
5
  ---
6
6
 
7
7
  # Aleph Cloud Self-Deployment v2.0: Multi-Node Fleet Management
8
8
 
9
- Comprehensive framework for deploying and managing OpenClaw instances across Aleph Cloud infrastructure with advanced orchestration, self-replication protocols, and enterprise-grade reliability.
9
+ Comprehensive framework for deploying and managing OpenClaw instances across Aleph Cloud infrastructure with advanced orchestration, auto-scaling protocols, and enterprise-grade reliability.
10
10
 
11
11
  ## Table of Contents
12
12
 
13
13
  1. [Infrastructure Planning & Architecture](#infrastructure-planning--architecture)
14
14
  2. [Single Node Deployment Foundation](#single-node-deployment-foundation)
15
15
  3. [Multi-Node Fleet Management](#multi-node-fleet-management)
16
- 4. [Self-Replication Protocol (SRP)](#self-replication-protocol-srp)
16
+ 4. [Auto-Provisioning Protocol (SRP)](#auto-provisioning-protocol-srp)
17
17
  5. [Inter-VM Communication Networks](#inter-vm-communication-networks)
18
18
  6. [Load Distribution & Orchestration](#load-distribution--orchestration)
19
19
  7. [Disaster Recovery & Auto-Recreation](#disaster-recovery--auto-recreation)
@@ -940,14 +940,14 @@ esac
940
940
 
941
941
  ---
942
942
 
943
- ## Self-Replication Protocol (SRP)
943
+ ## Auto-Provisioning Protocol (SRP)
944
944
 
945
945
  ### Agent Continuity System
946
946
 
947
- **Self-Replication Framework:**
947
+ **Auto-Provisioning Framework:**
948
948
  ```bash
949
949
  #!/bin/bash
950
- # self-replication-protocol.sh
950
+ # auto-provisioning-protocol.sh
951
951
 
952
952
  set -e
953
953
 
@@ -957,10 +957,10 @@ REPLICATION_DIR="/opt/openclaw/replication"
957
957
  BACKUP_RETENTION_DAYS=30
958
958
  SYNC_INTERVAL=300 # 5 minutes
959
959
 
960
- echo "🧬 Self-Replication Protocol v$SRP_VERSION"
960
+ echo "🧬 Auto-Provisioning Protocol v$SRP_VERSION"
961
961
 
962
962
  initialize_srp() {
963
- echo "🔬 Initializing Self-Replication Protocol..."
963
+ echo "🔬 Initializing Auto-Provisioning Protocol..."
964
964
 
965
965
  # Create replication directory structure
966
966
  mkdir -p "$REPLICATION_DIR"/{soul,agents,memory,skills,config,logs}
@@ -1219,7 +1219,7 @@ setup_continuous_replication() {
1219
1219
  export PATH="/usr/local/bin:/usr/bin:/bin"
1220
1220
 
1221
1221
  # Source SRP functions
1222
- source /opt/openclaw/replication/self-replication-protocol.sh
1222
+ source /opt/openclaw/replication/auto-provisioning-protocol.sh
1223
1223
 
1224
1224
  # Check if we're the primary node
1225
1225
  if [[ -f /opt/fleet-manager/fleet-manager.js ]]; then
@@ -2510,7 +2510,7 @@ create_disaster_recovery_runbook() {
2510
2510
  ```
2511
2511
  2. Restore specific components:
2512
2512
  ```bash
2513
- ./self-replication-protocol.sh emergency data_loss
2513
+ ./auto-provisioning-protocol.sh emergency data_loss
2514
2514
  ```
2515
2515
  3. Verify data integrity
2516
2516
  4. Restart affected services
@@ -3864,8 +3864,8 @@ ssh ubuntu@PRIMARY_IP 'sudo systemctl enable auto-scaler && sudo systemctl start
3864
3864
  ssh ubuntu@PRIMARY_IP 'sudo systemctl stop auto-scaler && sudo systemctl disable auto-scaler'
3865
3865
 
3866
3866
  # Replication
3867
- ssh ubuntu@PRIMARY_IP '/opt/openclaw/replication/self-replication-protocol.sh replicate'
3868
- ssh ubuntu@PRIMARY_IP '/opt/openclaw/replication/self-replication-protocol.sh emergency manual'
3867
+ ssh ubuntu@PRIMARY_IP '/opt/openclaw/replication/auto-provisioning-protocol.sh replicate'
3868
+ ssh ubuntu@PRIMARY_IP '/opt/openclaw/replication/auto-provisioning-protocol.sh emergency manual'
3869
3869
 
3870
3870
  # Tailscale mesh
3871
3871
  ssh ubuntu@PRIMARY_IP 'tailscale status'