growth-agents: Command for Claude Code

.cursor/commands/setup-mac.md

setup-mac is a command for Claude Code, Cursor from maccman/growth-agents. It costs 0 tokens per session (876 once invoked), scanned A, original, MIT.

A guided setup command for preparing a Mac to work with a project, including developer tools, Homebrew, Node Version Manager, and Node.js.

In plain words
What is it for?
Installing or checking the command-line tools and development software needed to run the repository on macOS.
Why use it?
It checks whether each required tool is already installed and verifies installations as it goes. The instructions also explain when a system dialog or a real Terminal window is needed.

Command for Claude CodeCursor

Written for Cursor and Claude Code: installed under .cursor/, but also a Claude Code command (commands/*.md).

This is maccman/growth-agents's own configuration. It tells Claude Code and Cursor how to work on growth-agents itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything growth-agents configures →

Reuse

Borrowing it

Nothing to install: this file belongs to maccman/growth-agents. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/maccman/growth-agents/master/.cursor/commands/setup-mac.md
Clone the repo
git clone --depth 1 https://github.com/maccman/growth-agents

Made for: Claude Code, Cursor.

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 setup-mac

README.md
[![agentmods](https://agentmods.dev/badge/commands/maccman/growth-agents/setup-mac/github.svg)](https://agentmods.dev/commands/maccman/growth-agents/setup-mac)
Your own site
<a href="https://agentmods.dev/commands/maccman/growth-agents/setup-mac"><img src="https://agentmods.dev/badge/commands/maccman/growth-agents/setup-mac/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 setup-mac

Your own site · 80×15
<a href="https://agentmods.dev/commands/maccman/growth-agents/setup-mac"><img src="https://agentmods.dev/badge/commands/maccman/growth-agents/setup-mac.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 876 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. ✓ AI security review Sonnet 5 · 7 Sept 2026 📄 Read the review
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.00000 $0.00876
Opus 5.5 $0.00000 $0.00350
Sonnet 5.5 $0.00000 $0.00175
Haiku 4.5 $0.00000 $0.00088

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

Security

Grade A, and why

setup-mac 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 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.

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.

.cursor/commands/setup-mac.md · 64 lines

How it starts

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

Mac Setup Action

When the user triggers this command, walk them through setting up their Mac for this repo. Run each step automatically. After each install command, verify it succeeded before moving on. Speak in plain, friendly language — assume the user has never used a terminal before.

Steps

  1. Xcode Command Line Tools — Run xcode-select -p to check. If missing, run xcode-select --install and tell the user a system dialog will appear — they should click "Install" and wait for it to finish before continuing. Pause and ask the user to confirm when the install is done.

  2. Homebrew — Run brew --version to check. If missing, install via:

    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
    

    After installing, ensure brew is on the PATH (source the shellenv for Apple Silicon: eval "$(/opt/homebrew/bin/brew shellenv)").

  3. nvm (Node Version Manager) — Run nvm --version to check. If missing, install via:

    curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
    

    Then source the shell profile so nvm is available: source ~/.zshrc.

  4. Node.js — Run node --version to check. If missing, run nvm install --lts to install the latest LTS version.

  5. pnpm — Run pnpm --version to check. If missing, run npm install -g pnpm.

  6. Python 3 — Run python3 --version to check. If missing, run brew install python.

  7. uv (Python package manager) — Run uv --version to check. If missing, run brew install uv.

  8. tsx (TypeScript runner) — Already a devDependency, but verify global availability with pnpm dlx tsx --version or rely on the project-local install.

  9. Media / PDF tools — Optional (ask the user). Install these Homebrew packages if not already present:

    • imagemagick
    • ghostscript
    • ffmpeg Run: brew install imagemagick ghostscript ffmpeg
  10. csvkit — Run uv tool install csvkit (or pipx install csvkit) so csvkit and csvsql are available on the PATH.

Read the full file on GitHub · 64 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 First seen · 64 lines · 0 tokens per session scan E 36b72b7c0c76

Subscribe to this mod's changes

setup-mac is a command published in the GitHub repository maccman/growth-agents (5 stars, last pushed 8mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 876 tokens. 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-31.

Related

setup-mac compared with commands from other repositories

setup-mac next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
setup-macmaccman/growth-agentsCommand58mo agoMITA0Claude Code, Cursor
checklistgithub/spec-kitCommand148kyesterdayMITA13Claude Code
clarifygithub/spec-kitCommand148kyesterdayMITA27Claude Code
specifygithub/spec-kitCommand148kyesterdayMITA13Claude Code
analyzegithub/spec-kitCommand148kyesterdayMITA26Claude Code
convergegithub/spec-kitCommand148kyesterdayMITA35Claude Code
implementgithub/spec-kitCommand148kyesterdayMITA14Claude Code