Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Infra Homebrew

ASecurity

Install, manage, and troubleshoot macOS packages using Homebrew. Use when a required tool is missing, needs updating, or when managing taps, casks, or formula versions.

8 stars
0 votes
0 copies
0 views
Added 9/20/2026
devopspythonbashnodedockerrefactoringgit

Works with

cli

Security Analysis

A100/100

Scanned 9/20/2026

Install to Claude Code

$npx -y skills add tstapler/dotfiles --skill infra-homebrew --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Infra Homebrew?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Infra Homebrew
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tstapler-infra-homebrew/badge)](https://www.skillsdirectory.com/skills/tstapler-infra-homebrew)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: infra-homebrew
description: Install, manage, and troubleshoot macOS packages using Homebrew. Use when a required tool is missing, needs updating, or when managing taps, casks, or formula versions.
---

# Homebrew Package Management

Use Homebrew for all macOS software installation and management.

> For installing missing tools needed by other skills on macOS, apply this skill before proceeding.

## When to Use

**Use this skill for:**
- Installing missing CLI tools or applications
- Updating or upgrading packages
- Managing taps (third-party formula sources)
- Troubleshooting formula conflicts or version issues
- Checking what's installed

**Don't use for:**
- Python packages → use `uv` or `pip`
- Node packages → use `npm` / `pnpm`
- Language-specific package managers in general

## Installing a Missing Tool

When a tool is not found, follow this workflow:

### 1. Check if Already Installed

```bash
brew list --formula | grep <tool>
which <tool>
```

### 2. Search for the Formula

```bash
brew search <tool>
```

If not found via `brew search`, use **WebSearch** to find the correct formula name or tap:

```
Search: "install <tool> homebrew" OR "brew tap <tool>"
```

### 3. Install

```bash
# Standard formula
brew install <formula>

# Cask (GUI apps)
brew install --cask <cask>

# From a tap
brew tap <org>/<repo>
brew install <org>/<repo>/<formula>
```

### 4. Verify Installation

```bash
which <tool>
<tool> --version
```

## Common Operations

| Task | Command |
|------|---------|
| Install package | `brew install <formula>` |
| Install GUI app | `brew install --cask <app>` |
| Update Homebrew | `brew update` |
| Upgrade all packages | `brew upgrade` |
| Upgrade one package | `brew upgrade <formula>` |
| Uninstall | `brew uninstall <formula>` |
| List installed | `brew list` |
| Search | `brew search <term>` |
| Info/version | `brew info <formula>` |
| Fix issues | `brew doctor` |
| Add tap | `brew tap <org>/<repo>` |

## Key Formulas for This Workflow

| Tool | Formula | Purpose |
|------|---------|---------|
| ast-grep | `brew install ast-grep` | Semantic code search |
| grit | `brew install gritql` | AST-based refactoring |
| gh | `brew install gh` | GitHub CLI |
| jj | `brew install jj` | Jujutsu VCS |
| uv | `brew install uv` | Python package manager |

## Troubleshooting

**Formula not found:**
```bash
brew update && brew search <term>
# If still not found, use WebSearch to find the tap
```

**Permission errors:**
```bash
brew doctor  # Diagnose issues
```

**Version conflicts:**
```bash
brew info <formula>  # Shows available versions
brew install <formula>@<version>  # Install specific version
brew link --overwrite <formula>  # Force link
```

**Outdated Homebrew:**
```bash
brew update && brew upgrade
```

---

## Related Skills

| Skill | When to apply |
|-------|--------------|
| `infra-docker-build-test` | After installing Docker via Homebrew, validate image builds |
| `code-ast-grep` | Install `ast-grep` via Homebrew for structural code search |

Attribution

tstaplertstapler
View sourceMore from tstapler →
SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Related Skills

Terraform Module Library

Build reusable Terraform modules for AWS, Azure, and GCP infrastructure following infrastructure-as-code best practices. Use when creating infrastructure modules, standardizing cloud provisioning, or implementing reusable IaC components.

393431 votes

sematext-otel

Wire a service's OpenTelemetry output to Sematext Cloud. Walks through region, App-type, instrumentation flow (managed OTLP endpoint vs Sematext Agent), and signal selection (traces/metrics/logs), then produces the exact env-var block and points at a runnable reference example in this repo. Invoke when instrumenting a new app for Sematext.

01 votes

Deployment Patterns

Deployment workflows, CI/CD pipeline patterns, Docker containerization, health checks, rollback strategies, and production readiness checklists for web applications. Use when setting up deployment infrastructure or planning releases.

2459130 votes

Babysit

Watch a pull request or review cycle until it is ready to merge. Use when asked to babysit, monitor, or keep checking PR comments, reviews, and CI until all actionable issues are resolved.

929660 votes

V7 Roster

Interact with the Paperclip control plane API for task coordination and governance. Use when checking assignments, updating issue status, posting comments, delegating work, managing routines, or calling Paperclip API endpoints.

805540 votes
View all in devops →