Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add leionion/ClawForge --skill mac_terminalgit clone --depth 1 https://github.com/leionion/ClawForgeWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/leionion/clawforge/mac_terminal)<a href="https://agentmods.dev/skills/leionion/clawforge/mac_terminal"><img src="https://agentmods.dev/badge/skills/leionion/clawforge/mac_terminal/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/leionion/clawforge/mac_terminal"><img src="https://agentmods.dev/badge/skills/leionion/clawforge/mac_terminal.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00066 | $0.00289 |
| Opus 5.5 | $0.00026 | $0.00116 |
| Sonnet 5.5 | $0.00013 | $0.00058 |
| Haiku 4.5 | $0.00007 | $0.00029 |
Grade B, and why
mac-terminal scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
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 comma What it actually says
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)
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 40 lines · 66 tokens per session scan B ff85b1873784
mac-terminal is a skill published in the GitHub repository leionion/ClawForge (88 stars, last pushed 7mo ago), licensed Apache-2.0. It adds 66 tokens to every session and 289 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
mac-terminal compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mac-terminalleionion/ClawForge | Skill | 88 | 7mo ago | Apache-2.0 | B | 66 | Claude Code, Codex |
| senpi-portfolioSenpi-ai/senpi-skills | Skill | 146 | today | MIT | A | 385 | Claude Code, Codex |
| senpi-strategy-discoverSenpi-ai/senpi-skills | Skill | 146 | today | MIT | A | 235 | Claude Code, Codex |
| senpi-strategy-opsSenpi-ai/senpi-skills | Skill | 146 | today | MIT | A | 708 | Claude Code, Codex |
| senpi-trader-researchSenpi-ai/senpi-skills | Skill | 146 | today | MIT | A | 256 | Claude Code, Codex |
| senpi-market-pulseSenpi-ai/senpi-skills | Skill | 146 | today | MIT | A | 139 | Claude Code, Codex |
| senpi-smart-moneySenpi-ai/senpi-skills | Skill | 146 | today | MIT | A | 157 | Claude Code, Codex |