一键导入
ws
Use when scanning, finding, resuming, merging, branching, or untangling Lev workstreams.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when scanning, finding, resuming, merging, branching, or untangling Lev workstreams.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Routes adaptive multi-agent deliberation with fractal context cycles. Use when using /cdo, think/deep/debug/parliament work, or long runs paired with autoresearch scheduling.
Use when you need an evidence-first provenance report from `cass`, repo docs, `.lev`, `~/.agents/diagrams`, `qmd`, or Grep/Glob tools.
Use the codebase knowledge graph for structural code queries. Triggers on: explore the codebase, understand the architecture, what functions exist, show me the structure, who calls this function, what does X call, trace the call chain, find callers of, show dependencies, impact analysis, dead code, unused functions, high fan-out, refactor candidates, code quality audit, graph query syntax, Cypher query examples, edge types, how to use search_graph.
Handle blocked destructive commands. Use when dcg blocks rm -rf, git reset --hard, DROP DATABASE, kubectl delete, or when configuring agent safety guardrails.
Use when running a visible Lev autopilot that coordinates research, interview, arch, propose, AgentPing, warm-worker intent, realtime dashboard intent, and lev exec updates across the lifecycle.
Heartbeat-driven autonomous development loop using lev loop autodev, with interval, budget, and tick controls for in-process SDLC execution.
| name | ws |
| description | Use when scanning, finding, resuming, merging, branching, or untangling Lev workstreams. |
| skill_type | workflow |
| category | lifecycle |
| output_template | hud |
Workstream YAML is the durable identity for lifecycle work until workstreams are
graph ops. /ws is the projection and repair surface around
.lev/pm/workstreams/*/state/workstream.yaml.
Lifecycle lane: Router
Entity movement: unknown | stale | split -> routed | active | paused
Workstream: this skill resolves or updates workstream identity
Upstream: /work, any lifecycle skill missing workstream context
Downstream: /work, /capture, /propose, /exec, /handoff
Router: /work
HUD: end with 🧬 {ws} ⚡{exec_count} 📥{capture_count} ⏸️{paused_count} ✅{done_count} | 🚦{gate}={score} | ⏭️ {next} | 🔁{loop_state}
/ws # scan all workstreams
/ws list # same as /ws
/ws find <query> # search workstreams and projections
/ws show <id> # show one workstream state
/ws resume <id> # load state, recent projections, and next verb
/ws merge <a> <b> # combine lineages with conflicts called out
/ws branch <id> <name> # fork a workstream
/ws untangle # detangle agents/lane claims
steps:
- id: read_state
action: Read matching workstream YAML files.
validation: "At least one state file was read, or no match is explicit."
on_failure: "Do not infer identity from memory only."
- id: associate_projection
action: Link handoffs, plans, captures, decisions, and tasks that mention the workstream.
validation: "Output separates durable state from projection files."
on_failure: "Show durable state only and mark projections unknown."
- id: choose_next_verb
action: Recommend the lifecycle owner for the next entity movement.
validation: "Next verb is one of /capture, /prior-art, /propose, /exec, /close, /handoff."
on_failure: "Route back to /work."
.lev/pm/workstreams/*/state/workstream.yaml.lev/pm/workstreams/*/captures/*.lev/pm/tasks/*/{dna.yaml,execution.yaml}.lev/pm/handoffs/*.md as projections.lev/pm/plans/*.md, .lev/pm/designs/*.md, .lev/pm/decisions/*.lev/mail/* when detangling/work routes after /ws resolves identity./handoff writes end-of-session state./capture writes workstream capture artifacts.