状态
mraj6022026-10-28查看 56复制 485
通过运行 `wy status` 显示此机器上每个 Claude Code 会话的状态(账户、文件夹、项目、状态、上下文百分比)。当用户询问其会话正在做什么、哪些需要关注,或运行 /watchyard:status 时使用。
📘如何使用这个技能
- 1复制技能内容·点击上方「Copy SKILL.md」复制全部内容,或 Download 下载到本地
- 2打开你的 AI 客户端·支持 Claude Code、Trae、Cursor、ChatGPT、DeepSeek、Kimi 等任意 AI 助手
- 3粘贴为系统提示/知识文件·Claude Code:放入 .claude/skills/ 目录;普通对话:作为首条消息发送并说「请严格按这份技能文档执行」
- 4直接提出你的需求·AI 会按技能定义的工作流、格式和约束来处理,无需再解释背景
💡 提示:技能生效后,每次对话只需一句需求,AI 会按 SKILL.md 的流程执行。
SKILL.md1020 chars
--- name: status description: Show the state of every Claude Code session on this machine (account, folder, project, state, context %) by running `wy status`. Use when the user asks what their sessions are doing, which need attention, or runs /watchyard:status. allowed-tools: Bash(wy status:*) --- Run `wy status` with the Bash tool and show its output to the user as it is, in a code block. - If the command is not found, say that `wy` is not on PATH and that Watchyard has to be installed first; do not try to install it. - If the command says `status` is not implemented yet, say so in one line. - After the table, add at most one sentence naming any session whose state is `asked`, `needs_permission` or `failed`, since those wait for the user. - Do not run any other command and do not change any file. - Only if the user asks for something live: `wy board` shows the same sessions as a live board in any terminal, and `wy board --once` prints one frame. Mention it; do not run it (it needs a terminal).