clash-node-manager

TotalClaw 作者 totalclaw

管理 Clash 代理节点。允许列出当前节点的连接状态、列出可用节点以及切换到指定节点。当用户要求管理 Clash 代理设置、查看可用节点或在节点之间切换时使用。

安装 / 下载方式

TotalClaw CLI推荐
totalclaw install totalclaw:totalclaw~yonghaozhao722-clash-node-manager
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~yonghaozhao722-clash-node-manager/file -o yonghaozhao722-clash-node-manager.md
## 概述(中文)

管理 Clash 代理节点。允许列出当前节点的连接状态、列出可用节点以及切换到指定节点。当用户要求管理 Clash 代理设置、查看可用节点或在节点之间切换时使用。

## 原文

# 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 <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.