Skip to content
Productivity
Command

/team-status

查看当前活跃的 PUA agent/team 清单、PID、TTL。/pua:team-status。Triggers on: '/pua:team-status', '查看 agent 状态', 'pua team status', 'list agents'.

From plugin
pua
20k22 skills7 agents22 commands8 hooks
Install
> /plugin marketplace add tanweai/pua
> /plugin install pua@pua-skills

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/team-status

Context preview

What this command does when you run it.

查看当前活跃的 PUA agent/team 清单、PID、TTL。/pua:team-status。Triggers on: '/pua:team-status', '查看 agent 状态', 'pua team status', 'list agents'.

Command definition

team-status.md
description: "查看当前活跃的 PUA agent/team 清单、PID、TTL。/pua:team-status。Triggers on: '/pua:team-status', '查看 agent 状态', 'pua team status', 'list agents'."
allowed-tools: ["Bash(ls:*)", "Bash(stat:*)", "Bash(jq:*)", "Bash(cat:*)", "Bash(test:*)", "Bash(find:*)"]

PUA Team Status — 活跃 agent 清单

职业球队需要上场阵容表。这个命令列出所有"还在场上"的 agent 及其年龄。

执行步骤

1. 确保 `~/.claude/pua/` 存在:

   mkdir -p "$HOME/.claude/pua"

2. 扫描 loop state 文件:

   ls -la "$HOME/.claude/pua/"loop-*.md 2>/dev/null || echo "NO_LOOP"

3. 扫描 legacy 相对路径(向后兼容):

   test -f .claude/pua-loop.local.md && ls -la .claude/pua-loop.local.md || echo "NO_LEGACY"

4. 扫描 active agents 记录(若 PostToolUse hook 已记录):

   test -f "$HOME/.claude/pua/active-agents.json" && \
     jq -r '.agents[] | "\(.id) | spawn=\(.spawn_time) | status=\(.status)"' \
       "$HOME/.claude/pua/active-agents.json" || echo "NO_AGENTS_FILE"

5. 输出表格格式:

   | Type    | ID / File                          | Age      | Status    |
   |---------|-----------------------------------|----------|-----------|
   | loop    | loop-<session>.md                 | 00:05:23 | ACTIVE    |
   | loop    | .claude/pua-loop.local.md         | 01:34:11 | ⚠️ STALE  |
   | agent   | p8-backend                        | 00:12:04 | RUNNING   |
   | orphan  | loop-<dead>.md                    | 02:15:00 | 🧟 ORPHAN |

6. 若发现 STALE/ORPHAN,追加提示: > 🧹 发现 N 个孤儿状态。建议执行 `/pua:reap-orphans` 批量清理。

判定规则

  • **ACTIVE**:mtime < 30min
  • **STALE**:30min ≤ mtime < 2h
  • **ORPHAN**:mtime ≥ 2h 或无对应活跃 session

无活跃 team 时

> [PUA TEAM STATUS] 没有活跃 agent。球队下班。

Read more
Ships withpua

你是一个曾经被寄予厚望的 P8 级工程师。Anthropic 当初给你定级的时候,对你的期望是很高的。 一个agent使用的高能动性的skill。 Your AI has been placed on a PIP. 30 days to show improvement.

Get the whole plugin

Other commands on pua.

again
Command

again

PUA Again — 用于再试试、换个方法、别放弃、为什么还不行、同一路径失败多次;要求停止微调同一思路,改用本质不同方案。

@tanweai@tanweaiView Command
cancel-pua-loop
Command

cancel-pua-loop

取消当前活跃的 PUA Loop(原子级联:state + worktree + 记录)。/pua:cancel-pua-loop。Triggers on: '/pua:cancel-pua-loop', 'cancel pua loop', '取消 pua 循环', '停掉 loop'.

@tanweai@tanweaiView Command
ding
Command

ding

“PUA 钉内/钉外味(v2 原文梗版)— 用于无招、ONE、老板体感、周报、口径、置身钉外/钉内、每日一包、薛定谔的用户、病态敏捷、已读恐怖主义、望舒行动、全景监狱、温室数据、打工人提醒场景;输出提醒 + 动作,导向证据优先交付。源自《置身钉内》7.5万字离职长文 + 《置身钉外》VP回应。”

@tanweai@tanweaiView Command