vps-hybrid-networking 1.0.1 → 1.0.2
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/README.md +5 -2
- package/package.json +1 -1
- package/skills/vps-hybrid-networking/SKILL.md +10 -6
package/README.md
CHANGED
|
@@ -67,10 +67,12 @@ hermes skills install AnandaAp/vps-hybrid-networking/skills/vps-hybrid-networkin
|
|
|
67
67
|
|
|
68
68
|
Hermes security-scans skills on install. You can also register this repo as a reusable source once with `hermes skills tap add AnandaAp/vps-hybrid-networking`.
|
|
69
69
|
|
|
70
|
+
> **Note on the Hermes security scan:** this skill is a root-level server-administration runbook, so Hermes' pattern scanner flags its subject matter (`sudo`, systemd units, files under `/etc`, network tunnels) and hub installs are currently blocked with a "dangerous" verdict. The flagged operations are the setup itself, run on your own server with your own tokens — but review the findings before trusting any skill, including this one. If you have reviewed it and want it anyway, install manually: copy `skills/vps-hybrid-networking/` into your Hermes skills folder (`%LOCALAPPDATA%\hermes\skills\` on Windows, `~/.hermes/skills\` elsewhere) and restart Hermes.
|
|
71
|
+
|
|
70
72
|
### npm / npx installer (this repo's own package)
|
|
71
73
|
|
|
72
74
|
```bash
|
|
73
|
-
npx vps-hybrid-networking@1.0.
|
|
75
|
+
npx vps-hybrid-networking@1.0.2
|
|
74
76
|
```
|
|
75
77
|
|
|
76
78
|
Auto-detects your installed agents and copies the skill into each one's skills folder. Targets: Claude Code, Antigravity, Codex / agents standard, Gemini CLI, OpenCode, Cursor, Hermes Agent, Cline, Roo Code, Goose, Amp, Windsurf, Kiro CLI, Qwen Code, GitHub Copilot, Trae, and Continue. Useful flags: `--all`, `--agent claude-code,antigravity`, `--list`, `--dry-run`. (If the npm package is not yet published, clone this repo and run `node bin/install.mjs --all` — it is the same code with the same result.)
|
|
@@ -86,7 +88,7 @@ The npm installer is built to be boring and auditable:
|
|
|
86
88
|
- **Zero dependencies** — Node.js standard library only; there is no dependency tree to compromise.
|
|
87
89
|
- **No install hooks** — `package.json` defines no lifecycle scripts, so nothing runs implicitly on `npm install`/`npx`. The installer runs only when you invoke it.
|
|
88
90
|
- **No network, no execution** — the installer never downloads anything and never spawns a process. It only copies the skill files bundled inside the package into a fixed allow-list of well-known agent folders, and it verifies every destination stays inside its allow-listed folder before copying.
|
|
89
|
-
- **Pin the version** (`npx vps-hybrid-networking@1.0.
|
|
91
|
+
- **Pin the version** (`npx vps-hybrid-networking@1.0.2`) if you want reproducible installs, and read [`bin/install.mjs`](bin/install.mjs) — it is short on purpose.
|
|
90
92
|
- Prefer not to run third-party installers at all? Use `npx skills add` (which pulls straight from GitHub) or the manual copy above.
|
|
91
93
|
|
|
92
94
|
## What's inside
|
|
@@ -123,6 +125,7 @@ skills/vps-hybrid-networking/ the skill itself (SKILL.md + scripts/)
|
|
|
123
125
|
.agents/plugins/ Codex marketplace catalog
|
|
124
126
|
plugin.json Agent Plugins standard manifest (Codex/Cursor portable layout)
|
|
125
127
|
gemini-extension.json Gemini CLI extension manifest
|
|
128
|
+
assets/logo.jpg plugin logo (Antigravity Marketplace)
|
|
126
129
|
package.json + bin/install.mjs the zero-dependency npm/npx installer
|
|
127
130
|
```
|
|
128
131
|
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"author":"Ananda Apriliansyah Cahya Utama","bin":{"vps-hybrid-networking":"bin/install.mjs"},"description":"Installer for the vps-hybrid-networking agent skill \u2014 serves a NAT-blocked VPS via Tailscale + Cloudflare Tunnel + Caddy (DNS-01). Zero dependencies, no install hooks, no network access.","engines":{"node":">=18"},"files":["bin/install.mjs","skills","README.md","LICENSE"],"homepage":"https://github.com/AnandaAp/vps-hybrid-networking#readme","keywords":["agent-skill","claude-code","antigravity","codex","gemini-cli","opencode","cursor","hermes-agent","cline","roo-code","goose","amp","windsurf","kiro-cli","qwen-code","github-copilot","trae","continue","vps","caddy","cloudflare-tunnel","tailscale"],"license":"MIT","name":"vps-hybrid-networking","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/AnandaAp/vps-hybrid-networking.git"},"type":"module","version":"1.0.
|
|
1
|
+
{"author":"Ananda Apriliansyah Cahya Utama","bin":{"vps-hybrid-networking":"bin/install.mjs"},"description":"Installer for the vps-hybrid-networking agent skill \u2014 serves a NAT-blocked VPS via Tailscale + Cloudflare Tunnel + Caddy (DNS-01). Zero dependencies, no install hooks, no network access.","engines":{"node":">=18"},"files":["bin/install.mjs","skills","README.md","LICENSE"],"homepage":"https://github.com/AnandaAp/vps-hybrid-networking#readme","keywords":["agent-skill","claude-code","antigravity","codex","gemini-cli","opencode","cursor","hermes-agent","cline","roo-code","goose","amp","windsurf","kiro-cli","qwen-code","github-copilot","trae","continue","vps","caddy","cloudflare-tunnel","tailscale"],"license":"MIT","name":"vps-hybrid-networking","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/AnandaAp/vps-hybrid-networking.git"},"type":"module","version":"1.0.2"}
|
|
@@ -152,8 +152,12 @@ sudo killall python3
|
|
|
152
152
|
### Stage 2: Private Network Setup via Tailscale
|
|
153
153
|
|
|
154
154
|
```bash
|
|
155
|
-
# 1. Install official
|
|
156
|
-
|
|
155
|
+
# 1. Install Tailscale from its official apt repository (no pipe-to-shell installer).
|
|
156
|
+
# Replace <distro> with ubuntu or debian and <codename> with your
|
|
157
|
+
# release codename (e.g. noble for Ubuntu 24.04, bookworm for Debian 12).
|
|
158
|
+
curl -fsSL https://pkgs.tailscale.com/stable/<distro>/<codename>.noarmor.gpg | sudo tee /usr/share/keyrings/tailscale-archive-keyring.gpg >/dev/null
|
|
159
|
+
curl -fsSL https://pkgs.tailscale.com/stable/<distro>/<codename>.tailscale-keyring.list | sudo tee /etc/apt/sources.list.d/tailscale.list
|
|
160
|
+
sudo apt-get update && sudo apt-get install -y tailscale
|
|
157
161
|
|
|
158
162
|
# 2. Connect machine to your Tailnet
|
|
159
163
|
sudo tailscale up --hostname=my-vps --accept-routes
|
|
@@ -282,13 +286,13 @@ sudo apt-get update && sudo apt-get install -y cloudflared
|
|
|
282
286
|
|
|
283
287
|
# 2. Store the tunnel token in a protected file
|
|
284
288
|
sudo mkdir -p /etc/cloudflared
|
|
285
|
-
sudo
|
|
289
|
+
sudo tee /etc/cloudflared/token > /dev/null <<'EOF'
|
|
286
290
|
<YOUR_CLOUDFLARE_TUNNEL_TOKEN>
|
|
287
|
-
EOF
|
|
291
|
+
EOF
|
|
288
292
|
sudo chmod 600 /etc/cloudflared/token
|
|
289
293
|
|
|
290
294
|
# 3. Create Systemd Service File: /etc/systemd/system/cloudflared.service
|
|
291
|
-
sudo
|
|
295
|
+
sudo tee /etc/systemd/system/cloudflared.service > /dev/null <<'EOF'
|
|
292
296
|
[Unit]
|
|
293
297
|
Description=Cloudflare Tunnel client
|
|
294
298
|
After=network-online.target
|
|
@@ -303,7 +307,7 @@ RestartSec=5s
|
|
|
303
307
|
|
|
304
308
|
[Install]
|
|
305
309
|
WantedBy=multi-user.target
|
|
306
|
-
EOF
|
|
310
|
+
EOF
|
|
307
311
|
|
|
308
312
|
# 4. Reload systemd and start the tunnel daemon
|
|
309
313
|
sudo systemctl daemon-reload
|