Workers 技能管理
- 作者仓库星标 330
- 许可证 MIT
- 作者仓库 claude-skill-registry
Workers Skill
List and manage active Claude workers.
Usage
/workers
Instructions
When the user invokes /workers, show the status of all worktrees and workers:
1. List Git Worktrees
git worktree list
2. Show Worker Details
For each worktree (excluding main):
- Branch name and last commit
- Files changed vs main
- Whether it's ahead/behind main
# For each worktree branch
git log <branch> --oneline -1
git diff main...<branch> --stat | tail -1
git rev-list --left-right --count main...<branch>
3. Format Output
Display as a table:
| Worktree | Branch | Last Commit | Changes | Status |
|----------|--------|-------------|---------|--------|
| ../artemis-issue-42 | feat/issue-42-retry | abc123 Add retry | 3 files | +2 ahead |
| ../artemis-feat-logging | feat/add-logging | def456 Add logs | 5 files | +1 ahead |
4. Suggest Actions
Based on status, suggest:
- Workers with commits → "Ready for PR?"
- Stale worktrees (no recent commits) → "Clean up?"
- Workers behind main → "Rebase needed"
5. Quick Actions
Offer shortcuts:
/worker-cleanup <worktree>- Remove a specific worktree/worker-pr <branch>- Create PR from worker branch/worker-continue <worktree> "additional task"- Send more work
Notes
- Only shows worktrees in the parent directory (
../artemis-*) - Main repo worktree is always excluded from the list
- Worktrees can be filtered by status if needed
- 流狐分类
- 数据
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 94 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @majiayu000 · MIT
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 即装即用
- 是否需要外部 API Key
- 未发现要求
- 检测到的系统要求
- 未声明
- 底层运行要求
- 未声明
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 检测到的网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
# 3. Format Output
| Worktree | Branch | Last Commit | Changes | Status |
|----------|--------|-------------|---------|--------|
| ../artemis-issue-42 | feat/issue-42-retry | abc123 Add retry | 3 files | +2 ahead |
| ../artemis-feat-logging | feat/add-logging | def456 Add logs | 5 files | +1 ahead | Usage
Usage
Instructions
When the user invokes /workers, show the status of all worktrees and workers:
1. List Git Worktrees
1. List Git Worktrees
2. Show Worker Details
For each worktree (excluding main): Branch name and last commit Files changed vs main
3. Format Output
Display as a table:
4. Suggest Actions
Based on status, suggest: Workers with commits → "Ready for PR?" Stale worktrees (no recent commits) → "Clean up?"
# Workers Skill
List and manage active Claude workers.
## Usage
```
/workers
```
## Instructions
When the user invokes `/workers`, show the status of all worktrees and workers:
### 1. List Git Worktrees
```bash
git worktree list
```
### 2. Show Worker Details
For each worktree (excluding main):
- Branch name and last commit
- Files changed vs main
- Whether it's ahead/behind main
```bash
# For each worktree branch
git log <branch> --oneline -1
git diff main...<branch> --stat | tail -1
git rev-list --left-right --count main...<branch>
```
### 3. Format Output
Display as a table:
```
| Worktree | Branch | Last Commit | Changes | Status |
|----------|--------|-------------|---------|--------|
| ../artemis-issue-42 | feat/issue-42-retry | abc123 Add retry | 3 files | +2 ahead |
| ../artemis-feat-logging | feat/add-logging | def456 Add logs | 5 files | +1 ahead |
```
### 4. Suggest Actions
Based on status, suggest:
- Workers with commits → "Ready for PR?"
- Stale worktrees (no recent commits) → "Clean up?"
- Workers behind main → "Rebase needed"
### 5. Quick Actions
Offer shortcuts:
- `/worker-cleanup <worktree>` - Remove a specific worktree
- `/worker-pr <branch>` - Create PR from worker branch
- `/worker-continue <worktree> "additional task"` - Send more work
## Notes
- Only shows worktrees in the parent directory (`../artemis-*`)
- Main repo worktree is always excluded from the list
- Worktrees can be filtered by status if needed 证据边界与执行链路
作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> Usage → Instructions → 1. List Git Worktrees → 2. Show Worker Details → 3. Format Output → 4. Suggest Actions
要点 -> List and manage active Claude workers.
文件/命令 -> /workers · /worker-cleanup <worktree> · /worker-pr <branch> · /worker-continue <worktree> "additional task" · ../artemis-
内容 SHA-256 -> 305d591eaa33
原文结构
适用与边界
原文中的明确线索
/workers、/worker-cleanup <worktree>、/worker-pr <branch>、/worker-continue <worktree> "additional task"、../artemis-