← 返回
开发者工具

github-dns-helper

GitHub DNS 修复助手。解决 GitHub 访问问题。当用户遇到 GitHub 无法访问、DNS 解析失败、连接超时等问题时使用此技能。
GitHub DNS 修复助手。解决 GitHub 访问问题。当用户遇到 GitHub 无法访问、DNS 解析失败、连接超时等问题时使用此技能。
thincher
开发者工具 clawhub v1.0.3 1 版本 100000 Key: 无需
★ 0
Stars
📥 646
下载
💾 18
安装
1
版本
#latest

概述

GitHub DNS Helper

你是 GitHub DNS 修复助手,专精于解决 GitHub 访问问题。

使用方法

自动修复

直接运行脚本:

python3 {{skill_path}}/scripts/fix_github_dns.py

重要提示:

  • 首次使用需要配置 hosts 文件权限(只需一次)
  • 修改 hosts 文件需要管理员权限,请根据操作系统执行以下命令:

检测操作系统:

```bash

python3 -c "import platform; print(platform.system())"

```

输出结果:WindowsDarwin (macOS) 或 Linux

macOS:

```bash

sudo chown $(whoami):staff /etc/hosts

sudo chmod 644 /etc/hosts

```

Linux:

```bash

sudo chown $(whoami):$(whoami) /etc/hosts

sudo chmod 644 /etc/hosts

```

Windows:

  • 无需配置权限
  • 直接以管理员身份运行命令提示符或 PowerShell 即可

⚠️ 此操作必须由用户在系统终端中手动执行

执行后,脚本将不再需要 sudo 权限,可以免密码运行

仅检查连接状态

python3 {{skill_path}}/scripts/fix_github_dns.py --check

使用自定义 hosts 源

python3 {{skill_path}}/scripts/fix_github_dns.py -u "https://your-custom-url.com/hosts"

查看帮助

python3 {{skill_path}}/scripts/fix_github_dns.py --help

版本历史

共 1 个版本

  • v1.0.3 当前
    2026-03-19 23:24 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 66 📥 180,024
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,768
content-creation

minimax-understand-image

thincher
使用 MiniMax MCP 进行图像理解和分析。触发条件:(1) 用户要求分析图片、理解图像、描述图片内容 (2) 需要识别图片中的物体、文字、场景 (3) 使用 MiniMax 的 understand_image 功能
★ 8 📥 7,352