Clash 控制器 SKILL.md skillB
Clash 控制器 from openminis/minisskills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add openminis/minisskills/Clash 控制器@git:20261005.221c722Pins git:20261005.221c722 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- B, 16 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- openminis/minisskills
- Path
clash-controller/SKILL.md- Versions recorded
- 1
- Latest version
- git:20261005.221c722, committed Oct 5, 2026
- Size
- 6,808 bytes
- Repository stars
- 584
- License
- MIT
通过 Clash / mihomo RESTful API 实时监控和控制 Clash(含 Clash.Meta / mihomo 内核)。支持状态/连接/流量/规则查询、节点与策略组切换、节点测速、DNS 查询、配置重载。当用户提到 Clash、mihomo、切换节点、查看连接、实时流量、规则匹配、节点测速、Clash 控制器时使用。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Clash 控制器(Clash / mihomo RESTful API) 通过 `clash-cli`(封装 Clash RESTful API)在 Minis 内实时监控和控制 Clash / Mihomo。Clash 配置语法请参考官方文档,本文档只管运行态操作。 ## 1. 入口授权(前提检查) - **Clash 必须正在运行**(VPN / 代理开启),`external-controller` 才会监听端口。未启动时 `clash-cli` 报「连接失败」。 - 默认 API 地址 `http://127.0.0.1:9090`(本机 localhost)。 - secret 从环境变量 `CLASH_SECRET` 读取;未设置则免认证直接访问。 - 入口检查:`clash-cli status` 能返回版本、模式、内存、策略组即通过。 ```bash clash-cli status # mihomo 1.19.32 meta=True # mode=rule mixed-port=7890 tun=True stack=gVisor # 内存 31MB inuse=0KB # 策略组 13 个: # PROXY → AUTO ``` ## 2. 状态检查 | 命令 | 说明 | |---|---| | `clash-cli status` | 版本/模式/内存 + 所有策略组当前选择 | | `clash-cli proxies` | 列全部代理条目(含叶子节点与策略组) | | `clash-cli proxies <组>` | 查看某策略组当前选择、类型、成员列表 | | `clash-cli traffic [秒]` | 实时流量 SSE(默认 3 秒,显示瞬时速率+累计) | | `clash-cli connections [N]` | 活跃连接列表(host→策略组→命中规则→上下行),默认前 20 | | `clash-cli configs` | 当前运行配置(端口/tun/dns 等) | | `clash-cli rules [N]` | 规则列表(默认前 10) | ## 3. 常用任务 - **查当前选中节点**:`clash-cli proxy get <组>`(如 `PROXY`) - **切换节点/策略**:`clash-cli proxy set <组> <节点>`(组内任意成员名,含 DIRECT) ```bash clash-cli proxy set PROXY DIRECT # 直连 clash-cli proxy set PROXY AUTO # 切回自动测速组 ``` …
Read the whole file at its exact version.
How to install
mdr add openminis/minisskills/Clash 控制器@sha256:92d8d1357d819f25The line at the top of this page pins the label git:20261005.221c722, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_rz4rlybfx35c47on)
5 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Oct 5, 2026.
Audit of the latest version
- fail: No link to a raw IP address (matched: http://127.0.0.1:9090)
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (6808 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No script tag
Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.
Source
openminis/minisskills · 584 stars · license MIT · pushed 2026-10-26 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_rz4rlybfx35c47on GET https://markdownregistry.com/api/v1/resolve?ref=openminis/minisskills/Clash 控制器 GET https://markdownregistry.com/api/v1/blob/92d8d1357d819f25941b07c66756aad2aa1891dad84b2810f5d4db08945f9d55
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.