← 返回 Skills 市场
ckchzh

Macos Toolkit

作者 BytesAgain2 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
200
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install macos-toolkit
功能描述
macOS command line tool for developers – The ultimate tool to manage your Mac. It provides a huge mac cli, shell, bash, cli, command-line-tool, linux.
使用说明 (SKILL.md)

macOS Toolkit

Macos Toolkit v2.0.0 — a utility toolkit for managing, analyzing, converting, and processing data from the command line. Supports run, check, convert, analyze, generate, preview, batch, compare, export, config, status, and report operations — all tracked with timestamped entries stored locally.

Commands

Run scripts/script.sh \x3Ccommand> [args] to use.

Command Description
run \x3Cinput> Record a run entry. Without args, shows the 20 most recent run entries.
check \x3Cinput> Record a check entry. Without args, shows recent check entries.
convert \x3Cinput> Record a conversion entry. Without args, shows recent convert entries.
analyze \x3Cinput> Record an analysis entry. Without args, shows recent analyze entries.
generate \x3Cinput> Record a generation entry. Without args, shows recent generate entries.
preview \x3Cinput> Record a preview entry. Without args, shows recent preview entries.
batch \x3Cinput> Record a batch processing entry. Without args, shows recent batch entries.
compare \x3Cinput> Record a comparison entry. Without args, shows recent compare entries.
export \x3Cinput> Record an export entry. Without args, shows recent export entries.
config \x3Cinput> Record a configuration entry. Without args, shows recent config entries.
status \x3Cinput> Record a status entry. Without args, shows recent status entries.
report \x3Cinput> Record a report entry. Without args, shows recent report entries.
stats Show summary statistics across all entry types (counts, data size).
search \x3Cterm> Search all log files for a term (case-insensitive).
recent Show the 20 most recent entries from the activity history.
help Show help message with all available commands.
version Show version string (macos-toolkit v2.0.0).

Data Storage

All data is stored in ~/.local/share/macos-toolkit/:

  • Each command type writes to its own .log file (e.g., run.log, check.log, convert.log)
  • Entries are timestamped in YYYY-MM-DD HH:MM|\x3Cvalue> format
  • A unified history.log tracks all actions across command types
  • Export files are written to the same directory as export.json, export.csv, or export.txt

Requirements

  • Bash 4+ with set -euo pipefail
  • Standard Unix utilities (date, wc, du, tail, grep, sed, cat)
  • No external dependencies — works out of the box on Linux and macOS

When to Use

  1. System checks and diagnostics — use check and analyze to record system health checks, diagnostic results, and analysis findings on your Mac
  2. File conversion tracking — log convert operations when batch-converting file formats, encoding, or data transformations
  3. Configuration management — use config to track system configuration changes and status to record current system states for auditing
  4. Batch processing workflows — record batch and generate entries to document automated processing pipelines and their outputs
  5. Reporting and export — use report to log generated reports and export accumulated data to JSON, CSV, or TXT for sharing or archival

Examples

# Record a system check
macos-toolkit check "Homebrew packages up to date, 142 installed"

# Log a file conversion operation
macos-toolkit convert "Converted 50 HEIC photos to JPEG format"

# Analyze disk usage
macos-toolkit analyze "SSD: 234GB used / 500GB total, 47% capacity"

# Record a batch operation
macos-toolkit batch "Resized 200 images to 1080p for web deployment"

# Search across all entries
macos-toolkit search "disk"

# Export all data as JSON
macos-toolkit export json

# View summary statistics
macos-toolkit stats

Output

All commands print results to stdout. Each recording command confirms the save and shows the total entry count for that category. Redirect output to a file with:

macos-toolkit stats > report.txt

Configuration

Set the DATA_DIR inside the script or modify the default path ~/.local/share/macos-toolkit/ to change where data is stored.


Powered by BytesAgain | bytesagain.com | [email protected]

安全使用建议
This skill appears coherent and implements a local logging/utility CLI. Before installing or running: (1) review scripts/script.sh yourself (it will create ~/.local/share/macos-toolkit and write logs there); (2) be aware any sensitive text you pass to the tool will be stored in those log files and included in exports; (3) note the package metadata has no homepage/source repository listed—if you need stronger provenance, ask the publisher for a repository or signed release before trusting it. Also, the export JSON has a minor bug that may include a literal "\n]" instead of a newline—harmless but worth reviewing if you rely on the JSON output.
功能分析
Type: OpenClaw Skill Name: macos-toolkit Version: 1.0.0 The skill is a simple logging utility that records timestamped text entries to a local directory (~/.local/share/macos-toolkit/). While the SKILL.md description is slightly hyperbolic, claiming to be a 'toolkit to manage your Mac,' the actual implementation in scripts/script.sh only performs basic file appending, searching (grep), and data formatting (JSON/CSV export) of its own log files. There are no indicators of data exfiltration, malicious execution, or persistence.
能力评估
Purpose & Capability
Name/description describe a local macOS CLI for recording and exporting entries. The included script implements those commands and stores data under ~/.local/share/macos-toolkit. Nothing in the files asks for unrelated cloud credentials, unusual binaries, or system-level privileges.
Instruction Scope
SKILL.md and scripts/script.sh are consistent: commands operate only on per-user data files in the DATA_DIR, print to stdout, and use standard Unix utilities (date, wc, du, tail, grep, sed, cat). The instructions do not direct the agent to read unrelated system files, contact external endpoints, or exfiltrate secrets.
Install Mechanism
No install spec is provided (instruction-only with a bundled script). Nothing is downloaded or extracted; no external package installs are requested.
Credentials
The skill requests no environment variables or credentials. The script uses HOME to derive a per-user data directory (expected for a local CLI). There are no unexplained SECRET/TOKEN requirements.
Persistence & Privilege
always is false and the skill does not modify other skills or system-wide settings. It creates and writes only to its own data directory under the user's home directory.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install macos-toolkit
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /macos-toolkit 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
publish v1.0.0
元数据
Slug macos-toolkit
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Macos Toolkit 是什么?

macOS command line tool for developers – The ultimate tool to manage your Mac. It provides a huge mac cli, shell, bash, cli, command-line-tool, linux. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 200 次。

如何安装 Macos Toolkit?

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

Macos Toolkit 是免费的吗?

是的,Macos Toolkit 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Macos Toolkit 支持哪些平台?

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

谁开发了 Macos Toolkit?

由 BytesAgain2(@ckchzh)开发并维护,当前版本 v1.0.0。

💬 留言讨论