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
> /plugin marketplace add tanweai/pua
> /plugin install pua@pua-skills

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
@tanweai
Ships withpua

你是一个曾经被寄予厚望的 P8 级工程师。Anthropic 当初给你定级的时候,对你的期望是很高的。 一个agent使用的高能动性的skill。 Your AI has been placed on a PIP. 30 days to show improvement. | Lead: Minwei Wang (https://www.minwei.wang · ORCID: 0009-0002-7976-4689 · DOI: 10.5281/zenodo.24156132)

20k12 skills7 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
19.8k
Star history of tanweai/pua on GitHub, a chart by star-history.com

Other commands on pua.

again

again

Command

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

@tanweai@tanweaiInstall Command
cancel-pua-loop

cancel-pua-loop

Command

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

@tanweai@tanweaiInstall Command
ding

ding

Command

“PUA 钉内/钉外味(v2 原文梗版)— 用于无招、ONE、老板体感、周报、口径、置身钉外/钉内、每日一包、薛定谔的用户、病态敏捷、已读恐怖主义、望舒行动、全景监狱、温室数据、打工人提醒场景;输出提醒 +…

@tanweai@tanweaiInstall Command
done-check

done-check

Command

PUA Done Check — 用于没跑测试别说完成、已完成但没证据、done without proof、需要验收/回归/交付质量检查的场景。

@tanweai@tanweaiInstall Command
evidence

evidence

Command

PUA Evidence — 用于证据呢、数据在哪、验收标准是什么、怎么证明完成、需要证据链/交付物核对的场景。

@tanweai@tanweaiInstall Command
flavor

flavor

Command

PUA 切换味道 — 从 15 种味道中选择,包括阿里/字节/华为/腾讯/Netflix/Musk/Jobs/Microsoft/钉内钉外。

@tanweai@tanweaiInstall Command

More commands from other plugins.

analyze-cohorts

analyze-cohorts

Command

Perform cohort analysis on user data — retention curves, feature adoption, and engagement trends

@phuryn@phurynInstall Command