download-by-mirror

download-by-mirror is a skill for Claude Code, Codex from ming-14/PTY-Agent. It costs 68 tokens per session (1,490 once invoked), scanned A, original, MIT.

A downloading guide for using mirror sources for software and other resources. A mirror is an alternate server that provides the same downloadable files or package information.

In plain words
What is it for?
Use it when downloading from services such as GitHub, npm, pip, DockerHub, Maven, Cargo, or Hugging Face through a mirror.
Why use it?
Network restrictions can make the usual download source unavailable or unreliable.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it when downloading from services such as GitHub, npm, pip, DockerHub, Maven, Cargo, or Hugging Face through a mirror.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ming-14/pty-agent/download-by-mirror
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ming-14/PTY-Agent --skill download-by-mirror
Clone the repo
git clone --depth 1 https://github.com/ming-14/PTY-Agent

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for download-by-mirror

README.md
[![agentmods](https://agentmods.dev/badge/skills/ming-14/pty-agent/download-by-mirror/github.svg)](https://agentmods.dev/skills/ming-14/pty-agent/download-by-mirror)
Your own site
<a href="https://agentmods.dev/skills/ming-14/pty-agent/download-by-mirror"><img src="https://agentmods.dev/badge/skills/ming-14/pty-agent/download-by-mirror/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for download-by-mirror

Your own site · 80×15
<a href="https://agentmods.dev/skills/ming-14/pty-agent/download-by-mirror"><img src="https://agentmods.dev/badge/skills/ming-14/pty-agent/download-by-mirror.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,490 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00068 $0.01490
Opus 5 $0.00034 $0.00745
Sonnet 5 $0.00014 $0.00298
Haiku 4.5 $0.00007 $0.00149

Measured 10d ago against content hash 34a5507b36ff, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

download-by-mirror scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/download-by-mirror/SKILL.md · 153 lines

How it starts

The opening of the file, as written. The whole thing — 153 lines — stays where its author put it; the contents beside it link to each section on GitHub.

由于中国大陆网络问题,请使用镜像站下载所有可能无法访问的资源

注意

⚠安全警告⚠ 不要在镜像源输入/传入任何敏感信息 ⚠绝对不允许修改全局配置,只能修改项目或临时配置 ⚠禁止执行git config --global url.xxx.insteadOf,这会修改所有配置,Token会被发送至对应站点!*

Github 下载

请使用镜像站下载Github资源:

  • https://v4.gh-proxy.org/{Github链接},可下载分支源码,raw文件,Release源码,Release文件,gist,api,git
  • https://ghproxy.com/{Github链接},可下载分支源码,raw文件,Release源码,Release文件
  • https://gh.llkk.cc/{Github链接},可下载分支源码,Release源码,Release文件
  • https://gh.jasonzeng.dev/{Github链接},可下载分支源码,Release源码,Release文件

例子:https://v4.gh-proxy.org/https://github.com/{user}/{repo}/archive/refs/tags/{tag}.zip — 下载源码包

如果失败了,请检查对应资源是否是404,404的镜像站也下载不了

不要把token传到镜像站

npm/pnpm 下载

  1. 永久切换镜像(请在执行前询问用户):
    • npm config set registry https://registry.npmmirror.com/
  2. 临时指定镜像(推荐):
    • npm install express --registry=https://registry.npmmirror.com/

镜像源: - https://registry.npmmirror.com/ - https://mirrors.huaweicloud.com/repository/npm/ - https://mirrors.cloud.tencent.com/npm/ - https://mirrors.163.com/npm/

pip 下载

  1. 临时使用镜像源
    • pip install -i https://pypi.tuna.tsinghua.edu.cn/simple {包名}

镜像源: - 清华:https://pypi.tuna.tsinghua.edu.cn/simple/ - 阿里云:https://mirrors.aliyun.com/pypi/simple/ - 中国科技大学:https://pypi.mirrors.ustc.edu.cn/simple/ - 华为云: https://repo.huaweicloud.com/repository/pypi/simple/ - 腾讯云:https://mirrors.cloud.tencent.com/pypi/simple/

WinGet

(设置镜像源需要管理员权限) 0. 先检查当前镜像源:winget source list

  1. 第一步先移除默认源:winget source remove winget
  2. 添加 USTC 镜像源:winget source add winget https://mirrors.ustc.edu.cn/winget-source --trust-level trusted

apt

请使用镜像源:https://mirror.tuna.tsinghua.edu.cn/help/ubuntu/

DockerHub

请从https://github.com/dongyubin/DockerHub/raw/refs/heads/main/README.md拉取可用镜像列表

Maven

镜像源: - http://mirrors.cloud.tencent.com/nexus/repository/maven-public/ - https://maven.aliyun.com/repository/public - https://repo.huaweicloud.com/repository/maven/ - http://mirrors.163.com/maven/repository/maven-public/

Cargo

镜像源: - 阿里云:https://mirrors.aliyun.com/crates.io-index/ (推荐!) - 中国科学技术大学:https://mirrors.ustc.edu.cn/crates.io-index - 清华大学:https://mirrors.tuna.tsinghua.edu.cn/git/crates.io-index.git

Read the full file on GitHub · 153 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 153 lines · 68 tokens per session scan A 34a5507b36ff

Subscribe to this mod's changes

download-by-mirror is a skill published in the GitHub repository ming-14/PTY-Agent (2 stars, last pushed yesterday), licensed MIT. It adds 68 tokens to every session and 1,490 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

hqe

Comprehensive codebase health auditing, remediation, and verification skill based on the canonical HQE Protocol v5.0.0.

spearchucker667/Skill-HQE · 29 tokens

officecli-word-form

Use this skill to create fillable Word forms (.docx) with real Content Controls (SDT) + legacy FormField checkboxes + MERGEFIELD mail-merge placeholders + document protection. Trigger on: 'fillable form', 'form fields', 'content controls', 'SDT', 'word form', 'fill in', 'only editable fields', 'protect document'…

iOfficeAI/OfficeCLI · 224 tokens

officecli-data-dashboard

Use this skill to build a multi-element Excel dashboard — Dashboard sheet on open, multiple formula-driven KPI cards, multiple charts, sparklines, and conditional formatting — from CSV or tabular input. Trigger on: 'dashboard', 'KPI dashboard', 'analytics dashboard', 'executive dashboard', 'metrics dashboard', 'CSV to…

iOfficeAI/OfficeCLI · 157 tokens

datamol

Pythonic wrapper around RDKit with simplified interface and sensible defaults. Preferred for standard drug discovery including SMILES parsing, standardization, descriptors, fingerprints, clustering, 3D conformers, parallel processing. Returns native rdkit.Chem.Mol objects. For advanced control or custom parameters…

synthetic-sciences/openscience · 67 tokens

session-investigator

Investigate fast-agent session and history files to diagnose issues. Use when a session ended unexpectedly, when debugging tool loops, when correlating sub-agent traces with main sessions, or when analyzing conversation flow and timing. Covers session.json metadata, history JSON format, message structure, tool…

evalstate/fast-agent · 68 tokens

clinicaltrials-database

Query ClinicalTrials.gov via API v2. Search trials by condition, drug, location, status, or phase. Retrieve trial details by NCT ID, export data, for clinical research and patient matching.

synthetic-sciences/openscience · 47 tokens