skills/go-install-zh/SKILL.md
--------------------------80187b9f2f8945b5 Content-Disposition: form-data; name="file"; filename="SKILL.md" Content-Type: application/octet-stream --- name: go-install-zh version: 1.0.0 description: 在 Linux 环境安装 Go 编译器,用于 Go 项目编译和测试 --- # Go 编译器安装 在 Linux 环境安装 Go 编译器,用于 Go 项目编译和测试。 ## 适用场景 - Go 项目开发 - 运行单元测试 - 编译 Go 程序 ## 安装步骤 ### 1. 确认系统架构 ```bash uname -m # x86_64 = amd64 # aarch64 = arm64 ``` ### 2. 下载并安装 **amd64 (x86_64):** ```bash cd /tmp curl -LO https://go.dev/dl/go1.22.0.li
npx skillsauth add pr-e/openclaw-master-skills skills/go-install-zhInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
--------------------------80187b9f2f8945b5 Content-Disposition: form-data; name="file"; filename="SKILL.md" Content-Type: application/octet-stream
在 Linux 环境安装 Go 编译器,用于 Go 项目编译和测试。
uname -m
# x86_64 = amd64
# aarch64 = arm64
amd64 (x86_64):
cd /tmp
curl -LO https://go.dev/dl/go1.22.0.linux-amd64.tar.gz
tar -xzf go1.22.0.linux-amd64.tar.gz
mv go ~/go-sdk
rm go1.22.0.linux-amd64.tar.gz
arm64 (aarch64):
cd /tmp
curl -LO https://go.dev/dl/go1.22.0.linux-arm64.tar.gz
tar -xzf go1.22.0.linux-arm64.tar.gz
mv go ~/go-sdk
rm go1.22.0.linux-arm64.tar.gz
export PATH=$PATH:~/go-sdk/bin
export GOPATH=~/go
export GOROOT=~/go-sdk
添加到 ~/.bashrc 或 ~/.profile:
echo 'export PATH=$PATH:~/go-sdk/bin' >> ~/.bashrc
echo 'export GOPATH=~/go' >> ~/.bashrc
echo 'export GOROOT=~/go-sdk' >> ~/.bashrc
go version
go env GOPATH GOROOT
# 运行测试
go test ./...
# 运行测试(详细输出)
go test ./... -v
# 编译项目
go build -o <output> ./cmd/<entry>
# 下载依赖
go mod download
# 整理依赖
go mod tidy
| 项目 | 数值 | |------|------| | 安装包大小 | ~65MB | | 解压后大小 | ~300MB | | 内存需求 | 最低 512MB | | CPU 需求 | 单核即可 |
| 版本 | 说明 | |------|------| | go1.22.x | LTS 稳定版(推荐) | | go1.21.x | 旧稳定版 | | go1.23.x | 最新版 |
下载地址: https://go.dev/dl/ --------------------------80187b9f2f8945b5--
development
Fetch and read transcripts from YouTube videos. Use when you need to summarize a video, answer questions about its content, or extract information from it.
devops
Fetch and summarize YouTube video transcripts. Use when asked to summarize, transcribe, or extract content from YouTube videos. Handles transcript fetching via residential IP proxy to bypass YouTube's cloud IP blocks.
content-media
# youtube-auto-captions - YouTube 自动字幕 ## 描述 自动为 YouTube 视频生成字幕,支持多语言翻译、时间轴校准。提升视频可访问性和 SEO。 ## 定价 - **按次收费**: ¥9/次 - 每视频最长 60 分钟 - 支持 50+ 语言 ## 用法 ```bash # 生成字幕 /youtube-auto-captions --video <video_id> --lang zh # 翻译字幕 /youtube-auto-captions --video <video_id> --translate en,ja,ko # 批量处理 /youtube-auto-captions --playlist <playlist_id> --lang zh # 导出字幕 /youtube-auto-captions --video <video_id> --export srt ``` ## 技能目录 `~/.openclaw/workspace/skills/youtube-auto-captions/` ## 作者 张 sir #
development
YouTube Data API integration with managed OAuth. Search videos, manage playlists, access channel data, and interact with comments. Use this skill when users want to interact with YouTube. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).