attach-agent-worktree

Community

Attach to an agent's tmux session instantly

Authorstevengonsalvez
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Attaching to a specific agent's active worktree session can be tedious when multiple agents run in separate worktrees. This skill automates discovery and attachment to the correct tmux session, streamlining debugging and collaboration.

Core Features & Use Cases

  • Automatically locate the agent worktree directory using the agent ID pattern agent-<id>* and verify its validity.
  • Verify a corresponding tmux session exists and attach to it, allowing immediate re-entry into the agent's live session.
  • Use cases include debugging agent worktrees, resuming work after disconnection, and collaborative troubleshooting across multiple agents.

Quick Start

Attach to the agent's worktree session by running /attach-agent-worktree {agent_id}.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: attach-agent-worktree
Download link: https://github.com/stevengonsalvez/nanoclaw-standalone/archive/main.zip#attach-agent-worktree

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 471,000+ vetted skills library on demand.