Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计异常

setup-mac-dev设置 mac 开发人员

Agent Skill

setup-mac-dev 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

216

周安装

9

GitHub Stars

公开资料未说明

下载量

72
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:setup-mac-dev(设置 mac 开发人员)
来源仓库:https://github.com/fwfutures/vibe-a-thon
仓库路径:skills/setup-mac-dev
安装命令:
npx skills add https://github.com/fwfutures/vibe-a-thon --skill setup-mac-dev
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/fwfutures/vibe-a-thon --skill setup-mac-dev

简介

提供 macOS 开发环境初始化与工具链配置支持。

  • 适用于在 Codex、Claude、Cursor、Gemini CLI 中快速搭建本地开发基础。
  • 通过 npx skills add 命令从 vibe-a-thon 仓库安装。
  • 可能修改系统路径或安装命令行工具,建议提前备份重要配置。
  • 注意不同 macOS 版本间的兼容性问题,确保目标系统版本匹配。

SKILL.md

macOS Development Setup

Perform setup directly with tools. Do not offload commands to the user unless a GUI prompt or privileged approval is required.

Use non-interactive flags wherever supported (-y, --yes, NONINTERACTIVE=1).

Before starting, tell the user:

"Setting up this Mac for development now. This may require command-line tools installation and admin approval prompts."

Then execute each step and report concise progress updates.

Step 1: Preflight checks

Run checks first and record results.

uname -sm
which brew || true
which node || true
which npm || true
which npx || true
which uv || true
xcode-select -p || true

Interpretation:

  • If required tools already exist, skip reinstallation and keep going.
  • If xcode-select -p fails, treat missing Command Line Tools (CLT) as a likely blocker for git and Homebrew.

Step 2: Ensure Xcode Command Line Tools (mandatory)

If CLT is missing:

xcode-select --install

Immediately trigger the installer when missing. Do not defer this step.

If the goal is to avoid GUI approval prompts and sudo access is available, prefer a non-GUI install path:

CLT_LABEL="$(softwareupdate -l | awk -F'* ' '/Command Line Tools/ {print $2}' | sed 's/^ *//' | tail -n 1)"
if [ -n "$CLT_LABEL" ]; then
  sudo softwareupdate -i "$CLT_LABEL" --verbose
fi

Notes:

  • This may open a system dialog and require user acceptance.
  • xcode-select --install does not support a --yes auto-approve flag.
  • Re-check with xcode-select -p after the install prompt is accepted.
  • Continue with user-local installs when CLT remains unavailable.

Step 3: Install Homebrew when possible

Check whether Homebrew already exists:

which brew

If missing, attempt install:

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

If Homebrew install fails due missing admin privileges or CLT, continue with no-admin fallback in Step 4.

Step 4: Install Node.js (preferred: Homebrew, fallback: user-local)

Preferred path when Homebrew is available:

brew install node

Fallback path without Homebrew:

mkdir -p "$HOME/.local" "$HOME/.local/bin"
curl -fsSL "https://nodejs.org/dist/v22.22.0/node-v22.22.0-darwin-arm64.tar.gz" -o "$HOME/.local/node-v22.22.0-darwin-arm64.tar.gz"
tar -xzf "$HOME/.local/node-v22.22.0-darwin-arm64.tar.gz" -C "$HOME/.local"
ln -sfn "$HOME/.local/node-v22.22.0-darwin-arm64" "$HOME/.local/node"
ln -sfn "$HOME/.local/node/bin/node" "$HOME/.local/bin/node"
ln -sfn "$HOME/.local/node/bin/npm" "$HOME/.local/bin/npm"
ln -sfn "$HOME/.local/node/bin/npx" "$HOME/.local/bin/npx"

Add local bin to current shell session when using fallback:

export PATH="$HOME/.local/bin:$PATH"

Step 5: Install uv and Python

Install uv:

curl -LsSf https://astral.sh/uv/install.sh | sh

Ensure uv is on PATH for the current session:

export PATH="$HOME/.local/bin:$PATH"

Install a managed Python:

uv python install

Step 6: Install skills packages

Use npx skills add with global scope when not inside a project repository:

GH_TOKEN=<token> npx skills add fwfutures/rome2rio-skills fwfutures/vibe-a-thon -g -y

If clone fails (often due CLT/git or auth issues), fallback to zipball workflow:

  1. Download each repository zipball from GitHub API with GH_TOKEN.
  2. Unzip into a temp folder.
  3. Install from local extracted path:
npx skills add /path/to/extracted/repo -g -y

Security note:

  • Keep tokens in environment variables.
  • Do not echo tokens into logs or summaries.

Step 7: Verify tooling and skills

Run final verification commands:

export PATH="$HOME/.local/bin:$PATH"
which brew || true
node -v
npm -v
npx -v
uv --version
uv python list
npx skills list -g

Step 8: Report completion

Provide a concise final report including:

  • Installed vs already-present tools (brew, node, npm, npx, uv, python)
  • Skills installed successfully
  • Any blockers that remain (for example, CLT still pending)
  • Exact next command if one manual action is still needed

Troubleshooting quick guide

  • npx: command not found: ensure Node is installed and ~/.local/bin is on PATH.
  • Failed to clone repository with xcode-select message: complete CLT install or use zipball fallback.
  • Homebrew installer asks for sudo/admin: switch to user-local Node path when admin access is unavailable.
  • Agents: not linked in npx skills list -g: installation succeeded; linking depends on host agent runtime.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.62%
按下载量换算25

Claude

29.8%
按下载量换算21

Cursor

20.23%
按下载量换算15

Gemini CLI

9.81%
按下载量换算7

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills