Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

sparkle-vpn

bởi cwyhkyochen-a11y

Web & Frontend Development
453Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Control Sparkle VPN - start and stop VPN connections using Mihomo core directly.

Mô tả

Kỹ năng này làm gì

Controls Sparkle VPN programmatically using the Mihomo core. Supports starting and stopping the VPN, toggling system-wide proxy settings, querying status, and switching between nodes, all without touching the GUI.

Scripting VPN control through Mihomo directly lets you automate node switching and proxy toggling without depending on the Sparkle GUI being open.

Khi nào nên dùng

  • Switch to a Japan node before accessing region-locked content
  • Start VPN without system proxy for app-specific routing
  • Check which node is active and available before a call
  • Stop VPN and disable system proxy in one command
  • Source proxy env vars into a terminal session for CLI tools

Quy trình ví dụ

ĐẦU VÀO

User asks: switch to the Singapore node and enable system proxy

AGENT
  1. 1

    Call sparkle_vpn_status to confirm VPN is running

  2. 2

    Call sparkle_vpn_switch with node name '新加坡-SIN-01-VL'

  3. 3

    Call sparkle_vpn_enable_proxy to apply system-wide proxy settings

  4. 4

    Verify the active node changed via sparkle_vpn_status

ĐẦU RA

System proxy enabled and routed through the Singapore node

Yêu cầu

  • Sparkle VPN installed with Mihomo core configured at ~/.config/sparkle/

Cài đặt

clawhub install cwyhkyochen-a11y/sparkle-vpn

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết