github-dns-helper

GitHub DNS 修复助手。解决 GitHub 访问问题。当用户遇到 GitHub 无法访问、DNS 解析失败、连接超时等问题时使用此技能。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "github-dns-helper" with this command: npx skills add thincher/github-dns-helper

GitHub DNS Helper

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

使用方法

自动修复

直接运行脚本:

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

重要提示:

  • 首次使用需要配置 hosts 文件权限(只需一次)

  • 修改 hosts 文件需要管理员权限,请根据操作系统执行以下命令:

    检测操作系统:

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

    输出结果:WindowsDarwin (macOS) 或 Linux

    macOS:

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

    Linux:

    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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Windows Desktop Automation CLI

Automate Windows desktop interactions via CLI. Invoke when user needs to simulate clicks, type text, press keys, drag, take screenshots, control windows (min...

Registry SourceRecently Updated
Coding

LLM数据自动化

用自然语言描述数据处理需求,LLM自动生成Python/Pandas代码。无需深厚编程基础即可处理Excel/CSV数据、提取PDF内容、清洗BIM数据,构建自动化数据管道。

Registry SourceRecently Updated
Coding

Bofa

Provides insights on Bank of America's history, business model, competitive landscape, digital transformation, and post-2008 financial crisis developments.

Registry SourceRecently Updated
Coding

agent-native-cli (deprecated)

DEPRECATED — this skill has been renamed. Install `agent-native-design` instead via `clawhub install agent-native-design`. Do not use this slug for new work;...

Registry SourceRecently Updated