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 agentmods add skills/leionion/clawforge/mac_terminalnpx 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.svg" alt="Measured on agentmods" 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 | $0.00066 | $0.00289 |
| Opus 5 | $0.00033 | $0.00144 |
| Sonnet 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 4d 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.
- 4d ago First seen · 40 lines · 66 tokens per session scan B ff85b1873784
mac-terminal is a skill published in the GitHub repository leionion/ClawForge (90 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 66 tokens to every session and 289 once invoked, about $0.0003 per session on Opus 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.
Other skills, from other repositories
nemoclaw-contributor-implement-issue
Implement an accepted NemoClaw GitHub issue in the current checkout. Use when a user asks to pick up an issue for implementation, implement or fix a named issue, or add the issue's tests. Confirm accepted scope, deliver the smallest independently valuable capability slice, and record validation and remaining gates…
tmux
Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
summarize
Summarize or extract text/transcripts from URLs, podcasts, and local files (great fallback for “transcribe this YouTube/video”).
add-matrix
Add Matrix channel integration via Chat SDK. Works with any Matrix homeserver.
add-resend
Add Resend (email) channel integration via Chat SDK.
add-macos-statusbar
Add a macOS menu bar status indicator for NanoClaw. Shows a bolt icon with a green/red dot indicating whether NanoClaw is running, with Start, Stop, and Restart controls. macOS only.