CommunityCoding & Developmentgithub.com

xiaomiba0904/china-mirror-skill

Automatically adds domestic mirror source parameters when AI generates package download commands.

What is china-mirror-skill?

This skill enhances AI-generated package download commands by automatically appending domestic mirror source parameters, such as `-i https://pypi.tuna.tsinghua.edu.cn/simple` for pip. It is particularly useful for developers in China who face slow or blocked access to default package registries like PyPI, npm, or conda. The skill works with AI coding assistants like Claude Code, Cursor, and Codex by intercepting download commands and modifying them with appropriate mirror flags. By streamlining this process, it saves time and reduces connectivity issues, ensuring smooth dependency installation without manual intervention.

Works with~Claude Code~Codex CLI~Cursor
npx skills add xiaomiba0904/china-mirror-skill

Installed? Explore more Coding & Development skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

What does china-mirror-skill do?

Automatically adds domestic mirror source parameters when AI generates package download commands.

Related Skills