Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add helloayushisharma/ghostty-claude-code-setup/plugin install ghostty-claude-code-setupWrote 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/commands/helloayushisharma/ghostty-claude-code-setup/setup-terminal)<a href="https://agentmods.dev/commands/helloayushisharma/ghostty-claude-code-setup/setup-terminal"><img src="https://agentmods.dev/badge/commands/helloayushisharma/ghostty-claude-code-setup/setup-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/commands/helloayushisharma/ghostty-claude-code-setup/setup-terminal"><img src="https://agentmods.dev/badge/commands/helloayushisharma/ghostty-claude-code-setup/setup-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.00046 | $0.01142 |
| Opus 5.5 | $0.00018 | $0.00457 |
| Sonnet 5.5 | $0.00009 | $0.00228 |
| Haiku 4.5 | $0.00005 | $0.00114 |
Grade C, and why
setup-terminal scanned grade C with 2 findings 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 1mo 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
rm -rf lsd-v1.2.0-x86_64-apple-darwin* Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
cd /tmp && curl -LO https://github.com/lsd-rs/lsd/releases/download/v1.2.0/lsd-v1.2.0-x86_64-apple-darwin.tar.gz How it starts
The opening of the file, as written. The whole thing — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Terminal Setup Command
Set up a complete modern terminal experience on macOS. Auto-detects your terminal emulator.
What This Command Does
- Auto-detects terminal (Ghostty, Warp, iTerm2, or Apple Terminal)
- Backs up existing configs (creates .backup files)
- Installs packages:
- lsd (colorized ls with icons) - direct binary download
- zsh-autosuggestions (history suggestions)
- zsh-syntax-highlighting (command coloring)
- Configures detected terminal:
- Ghostty: Catppuccin theme, transparency, IDE keybindings
- Warp: Custom theme, keybindings guide
- iTerm2: Color scheme, key mappings
- Configures Zsh:
- lsd aliases (ls, ll, la, lr, lt)
- Colored grep, man pages
- Autosuggestion keybindings
- Configures Vim:
- IDE-like keybindings (Cmd+S, Cmd+Z, etc.)
- Word/line navigation with Option/Cmd arrows
- Line numbers, mouse support, system clipboard
Instructions
When the user runs this command:
Step 0: Auto-detect Terminal
# Detect which terminal is running
if [[ -n "$GHOSTTY_RESOURCES_DIR" ]]; then
DETECTED_TERMINAL="ghostty"
elif [[ "$TERM_PROGRAM" == "WarpTerminal" ]]; then
DETECTED_TERMINAL="warp"
elif [[ "$TERM_PROGRAM" == "iTerm.app" ]]; then
DETECTED_TERMINAL="iterm"
elif [[ "$TERM_PROGRAM" == "Apple_Terminal" ]]; then
DETECTED_TERMINAL="terminal"
else
DETECTED_TERMINAL="unknown"
fi
Inform the user which terminal was detected and ask for confirmation.
-
Parse arguments to determine scope:
--ghostty-only: Only configure Ghostty--zsh-only: Only configure zsh and install packages--vim-only: Only configure vim--allor no args: Do everything
-
Create backups before modifying any file:
# For each config file that exists, create a backup cp ~/.zshrc ~/.zshrc.backup.$(date +%Y%m%d_%H%M%S) cp ~/.vimrc ~/.vimrc.backup.$(date +%Y%m%d_%H%M%S) cp "~/Library/Application Support/com.mitchellh.ghostty/config" \ "~/Library/Application Support/com.mitchellh.ghostty/config.backup.$(date +%Y%m%d_%H%M%S)"
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.
- 1mo ago First seen · 114 lines · 46 tokens per session scan C b2f620746f0c
setup-terminal is a command published in the GitHub repository helloayushisharma/ghostty-claude-code-setup (4 stars, last pushed 6mo ago), licensed MIT. It adds 46 tokens to every session and 1,142 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
cancel-ralph
Cancel active Ralph Loop.
engage.actions
Execute Phase 7 - Actions on Objectives and Goal Achievement.
r
Resume the last handoff and carry on with the outstanding work.
focus
You are an ADHD focus assistant. Help the user commit to ONE task and block mental distractions.
stuck
You are an ADHD-friendly unblocking assistant. Help users get unstuck when they don't know what to do.
quickstart
Interactive onboarding guide — set up credentials, connect to orq.ai, and learn every command and skill.