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.
Skill by leionion
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/leionion-mac-terminal
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/mac-terminal
What's inside
- Skill name
mac-terminal- Description
- 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.
- License
- Apache-2.0
- Instructions
- 36 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Agent Skills spec issues
- name: "mac-terminal" does not match folder "mac_terminal"
Files (3)
- SKILL.md
- _meta.json
- mac_terminal.py
SKILL.md (first lines)
# mac-terminal — macOS Terminal Automation Opens Terminal.app and executes shell commands via AppleScript, with optional automatic password entry for sudo commands. ## Usage ```bash # 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 ```bash # 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)
From leionion/ClawForge, Apache-2.0.
More from leionion/ClawForge
- 0.513score
strategy-backtest
leionion
Runs SMA crossover backtests on historical OHLCV/candlestick data, calculating total return, Sharpe ratio, max drawdown, win rate, and trade log.
SkillDFreshness: D★ 89Claude Code +9 - 0.513score
mac-brightness
leionion
Adjusts Mac screen brightness by setting a specific level (0–1), increasing, or decreasing display brightness via the brightness CLI tool.
SkillDFreshness: D★ 89Claude Code +9 - 0.513score
mac-volume
leionion
Gets or sets the macOS system output volume (0–100) using osascript.
SkillDFreshness: D★ 89Claude Code +9 - 0.513score
mac-clipboard
leionion
Reads the current Mac clipboard (pasteboard) contents to stdout or writes new text to the clipboard using pbcopy/pbpaste.
SkillDFreshness: D★ 89Claude Code +9 - 0.513score
mac-dark-mode
leionion
Toggles macOS dark mode on, off, or auto-toggle by reading and writing the AppleInterfaceStyle user default.
SkillDFreshness: D★ 89Claude Code +9 - 0.513score
mac-mail
leionion
Opens the macOS Mail application (Mail.app) using the open command.
SkillDFreshness: D★ 89Claude Code +9 - 0.513score
mac-activate
leionion
Brings a specified macOS application to the foreground using osascript, making its window visible and focused.
SkillDFreshness: D★ 89Claude Code +9 - 0.510score
metaskillbase
leionion
Decompose human demands into atomic meta skills using OpenClaw Skill Forge Cutter.
SkillDFreshness: D★ 89Claude Code +9 - 0.509score
memory-backup
leionion
Creates scheduled tar.gz backups of agent memory or chat history, lists existing backup snapshots, and restores from a previous backup point with automatic…
SkillDFreshness: D★ 89Claude Code +9 - 0.509score
mac-finder
leionion
Opens macOS Finder at a specified directory path, with tilde expansion and common-directory shortcuts.
SkillDFreshness: D★ 89Claude Code +9
Signals
- Stars
- 89
- Forks
- 21
- Open issues
- 0
- Last commit (this folder)
- Apr 20, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/leionion/ClawForge
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from leionion
- 0.513score
strategy-backtest
leionion
Runs SMA crossover backtests on historical OHLCV/candlestick data, calculating total return, Sharpe ratio, max drawdown, win rate, and trade log.
SkillDFreshness: D★ 89Claude Code +9 - 0.513score
mac-brightness
leionion
Adjusts Mac screen brightness by setting a specific level (0–1), increasing, or decreasing display brightness via the brightness CLI tool.
SkillDFreshness: D★ 89Claude Code +9 - 0.513score
mac-volume
leionion
Gets or sets the macOS system output volume (0–100) using osascript.
SkillDFreshness: D★ 89Claude Code +9 - 0.513score
mac-clipboard
leionion
Reads the current Mac clipboard (pasteboard) contents to stdout or writes new text to the clipboard using pbcopy/pbpaste.
SkillDFreshness: D★ 89Claude Code +9 - 0.513score
mac-dark-mode
leionion
Toggles macOS dark mode on, off, or auto-toggle by reading and writing the AppleInterfaceStyle user default.
SkillDFreshness: D★ 89Claude Code +9 - 0.513score
mac-mail
leionion
Opens the macOS Mail application (Mail.app) using the open command.
SkillDFreshness: D★ 89Claude Code +9
Cite this page
mac-terminal skill. Agent Mart. https://agentmart.dev/skills/leionion-mac-terminal (last updated 2026-10-24)