← 返回 Skills 市场
rogue-agent1

Brew Audit

作者 rogue-agent1 · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
722
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install brew-audit
功能描述
Audit Homebrew installation — outdated packages, cleanup opportunities, and health checks. Use when asked about brew updates, system maintenance, or package...
使用说明 (SKILL.md)

Homebrew Audit Skill

Quickly audit your Homebrew installation for outdated packages, cleanup opportunities, and health issues.

Usage

# Full audit (outdated + cleanup + doctor + summary)
bash scripts/brew-audit.sh

# Specific sections
bash scripts/brew-audit.sh --section outdated
bash scripts/brew-audit.sh --section cleanup
bash scripts/brew-audit.sh --section doctor

# JSON output (outdated only)
bash scripts/brew-audit.sh --json --section outdated

What It Checks

📦 Outdated Packages

Lists all formulae and casks with newer versions available, with current → available version info.

🧹 Cleanup Opportunities

Shows how many old versions/downloads can be removed and estimated disk savings. Run brew cleanup to reclaim.

🩺 Health Check

Runs brew doctor to detect:

  • Formulae with no source (orphaned kegs)
  • Deprecated/disabled packages needing replacement
  • Permission issues, broken symlinks, config problems

📊 Summary

Total formulae, casks, and Homebrew prefix.

When to Use

  • Periodic system maintenance (weekly/monthly)
  • Before major upgrades
  • When disk space is low
  • After noticing build failures (doctor check)

Updating Packages

After reviewing the audit:

brew upgrade              # upgrade all outdated
brew upgrade \x3Cformula>    # upgrade specific package
brew cleanup              # remove old versions
安全使用建议
This appears safe and coherent for macOS users with Homebrew installed. Before installing/using: (1) confirm you're on macOS and have 'brew' available, (2) review the included script (it is short and readable), (3) note that running 'brew cleanup' or 'brew upgrade' will change system state—only run those if you intend to update/remove packages, and (4) consider asking the registry owner to set the OS restriction to macOS/darwin to avoid accidental use on unsupported systems.
功能分析
Type: OpenClaw Skill Name: brew-audit Version: 1.0.0 The OpenClaw skill bundle for 'brew-audit' is benign. The `SKILL.md` provides clear, non-malicious instructions for the AI agent and users. The `scripts/brew-audit.sh` script exclusively uses standard Homebrew commands (`brew outdated`, `brew cleanup --dry-run`, `brew doctor`, `brew list`, `brew --prefix`) to perform system audits. There is no evidence of data exfiltration, unauthorized network activity, persistence mechanisms, obfuscation, or prompt injection attempts against the agent. All actions are transparent and directly related to the stated purpose of auditing a Homebrew installation.
能力评估
Purpose & Capability
Name and description match the included script and SKILL.md. The skill only requires the 'brew' binary which is appropriate for a Homebrew audit. Minor mismatch: SKILL.md metadata indicates macOS (darwin) but the registry lists no OS restriction—this should be reconciled but does not affect functionality.
Instruction Scope
SKILL.md and the script instruct only to run brew commands (outdated, cleanup --dry-run, doctor, list, --prefix). The script does not read arbitrary files or environment variables, nor does it post data to external endpoints. Note: Homebrew commands may contact network services as part of normal operation (e.g., checking for newer versions), which is expected behavior.
Install Mechanism
No install spec (instruction-only) and included script is plain shell. Nothing is downloaded or extracted by the skill itself. Risk is low because no external installers or URL-based payloads are used.
Credentials
No environment variables, credentials, or config paths are requested. The script does not access secrets or unrelated system config.
Persistence & Privilege
always:false (no forced inclusion). The skill is user-invocable and allows normal autonomous invocation, which is the platform default. The skill does not modify other skills or system-wide configs.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install brew-audit
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /brew-audit 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of the Homebrew Audit Skill. - Audits Homebrew installation for outdated packages, cleanup opportunities, and system health checks. - Offers full or sectional audits (outdated, cleanup, doctor). - Supports JSON output for outdated packages. - Provides usage guidance and recommended maintenance steps. - Requires Homebrew and macOS (Darwin).
元数据
Slug brew-audit
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Brew Audit 是什么?

Audit Homebrew installation — outdated packages, cleanup opportunities, and health checks. Use when asked about brew updates, system maintenance, or package... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 722 次。

如何安装 Brew Audit?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install brew-audit」即可一键安装,无需额外配置。

Brew Audit 是免费的吗?

是的,Brew Audit 完全免费(开源免费),可自由下载、安装和使用。

Brew Audit 支持哪些平台?

Brew Audit 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Brew Audit?

由 rogue-agent1(@rogue-agent1)开发并维护,当前版本 v1.0.0。

💬 留言讨论