tab-close-race-mitigation

Official

Prevent race conditions when closing iTerm tabs

Authormanifoldlogic
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill addresses race conditions that occur when a script attempts to close its own iTerm tab after changing directories or removing the working directory.

Core Features & Use Cases

  • Capture Tab Pattern: Store the tab pattern (title) before directory changes or worktree removals.
  • Pattern Matching: Use the captured pattern to ensure the script can close its own tab even after the directory changes.
  • Non-Fatal Tab Close: Handle cases where the tab cannot be closed successfully, allowing the script to continue executing.

Quick Start

Add the skill and run it with the required arguments.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: tab-close-race-mitigation
Download link: https://github.com/manifoldlogic/claude-code-plugins/archive/main.zip#tab-close-race-mitigation

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.