# 传奇项目 ## AI 辅助工具配置 ### 安装 superpowers 技能包(skills) 国内网络直连 GitHub 会失败(`Connection was reset` / `SSL_ERROR_SYSCALL`),需先设置代理环境变量再安装: ```powershell $env:HTTP_PROXY="http://127.0.0.1:7897"; $env:HTTPS_PROXY="http://127.0.0.1:7897"; npx skills add obra/superpowers -y ``` 要点: - 代理地址 `127.0.0.1:7897` 按本机代理软件(如 Clash verge)实际 HTTP 端口调整 - **不要设置 `ALL_PROXY`(socks5)**:会导致 git 克隆时报 `OpenSSL SSL_connect: SSL_ERROR_SYSCALL` - 也**不要用 `git config --global http.proxy`** 持久化代理,环境变量方式即可,避免影响其他 git 操作 - `-y` 跳过交互确认;加 `-g` 可安装到全局(所有项目共用): ```powershell $env:HTTP_PROXY="http://127.0.0.1:7897"; $env:HTTPS_PROXY="http://127.0.0.1:7897"; npx skills add obra/superpowers -y -g ``` 安装完成后技能位于 `.\.agents\skills\`,供 OpenCode / Cursor 等工具使用,重启编辑器/CLI 后生效。 ### 无代理时的替代方案(镜像站) ```powershell git clone https://gh-proxy.com/https://github.com/obra/superpowers.git npx skills add ./superpowers -y ```