feat: add work-queue skill for Marcus and Steve
Some checks failed
ci / build-test-push (push) Failing after 29s
Some checks failed
ci / build-test-push (push) Failing after 29s
This commit is contained in:
8
skill/bin/wq_my_queue
Executable file
8
skill/bin/wq_my_queue
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
# wq_my_queue — list dispatched items for a given agent (what Steve polls)
|
||||
|
||||
wq_my_queue() {
|
||||
local agent="$1"
|
||||
[[ -z "$agent" ]] && { echo "Usage: wq my-queue <agent>" >&2; exit 1; }
|
||||
curl -sf "$API_URL/work?status=dispatched&agent=$agent" | jq .
|
||||
}
|
||||
Reference in New Issue
Block a user