返回顶部
c

clash-controllerClash代理管理

管理Clash/mihomo代理环境,支持安装、启停代理、订阅管理、Web面板操作、Tun模式配置、升级内核等常用功能。触发场景:用户提到clash、mihomo、代理、clashctl、clashon、clashoff、clashui、订阅更新等关键词时使用。

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
230
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

clash-controller

Clash Controller 技能

核心功能

支持Clash/mihomo代理全生命周期管理,适配nelvko/clash-for-linux-install一键安装脚本的所有功能。

环境前置说明

当前环境Clash命令通过自定义脚本加载,非登录shell执行前需先初始化环境: bash

加载Clash命令环境(必须先执行)

source /home/kklldog/clashctl/scripts/cmd/clashctl.sh

或使用交互式shell执行命令

bash -i -c clashsub ls

用户SSH登录时会自动加载.bashrc里的配置,可直接使用命令。

常用操作指南

1. 安装Clash

bash git clone --branch master --depth 1 https://gh-proxy.org/https://github.com/nelvko/clash-for-linux-install.git \ && cd clash-for-linux-install \ && bash install.sh

默认带gh-proxy加速,如失效可更换为其他github加速地址。

2. 代理启停

  • - 开启代理:clashon(自动配置系统代理)
  • 关闭代理:clashoff(自动清除系统代理)
  • 查看运行状态:clashctl status

3. 订阅管理

  • - 添加订阅:clashsub add <订阅链接>(支持http/https/file协议)
  • 查看订阅列表:clashsub ls
  • 切换使用订阅:clashsub use <订阅ID>
  • 更新订阅:clashsub update [订阅ID](加--auto配置自动更新,加--convert开启本地订阅转换)
  • 删除订阅:clashsub del <订阅ID>

4. Web管理面板

  • - 打开面板:clashui(默认端口9090,自动显示内网/公网访问地址)
  • 重置面板密钥:clashsecret <新密钥>

5. Tun模式(全局流量代理)

  • - 查看状态:clashtun
  • 开启Tun:clashtun on(支持Docker等容器流量代理、DNS劫持)
  • 关闭Tun:clashtun off

6. 其他功能

  • - 自定义配置(优先级高于订阅):clashmixin -e
  • 升级内核:clashupgrade
  • 卸载:在安装目录执行bash uninstall.sh

注意事项

  1. 1. 安装后必须先添加订阅才能正常使用
  2. 如需将面板暴露到公网,建议定期更换密钥或使用SSH端口转发
  3. Tun模式需要root权限,首次开启会自动配置相关内核参数

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 clash-controller-1776067749 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 clash-controller-1776067749 技能

通过命令行安装

skillhub install clash-controller-1776067749

下载

⬇ 下载 clash-controller v1.0.0(免费)

文件大小: 1.97 KB | 发布时间: 2026-4-15 12:06

v1.0.0 最新 2026-4-15 12:06
Clash Controller Skill 1.0.0 released with full lifecycle management for Clash/mihomo proxy environments.

- Supports seamless installation, startup, shutdown, and upgrade of Clash/mihomo proxies.
- Provides easy subscription management (add, update, delete, and switch proxies).
- Enables web UI management and quick system proxy toggle commands.
- Adds Tun mode for comprehensive network traffic proxying, including container support.
- All functions are accessible with simple command-line instructions and environment initialization.
- Contains clear usage guidelines and important operational notes for users.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部