terminal-setup

terminal-setup is a cursor rule for Cursor from rajitsaha/100xprism. It costs 30 tokens per session (439 once invoked), scanned A, original, MIT.

A set of recommendations for organizing a terminal while working with Claude Code, including terminal tabs, status information, tmux windows, and voice dictation.

In plain words
What is it for?
Use it when setting up Ghostty or iTerm2, configuring a status bar, managing parallel worktrees with tmux, or dictating longer prompts.
Why use it?
It helps keep multiple coding tasks and workspaces distinguishable so context and progress are easier to track.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/. Also seen: mentions Claude Code.

Good fit Use it when setting up Ghostty or iTerm2, configuring a status bar, managing parallel worktrees with tmux, or dictating longer prompts.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/rajitsaha/100xprism/terminal-setup
Install

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.

Clone the repo
git clone --depth 1 https://github.com/rajitsaha/100xprism

Made for: Cursor.

Wrote 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.

agentmods badge for terminal-setup

README.md
[![agentmods](https://agentmods.dev/badge/rules/rajitsaha/100xprism/terminal-setup/github.svg)](https://agentmods.dev/rules/rajitsaha/100xprism/terminal-setup)
Your own site
<a href="https://agentmods.dev/rules/rajitsaha/100xprism/terminal-setup"><img src="https://agentmods.dev/badge/rules/rajitsaha/100xprism/terminal-setup/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.

agentmods 80×15 button for terminal-setup

Your own site · 80×15
<a href="https://agentmods.dev/rules/rajitsaha/100xprism/terminal-setup"><img src="https://agentmods.dev/badge/rules/rajitsaha/100xprism/terminal-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 439 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00030 $0.00439
Opus 5 $0.00015 $0.00219
Sonnet 5 $0.00006 $0.00088
Haiku 4.5 $0.00003 $0.00044

Measured 5d ago against content hash 2367d458e3bd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

terminal-setup scanned grade A with 0 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 5d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/terminal-setup.mdc · 49 lines

What it actually says

Configure your terminal environment for maximum Claude Code productivity.

Terminal: Ghostty

  • Synchronized rendering, 24-bit color, proper unicode support
  • Color-code and name terminal tabs for context (e.g., "frontend", "api", "tests")
  • One tab per task or git worktree

Status Bar: /statusline

Run /statusline to configure your status bar to always show:

  • Current context token usage
  • Current git branch
  • Active task / worktree name

This prevents context overload surprises mid-session.

Tmux for Parallel Worktrees

  • One tmux window per Claude task/worktree
  • Name windows after the task: tmux rename-window "auth-refactor"
  • Lets you switch between parallel Claude sessions without losing context

Voice Dictation

  • You speak 3x faster than you type
  • Voice-dictated prompts are more detailed and natural → better Claude output
  • macOS: press fn fn (double-tap fn key) to activate dictation anywhere
  • Use voice for long context dumps, specs, and bug descriptions

Quick Setup Checklist

  • Install Ghostty (or iTerm2 with 24-bit color)
  • Run /statusline to enable token + branch display
  • Set up tmux with one window per active task
  • Enable macOS voice dictation (System Settings → Keyboard → Dictation)
  • Color-code tabs by domain (frontend=blue, api=green, infra=red)

Tips

  • Before starting a large task: open a new tmux window, name it, start fresh
  • Use ctrl+b in tmux to run Claude agents in background
  • The status line's context counter tells you when to /compact or start fresh
Changes

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.

  1. 5d ago First seen · 49 lines · 30 tokens per session scan A 2367d458e3bd

Subscribe to this mod's changes

terminal-setup is a cursor rule published in the GitHub repository rajitsaha/100xprism (10 stars, last pushed 8d ago), licensed MIT. It adds 30 tokens to every session and 439 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.