focus-color

A switch for turning iTerm2 tab coloring on or off. iTerm2 is a terminal application for macOS, and the color change applies when switching tabs.

In plain words
What is it for?
Use it to toggle focus tab coloring in iTerm2 and receive confirmation of whether it is on or off.
Why use it?
It avoids manually editing the setting or restarting the terminal when you want to enable or disable focus-based tab colors.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/brianharms/dispatch/iterm-scripts
Any agent
npx skills add brianharms/dispatch --skill iterm-scripts
Clone the repo
git clone --depth 1 https://github.com/brianharms/dispatch

Made for: Claude Code, Codex.

Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 199 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00019 $0.00199
Opus 5 $0.00010 $0.00100
Sonnet 5 $0.00004 $0.00040
Haiku 4.5 $0.00002 $0.00020

Measured yesterday against content hash 94cb96fce26f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

focus-color 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 yesterday.

The scan reads SKILL.md. This mod also ships 1 executable file (focus_tab_color.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

iterm-scripts/SKILL.md · 20 lines

What it actually says

Toggle the iTerm2 focus-tab-color feature on or off (takes effect immediately, no restart needed).

The script always runs via AutoLaunch, but checks for ~/.claude/focus_color_enabled to decide whether to apply colors.

Steps

  1. Check if the file ~/.claude/focus_color_enabled exists.
  2. If it EXISTS (feature is currently ON):
    • Delete it: rm ~/.claude/focus_color_enabled
    • Tell the user: "Focus tab coloring is now OFF."
  3. If it does NOT exist (feature is currently OFF):
    • Create it: touch ~/.claude/focus_color_enabled
    • Tell the user: "Focus tab coloring is now ON."
  4. Remind the user: the change takes effect on the next tab switch.
Files

What ships with it

1 file 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.

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. yesterday First seen · 20 lines · 0 tokens per session scan A 94cb96fce26f

Subscribe to this mod's changes

focus-color is a skill published in the GitHub repository brianharms/dispatch (5 stars, last pushed 2mo ago), licensed MIT. It adds 19 tokens to every session and 199 once invoked, about $0.0001 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-08-31.

Related

Other skills, from other repositories

liney-cli

Use the Liney CLI (liney) to inspect or control a running Liney terminal workspace and the agent sessions it hosts. Liney runs several coding agents in parallel, each in its own pane/tab/worktree, so reach for this whenever the user wants to act on a pane other than the current one — check on, coordinate, read from…

everettjf/liney · 195 tokens

swift-focusengine-pro

Reviews, writes, and fixes focus management code for all Apple platforms (tvOS, iOS/iPadOS, watchOS, visionOS, macOS), covering SwiftUI, UIKit, AppKit, and RealityKit. Use when reading, writing, or reviewing apps that handle focus, hover, key view loops, or Digital Crown navigation.

mhaviv/Swift-FocusEngine-Agent-Skill · 74 tokens

build-and-verify

Build, test, and end-to-end verify the Multiplex visionOS/iPadOS SSH-tmux terminal app. Use this whenever you need to compile the app, run its unit tests, regenerate the Xcode project after editing project.yml or adding/ removing source files, or confirm a change works in the real app on the visionOS or iPad…

multiplex-term/Multiplex · 176 tokens

swift

Swift programming patterns for iOS and macOS.

miles990/claude-software-skills · 11 tokens

emil-design-eng

This skill encodes Emil Kowalski's philosophy on UI polish, component design, animation decisions, and the invisible details that make software feel great.

multiplex-term/Multiplex · 35 tokens

animation-vocabulary

Reverse-lookup glossary that turns a vague description of a web animation or motion effect into its exact term ("the bouncy thing when a popover opens" → Pop in; "the iOS rubber-band scroll" → Rubber-banding). Use when the user asks "what's it called when…", or describes a motion effect without knowing its name and…

multiplex-term/Multiplex · 98 tokens