AGENT SKILL
chsrc
Use this skill when the user wants to switch package manager mirrors or registries — speed up npm, pip, brew, cargo, or apt downloads by pointing to a faster regional mirror.
- License 许可
- MIT
- 最近更新
- 2026-11-02
- Stars
- ★ 57
- Forks
- 5
01 前言 Front Matter
- name
- chsrc
- description
- Use this skill when the user wants to switch package manager mirrors or registries — speed up npm, pip, brew, cargo, or apt downloads by pointing to a faster regional mirror.
03 SKILL.md 正文
chsrc Plugin
Cross-platform universal source mirror changer. Switches software sources for package managers and language toolchains (brew, pip, npm, cargo, apt, and more).
Commands
chsrc <resource> <action>— Execute chsrc commandschsrc self version— Print chsrc versionchsrc source list— List available source mirrorschsrc source set— Set a source mirror for a toolchsrc source reset— Reset source mirrors to default
Installation
brew install chsrc
# or download from GitHub releases
curl -L https://github.com/RubyMetric/chsrc/releases/latest/download/chsrc-x64-linux \
-o /usr/local/bin/chsrc && chmod +x /usr/local/bin/chsrc
Basic Usage
# List available mirrors
chsrc list
# Set a mirror for a tool (interactive selection)
chsrc set npm
chsrc set pip
chsrc set brew
# Reset to default mirrors
chsrc reset npm
Usage Examples
- "Switch npm to a faster mirror in China"
- "Change pip registry to Tsinghua mirror"
- "Reset brew sources to default"
SuperCLI
sc chsrc source list
sc chsrc source set npm
sc plugins learn chsrc
04 同仓库更多 Skills
sc-machin-mcp
暂无简介
★ 57
supercli.quickstart
SuperCLI capability router — discover and execute CLI commands through namespace.resource.action interface
★ 57
zzdoc
Use this skill to compile scdoc manpages with a fast Zig-based compiler.
★ 57
zx
Use this skill when the user wants to a tool for writing better scripts using node.js.
★ 57
zvm
Use this skill when the user wants to manage multiple Zig compiler versions.
★ 57
quickstart
暂无简介
★ 57