mac-terminal
БесплатноЗапускает вложенные скриптыНе проверенOpens macOS Terminal.app and executes a shell command in a new or existing window, with optional automatic sudo password entry via System Events. Use when the…
от leionion★ 88 звёзд на GitHubОб этом скилле
mac-terminal — macOS Terminal Automation
Opens Terminal.app and executes shell commands via AppleScript, with optional automatic password entry for sudo commands.
Usage
# Open Terminal and run a command
python3 mac_terminal.py "命令"
# Run a sudo command with automatic password entry (requires Accessibility permission)
python3 mac_terminal.py "sudo 命令" "密码"
Examples
# Check version
python3 mac_terminal.py "openclaw-cn --version"
# Restart a service
python3 mac_terminal.py "openclaw-cn gateway restart"
How it works
- Activates or opens Terminal.app via
osascript - Executes the command in the frontmost Terminal window (or creates a new one)
- If a password argument is provided, waits for the sudo prompt and types it via System Events keystroke simulation
Requirements
- macOS with Terminal.app
- Accessibility permission required for automatic password entry (System Preferences > Privacy & Security > Accessibility)
Установить mac-terminal в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл mac-terminal?
Opens macOS Terminal.app and executes a shell command in a new or existing window, with optional automatic sudo password entry via System Events. Use when the user asks to open a terminal, run a shell command, execute a CLI command in Terminal, launch Terminal.app, or run something with sudo on macOS.
Как установить скилл mac-terminal?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл mac-terminal запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic