Mole CLI Release Flow
tw93/Mole
Runbook for assessing and executing a Mole CLI release: distribution channels, pre-flight checks, capital-V tags, build artifacts and the handoff to curated release notes.
维护 Homebrew cask 到 brewforge/chinese 仓库。触发场景:(1) 用户要求添加或更新 cask;(2) 用户提供上游 cask 文件 URL;(3) 用户提到将软件收录到 brewforge。
$ npx skills add Brewforge/homebrew-chinese --skill brewer -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Brewforge/homebrew-chinese brewer --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Brewforge/homebrew-chinese.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/brewer .claude/skills/brewer && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "brewer" agent skill from https://github.com/Brewforge/homebrew-chinese/tree/main/.claude/skills/brewer into .claude/skills/brewer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "brewer", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Brewforge/homebrew-chinese/tree/main/.claude/skills/brewerType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Brewforge/homebrew-chinese --skill brewer -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Brewforge/homebrew-chinese brewer --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Brewforge/homebrew-chinese.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/brewer .agents/skills/brewer && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "brewer" agent skill from https://github.com/Brewforge/homebrew-chinese/tree/main/.claude/skills/brewer into .agents/skills/brewer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "brewer", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Brewforge/homebrew-chinese --skill brewer -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Brewforge/homebrew-chinese brewer --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Brewforge/homebrew-chinese.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/brewer .cursor/skills/brewer && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "brewer" agent skill from https://github.com/Brewforge/homebrew-chinese/tree/main/.claude/skills/brewer into .cursor/skills/brewer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "brewer", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Brewforge/homebrew-chinese.git --path .claude/skills/brewer--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Brewforge/homebrew-chinese --skill brewer -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Brewforge/homebrew-chinese brewer --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Brewforge/homebrew-chinese.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/brewer .gemini/skills/brewer && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "brewer" agent skill from https://github.com/Brewforge/homebrew-chinese/tree/main/.claude/skills/brewer into .gemini/skills/brewer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "brewer", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Brewforge/homebrew-chinese brewerInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Brewforge/homebrew-chinese --skill brewer -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Brewforge/homebrew-chinese.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/brewer .github/skills/brewer && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "brewer" agent skill from https://github.com/Brewforge/homebrew-chinese/tree/main/.claude/skills/brewer into .github/skills/brewer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "brewer", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Brewforge/homebrew-chinese --skill brewer -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Brewforge/homebrew-chinese brewer --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Brewforge/homebrew-chinese.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/brewer .opencode/skills/brewer && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "brewer" agent skill from https://github.com/Brewforge/homebrew-chinese/tree/main/.claude/skills/brewer into .opencode/skills/brewer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "brewer", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
brewer维护 Homebrew cask 到 brewforge/chinese 仓库。触发场景:(1) 用户要求添加或更新 cask;(2) 用户提供上游 cask 文件 URL;(3) 用户提到将软件收录到 brewforge。
Brewer is an agent skill from Brewforge/homebrew-chinese. 维护 Homebrew cask 到 brewforge/chinese 仓库。触发场景:(1) 用户要求添加或更新 cask;(2) 用户提供上游 cask 文件 URL;(3) 用户提到将软件收录到 brewforge。
Its SKILL.md is about 460 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It works with Homebrew and macOS. The repository describes itself as: 🀄️咱自己人的软件🏮咱自己人的仓库🧧. The licence is BSD-2-Clause.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 4f8d138. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
brewghFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use gh, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Brewer loads about 461 tokens when it runs. Until then it costs about 30 tokens; SKILL.md has 149 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from Brewforge/homebrew-chinese at commit 4f8d138, republished under its BSD-2-Clause licence (© Brewforge). 149 words, ~461 tokens.
.claude/skills/brewer/SKILL.md (or your agent's skills folder).将上游 Homebrew cask 维护到 brewforge/chinese 仓库。仓库结构和规范见 CLAUDE.md。
脚本位于 .claude/scripts/,出错时再手动介入。
先用 gh api 确认版本命名规律:
gh api repos/{owner}/{repo}/releases --paginate \
--jq '.[] | {tag: .tag_name, assets: [.assets[] | .name]}' | head -20对每个架构的 DMG/ZIP 运行:
.claude/scripts/brewer-inspect.sh <download_url> [arm|intel|universal]脚本自动完成:下载 → SHA256 → 挂载/解压 → 提取 app_name / bundle_id / min_os / needs_xattr。
输出末尾的 === 汇总 === 包含所有需要的字段值。
多架构时对 arm 和 intel 各运行一次。
脚本不会卸载 DMG,后续步骤可能需要。
路径 Casks/{首字母}/{cask-name}.rb,按 CLAUDE.md 格式编写。
根据 inspect 输出填写:
sha256 ← 脚本输出的 sha256depends_on macos: ← 脚本输出的 min_os(映射到符号名)app ← 脚本输出的 app_namepreflight xattr -cr ← 仅当 needs_xattr=truezap trash: [] ← 先留空macOS 版本映射:12→monterey, 13→ventura, 14→sonoma, 15→sequoia
brew install --cask brewforge/chinese/{cask-name}安装完成后提示用户运行一次软件,等待用户确认。
用户确认后:
brew createzap brewforge/chinese/{cask-name}将输出填入 cask 的 zap 字段。
.claude/scripts/brewer-check.sh {cask-name}脚本依次执行 brew style --fix → brew audit --strict → brew lc --cask。
任何命令报错时,询问用户是否重试或跳过。不要自行决定跳过。
每个软件都必须更新 README 并立即 commit,不要跳过 README,不要攒多个软件一起提交。
a.svg=开源 b.svg=闭源 1.svg=免费 2.svg=买断 3.svg=订阅{cask-name} {version}© Brewforge, BSD-2-Clause. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/brewer of Brewforge/homebrew-chinese.
Open the folder on GitHubat commit 4f8d138
Brewer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Brewer this skillBrewforge/homebrew-chinese | 154 | — | ~461 | Automated safety check: Pass | BSD-2-Clause | |
| Mole CLI Release Flowtw93/Mole | 70k | — | ~2.5k | Automated safety check: Pass | GPL-3.0 | |
| Reproduce macOS Python FlavorsNuitka/Nuitka | 15k | — | ~1.7k | Automated safety check: Pass | AGPL-3.0 | |
| CodexBar macOS Releasesteipete/CodexBar | 22k | — | ~1.5k | Automated safety check: Pass | MIT | |
| OrcaSlicer G-code Slicingearthtojake/text-to-cad | 18k | — | ~989 | Automated safety check: Pass | MIT | |
| Releaseeugene1g/agent-safehouse | 2.1k | — | ~3.5k | Automated safety check: Pass | Apache-2.0 |
tw93/Mole
Runbook for assessing and executing a Mole CLI release: distribution channels, pre-flight checks, capital-V tags, build artifacts and the handoff to curated release notes.
Nuitka/Nuitka
Reproduce macOS Nuitka issues across Python distributions and GitHub Actions Python packaging.
steipete/CodexBar
Releases a signed, notarized CodexBar build: confirms the changelog, resolves signing credentials from 1Password, runs the release script in tmux, and updates the Sparkle appcast and Homebrew tap.
earthtojake/text-to-cad
Slices STL, 3MF or OBJ models into printer-ready G-code with OrcaSlicer, either headless from the command line or by opening the model in the app.
eugene1g/agent-safehouse
Run the local Agent Safehouse release flow: inspect commits since the last published release, propose the next SemVer version and changelog, present a dry-run for confirmation, then update…
drhelius/Gearcoleco
Debug and trace ColecoVision and Super Game Module games using the Gearcoleco emulator MCP server.
维护 Homebrew cask 到 brewforge/chinese 仓库。触发场景:(1) 用户要求添加或更新 cask;(2) 用户提供上游 cask 文件 URL;(3) 用户提到将软件收录到 brewforge。. Brewer is an agent skill from Brewforge/homebrew-chinese.
Run `npx skills add Brewforge/homebrew-chinese --skill brewer -a claude-code`. Or copy the skill folder (.claude/skills/brewer in Brewforge/homebrew-chinese) into .claude/skills/brewer in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Brewforge/homebrew-chinese --skill brewer -a codex`. Or copy the skill folder (.claude/skills/brewer in Brewforge/homebrew-chinese) into .agents/skills/brewer in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Brewforge/homebrew-chinese --skill brewer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/brewer, .gemini/skills/brewer, .github/skills/brewer and .opencode/skills/brewer in your project.
Going by SKILL.md and its folder, Brewer needs the command-line tools its instructions call (brew and gh).
SKILL.md contains no URLs. Its commands use gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Brewer is published under the BSD-2-Clause licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 461 tokens (SKILL.md is roughly 1.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Brewer: Mole CLI Release Flow (tw93/Mole, 70k stars), Reproduce macOS Python Flavors (Nuitka/Nuitka, 15k stars), CodexBar macOS Release (steipete/CodexBar, 22k stars) and OrcaSlicer G-code Slicing (earthtojake/text-to-cad, 18k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Brewforge (a GitHub organization) maintains it in Brewforge/homebrew-chinese, which has 154 GitHub stars. The repository was last updated on October 7, 2026.
Source: Brewforge/homebrew-chinese on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.