← ClaudeAtlas

cross-repo-delegatelisted

Cross-repo work tickets (platform skill). Use when the user wants to file a ticket from one project to another (提单 / 跨仓委托 / 开给别的仓库的单), or in the receiving project to list inbox, claim, challenge assumptions, reply, or close (有没有我的单 / 认领 / 关单). Agent loads this skill and runs the co-located runner; humans only state intent. Target repos come from the local allowlist config, not from this description.
yunsii/wezdeck · ★ 5 · AI & Automation · score 74
Install: claude install-skill yunsii/wezdeck
# Cross-repo delegate (work tickets) **Who runs:** the coding agent (Host TUI / OpenClaw), **not** the human. **Never** tell the user to copy-paste `run.sh` as the primary path. Single source: this directory (`SKILL.md` + `run.sh` + `test.sh`). Other paths are symlinks from `scripts/dev/link-platform-skills.sh`. Skill id: **`cross-repo-delegate`**. Short CLI on PATH (optional): **`delegate`**. ## Three modes (hard rule) | Mode | User intent | You do | Must NOT | | --- | --- | --- | --- | | **1. 主会话创建工单** | 提单 / 跨仓委托 / 只交票 | `create`(**无** `--run`) | 自动 `run` / worktree / worker | | **2. 主会话认领并开发** | 有没有我的单;认领;认领后改 | `inbox` → `claim` → `show` → **在当前 TUI/cwd 开发** | `run` / `create --run` / 建 `delegate-*` worktree | | **3. 主会话建单并委托开发** | 明确说后台跑 / 派工人 / 委托开发 | `create … --run` 或已有单上 `run --phase auto` | 把 Mode 2 的认领误当成 Mode 3 | `claim` 默认 **session**(`owner=human`)。Headless worker 才用 `claim --as-worker`(由 `run` 内部调用)。 **认领 ≠ 派工人。** 用户在 TUI 认领后,由**当前主会话**读票、调研、改代码、`challenge` / `close`。 Concrete repo names live only in `~/.agent/tickets/config.yml` (and the user’s words), not in this skill’s trigger text. **Skip / redirect:** long exploratory design → interactive TUI / OpenClaw C2 handoff, not a ticket loop. ## Mode 3 only — explicit headless dispatch ```bash "$D" create … --run [--backend claude|codex|grok] # = research; if verdict=accept → implement immediately # if challenge/need_input → stops for initiator "$D" run --id <id> --phase auto|research|implement "$D