homebrew

homebrew is a skill for Claude Code, Codex from G1Joshi/Agent-Skills. It costs 40 tokens per session (1,120 once invoked), scanned B, original, MIT.

A package manager for macOS and Linux that installs command-line tools and desktop applications. It can also record dependencies in a Brewfile so a machine setup can be repeated.

In plain words
What is it for?
Use it to install tools such as Node, Python, Git, Docker, and PostgreSQL, install macOS applications, and automate setup from a Brewfile.
Why use it?
It avoids downloading and configuring each development tool manually. A shared package list makes it easier to reproduce a developer workstation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to install tools such as Node, Python, Git, Docker, and PostgreSQL, install macOS applications, and automate setup from a Brewfile.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/g1joshi/agent-skills/homebrew
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.

Any agent
npx skills add G1Joshi/Agent-Skills --skill homebrew
Clone the repo
git clone --depth 1 https://github.com/G1Joshi/Agent-Skills

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/g1joshi/agent-skills/homebrew/github.svg)](https://agentmods.dev/skills/g1joshi/agent-skills/homebrew)
Your own site
<a href="https://agentmods.dev/skills/g1joshi/agent-skills/homebrew"><img src="https://agentmods.dev/badge/skills/g1joshi/agent-skills/homebrew/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for homebrew

Your own site · 80×15
<a href="https://agentmods.dev/skills/g1joshi/agent-skills/homebrew"><img src="https://agentmods.dev/badge/skills/g1joshi/agent-skills/homebrew.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,120 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00040 $0.01120
Opus 5.5 $0.00016 $0.00448
Sonnet 5.5 $0.00008 $0.00224
Haiku 4.5 $0.00004 $0.00112

Measured 2mo ago against content hash 743620f942be, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

homebrew scanned grade B with 2 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 2mo 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- Run `sudo brew ...`; Homebrew is explicitly designed to run as an unprivileged user.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

# Install wget
skills/devops/homebrew/SKILL.md · 158 lines

How it starts

The opening of the file, as written. The whole thing — 158 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Homebrew

Homebrew is the premier package manager for macOS and Linux, simplifying the installation and declarative management (via Brewfiles) of developer tools and libraries.

When to Use

  • macOS & Linux Developer Environment Setup: Installing command-line utilities, programming runtimes, and GUI applications.
  • Automating Workstation Provisioning with Brewfile: Declaring team development environments using brew bundle.
  • Authoring Custom Enterprise Formulae & Taps: Distributing internal CLI tools and binaries via private GitHub taps.
  • System Service Management: Managing background daemons (PostgreSQL, Redis, Nginx) using brew services.

Quick Start

# Install wget
brew install wget

# Install VS Code (Cask)
brew install --cask visual-studio-code

Core Concepts

Declarative Workstation Setup with Brewfile

Specifying developer dependencies for automated bootstrapping:

# Brewfile in repository root
tap "homebrew/bundle"
tap "hashicorp/tap"

# CLI Utilities & Runtimes
brew "git"
brew "zsh"
brew "node@22"
brew "[email protected]"
brew "rust"
brew "hashicorp/tap/terraform"
brew "gh"
brew "jq"

# Background Development Daemons
brew "postgresql@16", restart_service: true
brew "redis", restart_service: true

# GUI Applications (macOS Casks)
cask "visual-studio-code"
cask "docker"
cask "raycast"
cask "postman"
# Install all dependencies declared in Brewfile
brew bundle --file=./Brewfile

# Check for unmanaged or missing dependencies
brew bundle check

Authoring a Custom Formula in Ruby

Packaging a CLI tool for distribution via a custom tap:

# Formula/mytool.rb
class Mytool < Formula
  desc "Cloud deployment and verification CLI for enterprise platforms"
  homepage "https://github.com/my-org/mytool"
  url "https://github.com/my-org/mytool/releases/download/v1.0.0/mytool-1.0.0.tar.gz"
  sha256 "a1b2c3d4e5f60718293a4b5c6d7e8f90123456789abcdef0123456789abcdef0"
  license "MIT"

  depends_on "node@22"

  def install
    bin.install "bin/mytool"
    prefix.install "lib"
  end

  test do
    assert_match "mytool version 1.0.0", shell_output("#{bin}/mytool --version")
  end
end

Read the full file on GitHub · 158 lines

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. 2mo ago Changed · +5 lines 743620f942be
  2. 2mo ago Changed · +98 lines · +24 tokens per session scan A → B a59bdaf1dfad
  3. 3mo ago First seen · 55 lines · 16 tokens per session scan A 451b800727a9

Subscribe to this mod's changes

homebrew is a skill published in the GitHub repository G1Joshi/Agent-Skills (16 stars, last pushed 2mo ago), licensed MIT. It adds 40 tokens to every session and 1,120 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

homebrew compared with skills from other repositories

homebrew next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
homebrewG1Joshi/Agent-SkillsSkill162mo agoMITB40Claude Code, Codex
using-agent-skillsaddyosmani/agent-skillsSkill122k9d agoMITA54Claude Code
spec-driven-developmentaddyosmani/agent-skillsSkill122k9d agoMITA117Claude Code
context-engineeringaddyosmani/agent-skillsSkill122k9d agoMITA43Claude Code
doubt-driven-developmentaddyosmani/agent-skillsSkill122k9d agoMITA96Claude Code
git-workflow-and-versioningaddyosmani/agent-skillsSkill122k9d agoMITA131Claude Code
observability-and-instrumentationaddyosmani/agent-skillsSkill122k9d agoMITA66Claude Code