Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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от 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

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

_meta.jsonmac_terminal.py

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 запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить mac-terminal с