agentsclimarketplace

Clear git proxy

Skill bkvito/dk-agent-skills/skills/clear-git-proxy

Inspect and clear the user-level Git http.proxy and https.proxy settings on Windows. Use when the user explicitly asks to clear, remove, disable, or reset the global Git proxy, or when Git/GitHub reports that it cannot connect through a localhost proxy such as 127.0.0.1. Trigger for phrases such as “清除 Git 代理”, “关闭 Git 全局代理”, “修复 GitHub 127.0.0.1 代理错误”, or “取消 http.proxy/https.proxy”.From its SKILL.md

Install
npx -y skills add bkvito/dk-agent-skills --skill clear-git-proxy

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its file declares

Copied from the file, not written here

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

1.8 KB, 437 tokens by cl100k_base, as published. Nobody here has run it

Clear Git Proxy

清除当前用户 Git 全局配置中的 http.proxyhttps.proxy,并验证清理结果。

执行流程

  1. 确认用户明确要求清除或关闭 Git 全局代理。若用户只要求诊断,不要修改配置。

  2. 在 PowerShell 中运行:

    & "$PSScriptRoot/scripts/clear_git_proxy.ps1"
    

    如果调用方不能可靠解析 $PSScriptRoot,使用本 Skill 目录下脚本的绝对路径。

  3. 向用户报告清理前哪些键存在、清理后是否仍有残留。

  4. 不自动执行 git push、修改远程仓库地址、系统代理、代理环境变量或其他 Git 配置。只有用户明确要求时,才继续执行推送或更广泛的网络修改。

结果处理

  • 脚本返回成功:说明两个目标键均已不存在;配置原本不存在也视为成功。
  • 脚本返回失败:保留原始错误并报告,不要反复修改配置。
  • 若 Git 仍然尝试使用代理,继续只读检查 URL 专用代理、HTTP_PROXYHTTPS_PROXYALL_PROXY;未经用户明确授权,不要清除这些额外配置。

安全边界

  • 只操作当前用户的 Git 全局 http.proxyhttps.proxy
  • 不使用 --system,不编辑仓库本地配置,不直接改写 .gitconfig
  • 不在输出中显示代理 URL,以免泄露其中可能包含的用户名或密码。

What ships with it: 2 files

2.2 KB alongside SKILL.md, 1 of them executable

agents/

scripts/

Keep looking

Skills are one crate of 326,144. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.