Mac Cli
by ckchzh
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 skill add --url github.com/openclaw/skills/tree/main/skills/ckchzh/macos-toolkit文档
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 <command> [args] to use.
| Command | Description |
|---|---|
run <input> | Record a run entry. Without args, shows the 20 most recent run entries. |
check <input> | Record a check entry. Without args, shows recent check entries. |
convert <input> | Record a conversion entry. Without args, shows recent convert entries. |
analyze <input> | Record an analysis entry. Without args, shows recent analyze entries. |
generate <input> | Record a generation entry. Without args, shows recent generate entries. |
preview <input> | Record a preview entry. Without args, shows recent preview entries. |
batch <input> | Record a batch processing entry. Without args, shows recent batch entries. |
compare <input> | Record a comparison entry. Without args, shows recent compare entries. |
export <input> | Record an export entry. Without args, shows recent export entries. |
config <input> | Record a configuration entry. Without args, shows recent config entries. |
status <input> | Record a status entry. Without args, shows recent status entries. |
report <input> | Record a report entry. Without args, shows recent report entries. |
stats | Show summary statistics across all entry types (counts, data size). |
search <term> | 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
.logfile (e.g.,run.log,check.log,convert.log) - Entries are timestamped in
YYYY-MM-DD HH:MM|<value>format - A unified
history.logtracks all actions across command types - Export files are written to the same directory as
export.json,export.csv, orexport.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
- System checks and diagnostics — use
checkandanalyzeto record system health checks, diagnostic results, and analysis findings on your Mac - File conversion tracking — log
convertoperations when batch-converting file formats, encoding, or data transformations - Configuration management — use
configto track system configuration changes andstatusto record current system states for auditing - Batch processing workflows — record
batchandgenerateentries to document automated processing pipelines and their outputs - Reporting and export — use
reportto 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 | hello@bytesagain.com
相关 Skills
表格处理
by anthropics
围绕 .xlsx、.xlsm、.csv、.tsv 做读写、修复、清洗、格式整理、公式计算与格式转换,适合修改现有表格、生成新报表或把杂乱数据整理成交付级电子表格。
✎ 做 Excel/CSV 相关任务很省心,能直接读写、修复、清洗和格式转换,尤其擅长把乱七八糟的表格整理成交付级文件。
PDF处理
by anthropics
遇到 PDF 读写、文本表格提取、合并拆分、旋转加水印、表单填写或加解密时直接用它,也能提取图片、生成新 PDF,并把扫描件通过 OCR 变成可搜索文档。
✎ PDF杂活别再来回切工具了,文本表格提取、合并拆分到OCR识别一次搞定,连扫描件也能变可搜索。
Word文档
by anthropics
覆盖Word/.docx文档的创建、读取、编辑与重排,适合生成报告、备忘录、信函和模板,也能处理目录、页眉页脚、页码、图片替换、查找替换、修订批注及内容提取整理。
✎ 搞定 .docx 的创建、改写与精排版,目录、批量替换、批注修订和图片更新都能自动化,做正式文档尤其省心。
相关 MCP 服务
文件系统
编辑精选by Anthropic
Filesystem 是 MCP 官方参考服务器,让 LLM 安全读写本地文件系统。
✎ 这个服务器解决了让 Claude 直接操作本地文件的痛点,比如自动整理文档或生成代码文件。适合需要自动化文件处理的开发者,但注意它只是参考实现,生产环境需自行加固安全。
by wonderwhy-er
Desktop Commander 是让 AI 直接执行终端命令、管理文件和进程的 MCP 服务器。
✎ 这工具解决了 AI 无法直接操作本地环境的痛点,适合需要自动化脚本调试或文件批量处理的开发者。它能让你用自然语言指挥终端,但权限控制需谨慎,毕竟让 AI 执行 rm -rf 可不是闹着玩的。
EdgarTools
编辑精选by dgunning
EdgarTools 是无需 API 密钥即可解析 SEC EDGAR 财报的开源 Python 库。
✎ 这个工具解决了金融数据获取的痛点——直接让 AI 读取结构化财报,比如让 Claude 分析苹果的 10-K 文件。适合量化分析师或金融开发者快速构建数据管道。但注意,它依赖 SEC 网站稳定性,高峰期可能延迟。