跳到正文
TakoAPI
返回技能列表

claude-code-legacy

由 yaxuan42 提供

Coding Agents & IDEs
511下载量由 clawskills.sh 提供
1浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

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

智能体
  1. 1

    Write the prompt to a file to avoid shell quoting issues

  2. 2

    Start a named tmux session via start-tmux-task.sh with label, workdir, and prompt-file

  3. 3

    Launch claude --dangerously-skip-permissions in interactive mode inside the session

  4. 4

    Embed wake.sh callback in the prompt so task completion triggers a notification

  5. 5

    Return the session name and SSH attach command to the user

输出

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

前置要求

  • Claude Code CLI (claude) installed and authenticated

安装

clawhub install yaxuan42/claude-code-legacy

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接