본문으로 건너뛰기
cccskills
무료GitHub에 공개

get-gh-aw-release-binary

How to fetch the latest github/gh-aw release binary — either as the gh CLI extension (gh aw ...) or as a raw platform binary downloaded from GitHub Releases — including how to resolve the latest tag, pick the right asset, and verify its checksum.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구GitHub
설치 방법 보기

포함된 파일(1)

  • SKILL.md5.8 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Getting the latest github/gh-aw release binary

Use this skill whenever you need the gh-aw compiler binary — for example to recompile agentic workflow .lock.yml files (see the update-workflow-versions skill), to reproduce a compiled workflow locally, or to run gh aw in CI.

github/gh-aw publishes two kinds of consumable artifacts on each GitHub Release:

  • The gh CLI extension — installed with gh extension install github/gh-aw and invoked as gh aw .... This is the normal way to use the tool.
  • Raw platform binaries — bare release assets named by GOOS/GOARCH (linux-amd64, darwin-arm64, …) plus a checksums.txt. Use these when you need the executable directly (no gh, or a pinned standalone binary).

No authentication is required to download from a public repository's releases. In this environment TLS is already trusted (system CA bundle), so curl, gh, and go work without extra flags.

1. Decide what "latest" means

gh-aw ships both stable releases and prereleases. Pick deliberately:

  • Latest stable — the release GitHub marks as Latest (never a prerelease).
  • Latest overall — the newest release or prerelease by publish date.

Resolve the tag (vX.Y.Z). Any method works; ignore drafts and rolling refs and only accept tags matching ^v[0-9].

# Latest STABLE tag (the GitHub "Latest" release, excludes prereleases):
gh release view --repo github/gh-aw --json tagName --jq .tagName
# ...or without gh:
curl -fsSL https://api.github.com/repos/github/gh-aw/releases/latest \
  | grep -m1 '"tag_name"' | cut -d'"' -f4

# Latest OVERALL tag (newest release OR prerelease):
gh api repos/github/gh-aw/releases --paginate \
  --jq '.[] | select(.draft == false) | select(.tag_name | test("^v[0-9]")) | [.published_at, .tag_name] | @tsv' \
  | sort | tail -n1 | cut -f2

Refer to the chosen value below as <TAG> (e.g. v0.83.4).

[!NOTE] /releases/latest and gh release view (no tag) return only the release flagged Latest — i.e. the newest stable one. To include prereleases you must list all releases and sort, as shown above.

2a. Install as the gh CLI extension (to run gh aw)

This is the right choice when you want to run the compiler.

# Latest available (stable) extension:
gh extension install github/gh-aw

# Pin to a specific tag (repeat with --force to switch versions):
gh extension install github/gh-aw --pin <TAG> --force

# Verify:
gh aw version        # -> "gh aw version <TAG>"

# Later, upgrade to the newest published extension:
gh extension upgrade gh-aw

The compiler baked-in version is what stamps compiler_version into generated .lock.yml files, so pin the extension to the exact <TAG> you intend the locks to track.

2b. Download the raw platform binary

Use this when you need the executable directly. Release assets are bare GOOS/GOARCH names (no gh-aw- prefix):

PlatformAsset name
Linux x86_64linux-amd64
Linux arm64linux-arm64
macOS Inteldarwin-amd64
macOS Apple Silicondarwin-arm64
Windows x86_64windows-amd64.exe
Windows arm64windows-arm64.exe

Also published: checksums.txt, a WASM tarball (gh-aw-wasm-<TAG>.tar.gz), and assorted freebsd-* / android-* builds.

Pick the asset for the current machine:

case "$(uname -s)-$(uname -m)" in
  Linux-x86_64)   ASSET=linux-amd64 ;;
  Linux-aarch64)  ASSET=linux-arm64 ;;
  Darwin-x86_64)  ASSET=darwin-amd64 ;;
  Darwin-arm64)   ASSET=darwin-arm64 ;;
  *) echo "unsupported platform: $(uname -s)-$(uname -m)" >&2; exit 1 ;;
esac

Download with gh (resolves the tag for you) …

gh release download <TAG> --repo github/gh-aw \
  --pattern "$ASSET" --pattern checksums.txt --dir /tmp/gh-aw-dl --clobber

… or with plain curl against the predictable asset URL:

BASE="https://github.com/github/gh-aw/releases/download/<TAG>"
mkdir -p /tmp/gh-aw-dl
curl -fsSL "$BASE/$ASSET"        -o /tmp/gh-aw-dl/"$ASSET"
curl -fsSL "$BASE/checksums.txt" -o /tmp/gh-aw-dl/checksums.txt

3. Verify the checksum

checksums.txt has one sha256␠␠asset-name line per asset.

cd /tmp/gh-aw-dl
# Verify just the asset you downloaded:
grep " $ASSET\$" checksums.txt | sha256sum -c -
# -> "<asset>: OK"

4. Make it executable and use it

install -m 0755 /tmp/gh-aw-dl/"$ASSET" /tmp/gh-aw
/tmp/gh-aw version        # confirm it matches <TAG>

# Example: compile workflows with the pinned binary
/tmp/gh-aw compile --action-mode action --action-tag <TAG> --no-check-update \
  .github/workflows/<file>.md

Notes

  • Extension vs raw binary produce the same compiler; use the extension to run gh aw, the raw binary when you need a standalone, pinnable executable.
  • Don't confuse repos. This skill is about the github/gh-aw compiler. The threat-detect binary this repository ships is released separately from github/gh-aw-threat-detection (assets threat-detect-linux-amd64 / threat-detect-linux-arm64); the same tag-resolution and checksum steps apply, only the repo and asset names differ.
  • Compiler version matters. Whatever binary you compile with stamps its version into .lock.yml (compiler_version), which the gh-aw Version Check workflow validates — so match <TAG> to the version the locks should track.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Instructions for using the struct tag-based console rendering system in Go

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

github/gh-aw-threat-detection152026년 10월 20일 업데이트

Error Message Style Guide for Validation Errors

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

github/gh-aw-threat-detection152026년 10월 20일 업데이트

lane

무료

Use lane in this repository when the user asks to create or work in an isolated worktree.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

github/gh-aw-threat-detection152026년 10월 20일 업데이트

How to manually regenerate the compiled agentic workflow .lock.yml files when the gh-aw Version Check workflow reports version drift. All workflows track the newest github/gh-aw release or prerelease.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

github/gh-aw-threat-detection152026년 10월 20일 업데이트

github의 스킬 모두 보기

이 스킬의 문제 신고