360 Secure SkillHub
360 安全技能中心

Clash Node Manager

该 Skill 通过运行 Python 脚本 check_clash.py,调用本地 Clash 控制器接口(127.0.0.1:9090)查看当前节点连接状态、列出 GLOBAL 组或指定组内的可用节点,并按节点名称或列表索引切换节点;需本地已运行 Clash 并可通过 Python 执行脚本。

YonghaoZhao722
YonghaoZhao722
热度 78.93
最近更新 2026-05-17 12:03:37
分类:自动化依赖:代码执行 / 第三方 API应用场景:自动化脚本 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add clash-node-manager
Metadata
name
clash-node-manager
description
Manages Clash proxy nodes. Allows listing current node with connection status, listing available nodes, and switching to a specified node. Use when the user asks to manage Clash proxy settings, view available nodes, or switch between them.

Clash Node Manager

Overview

This skill enables you to manage your Clash proxy nodes using check_clash.py. You can list available nodes, check the connection status of the current node, and switch to a different node.

Usage

Checking Node Status (Default)

To check the status of Clash nodes, ask:

"Check Clash node status"

This will execute python check_clash.py.

Listing Available Nodes

To list available nodes in the GLOBAL group, ask:

"List available Clash nodes"

This will execute python check_clash.py --list

To list available nodes in a specific group, ask:

"List available nodes in group <group_name>"

Replace <group_name> with the name of the group. This will execute python check_clash.py --group <group_name> --list

Switching to a Node

To switch to a specific node, ask:

"Switch to node <node_name>"

Replace <node_name> with the name of the node you want to switch to. This will execute python check_clash.py --switch <node_name>.

Switching to a Node by Index

To switch to a node by its index in the list, ask:

"Switch to node at index "

Replace <index> with the index of the node in the list. This will execute python check_clash.py --switch-by-index <index>.

Resources

  • check_clash.py: Python script for checking and switching Clash proxy nodes.