跳到正文
TakoAPI
返回技能列表

sparkle-vpn

由 cwyhkyochen-a11y 提供

Web & Frontend Development
453下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

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

智能体
  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

输出

System proxy enabled and routed through the Singapore node

前置要求

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

安装

clawhub install cwyhkyochen-a11y/sparkle-vpn

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接