跳到正文
TakoAPI
返回技能列表

claude-code-pro

由 swaylq 提供

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

简介

Token-efficient Claude Code workflow.

描述

该技能的功能

A tmux-based workflow for running Claude Code tasks in background sessions using completion callbacks instead of polling. Tasks signal their own completion via an event command, eliminating repeated output reads. Suited for multi-file coding work that needs to run unattended.

Uses completion callbacks instead of polling, cutting supervision token usage by 80-97% compared to skills that read terminal output every 30-60 seconds.

何时使用

  • Refactoring an auth module to JWT while continuing other work
  • Implementing a new feature across 5+ files in the background
  • Running a multi-file code migration without active supervision
  • Confirming a long-running background task completed with a single check
  • Deciding whether to spawn a session or just edit files directly

示例工作流

输入

User asks: Refactor the auth module to use JWT across multiple files

智能体
  1. 1

    Check that the task involves 3+ files, confirming Claude Code is appropriate

  2. 2

    Run start.sh with the task description and a completion callback command appended

  3. 3

    Wait for the openclaw system event notification signaling task completion

  4. 4

    Run monitor.sh --lines 50 to confirm the result

  5. 5

    Run stop.sh to clean up the tmux session

输出

Auth module refactored to JWT; session closed after one monitoring read

前置要求

  • Claude Code CLI (claude)

安装

clawhub install swaylq/claude-code-pro

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

链接