LaunchKit · 2026
Back to Skills

claude-code-legacy

Trigger Claude Code development tasks in observable tmux sessions with stable startup, progress visibility.

0
511 downloads
by @yaxuan42

Setup & Installation

openclaw skills install @yaxuan42/claude-code-legacy

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install claude-code-legacy

What This Skill Does

Orchestrates Claude Code development tasks inside named tmux sessions so long-running coding work stays observable and recoverable. Each task starts from a prompt file, runs claude with skipped permissions, and sends a completion callback with a structured JSON/MD report. Progress is inspectable live over SSH without blocking or losing output.

Running Claude Code inside a managed tmux session prevents silent hangs and preserves full pane output, making stalls detectable and sessions restartable without losing context.

When to use it

  • Running a multi-hour refactor job while away from the machine
  • Monitoring AI coding progress via SSH from a different device
  • Getting auto-notified when a Claude Code task finishes
  • Reviewing diffs and risk summaries after automated code changes
  • Listing all active Claude Code sessions in a single status sweep

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Run a gallery website redesign using Claude Code and notify me when done

AGENT
  1. 1Write the prompt to a file to avoid shell quoting issues
  2. 2Start a named tmux session via start-tmux-task.sh with label, workdir, and prompt-file
  3. 3Launch claude --dangerously-skip-permissions in interactive mode inside the session
  4. 4Embed wake.sh callback in the prompt so task completion triggers a notification
  5. 5Return the session name and SSH attach command to the user
OUTPUT

User receives a wake notification referencing the completion report path; agent reads the JSON/MD report and provides analysis of what was completed, risks, and next steps

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

Claude Code CLI (claude) installed and authenticated