Skip to content
Back to skills

Iterm Scripts

ASecurity

Toggle iTerm2 focus tab coloring on or off. Usage: /focus-color

  • 5 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 15, 2026
development

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 15, 2026

npx -y skills add brianharms/dispatch --skill iterm-scripts --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Iterm Scripts?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Iterm Scripts
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/brianharms-iterm-scripts/badge)](https://www.skillsdirectory.com/skills/brianharms-iterm-scripts)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: focus-color
description: Toggle iTerm2 focus tab coloring on or off. Usage: /focus-color
---

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 in this skill

  • SKILL.md778 B
  • focus_tab_color.py4.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.