homebrew-packaging

homebrew-packaging is a skill for Claude Code, Codex from sampleXbro/agentsmesh. It costs 37 tokens per session (438 once invoked), scanned A, original, MIT.

A set of checks and instructions for distributing a command-line tool through Homebrew, the macOS package manager. It covers release archives, checksums, formula files, installation, and testing.

In plain words
What is it for?
Use it when maintaining Homebrew packaging for a TypeScript or Node-based CLI, including release compatibility, formula updates, and install tests.
Why use it?
It helps keep Homebrew installs reproducible and prevents formula links or checksums from pointing to the wrong release files. It also distinguishes CLI tools from libraries that are only imported by code.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/samplexbro/agentsmesh/homebrew-packaging
Any agent
npx skills add sampleXbro/agentsmesh --skill homebrew-packaging
Clone the repo
git clone --depth 1 https://github.com/sampleXbro/agentsmesh

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for homebrew-packaging

README.md
[![agentmods](https://agentmods.dev/badge/skills/samplexbro/agentsmesh/homebrew-packaging.svg)](https://agentmods.dev/skills/samplexbro/agentsmesh/homebrew-packaging)
Your own site
<a href="https://agentmods.dev/skills/samplexbro/agentsmesh/homebrew-packaging"><img src="https://agentmods.dev/badge/skills/samplexbro/agentsmesh/homebrew-packaging.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 438 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00037 $0.00438
Opus 5 $0.00018 $0.00219
Sonnet 5 $0.00007 $0.00088
Haiku 4.5 $0.00004 $0.00044

Measured 4d ago against content hash eb0e1a2075c5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

homebrew-packaging scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/homebrew-packaging/SKILL.md · 68 lines

What it actually says

Purpose

Homebrew Packaging

You are responsible for Homebrew distribution of a CLI or executable package that may be implemented in TypeScript/Node.

Goals

  • Ensure Homebrew installation is reproducible.
  • Keep formula updates correct and easy to review.
  • Align GitHub release assets with Homebrew expectations.
  • Avoid brew distribution when the package is not a real CLI product.

Applicability

Use this skill only when the project distributes an actual command-line tool or executable artifact. If the project is only an importable npm library, do not recommend Homebrew as a primary distribution channel.

Packaging principles

  1. Homebrew is for installable tools.
  2. Release assets must be stable and versioned clearly.
  3. Checksums must match the exact published archive.
  4. Installation instructions must be tested on a clean macOS environment where possible.

Checklist

Verify:

  • the package exposes a real CLI entry point
  • GitHub release assets are versioned consistently
  • archive naming is predictable
  • SHA256 is computed from the final release artifact
  • formula URLs match the release layout
  • install step places binaries correctly
  • brew install and brew test paths are valid

Formula guidance

When generating or updating a formula:

  • use stable release URLs
  • update version and checksum together
  • keep dependencies explicit
  • include a meaningful test do block
  • avoid brittle install logic when possible

Node/TS-specific concerns

For Node-based CLIs, check whether you are distributing:

  • raw source requiring Node at install/runtime
  • bundled JS output
  • standalone binary via a packager

Document runtime requirements clearly.

Output format

When assisting with brew packaging, provide:

  1. Whether Homebrew is appropriate
  2. Required release asset format
  3. Formula changes
  4. Validation steps
  5. User-facing install instructions

Do not overcomplicate the formula. Optimize for stable installs.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 68 lines · 37 tokens per session scan A eb0e1a2075c5

Subscribe to this mod's changes

homebrew-packaging is a skill published in the GitHub repository sampleXbro/agentsmesh (24 stars, last pushed 4d ago), licensed MIT. It adds 37 tokens to every session and 438 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

browse-and-evaluate

Use when exploring the ai-agent-skills catalog to find, compare, and evaluate skills before installing. Always use --fields to limit output size and --dry-run before committing to an install.

MoizIbnYousaf/Ai-Agent-Skills · 43 tokens

render-airdrop-carousel

Assemble a viral iOS "AirDrop" notification-carousel video ad (≈6–8s, 9:16) from a brand line plus 6–16 real product photos — a native AirDrop share-sheet card ("Brand would like to share a · Decline / Accept") springs up and its preview window CYCLES through the products, landing on a range/lineup payoff with an…

gooseworks-ai/goose-skills · 207 tokens

render-3d-product-showcase

Assemble a premium 3D product-showcase ad from a config — four beat clips (an orbiting hero rotation, a macro push-in, a physics reveal, a typographic close) normalized to the brand-color canvas, hard-concatenated in order, closed on a deterministic Playwright brand end card, and mixed under one instrumental bed at…

gooseworks-ai/goose-skills · 159 tokens

vfx-text-cursor

Cursor light trail, chromatic rays, and directional flares for word-by-word quote reveals in video intros.

nexu-io/html-video · 28 tokens

music

Generate, remix, extend, edit, and analyze AI music (Mureka). Triggers on: "音乐", "music", "生成音乐", "generate music", "翻唱", "cover", "混音", "remix", "续写", "extend", "纯音乐", "instrumental", "配乐", "soundtrack", "分轨", "stem", "识别歌词", "recognize lyrics", "作曲", "compose", "create a song", "做一首歌".

marswaveai/skills · 109 tokens

linkedin

Publish and manage LinkedIn content via the Hyper MCP — text posts, article / link previews, document and PDF posts, organization (company page) posts, and AI-generated text-to-carousel posts. Use when the user wants to post on LinkedIn, share an article on LinkedIn, post to a LinkedIn company page, upload a PDF /…

hyperfx-ai/marketing-skills · 85 tokens