Files
open-project/commands/op-work.md
T
2026-06-27 17:25:55 -05:00

745 B

description, allowed-tools
description allowed-tools
List/search work packages. Args become filters, e.g. "my open bugs in Infra". Bash(python3 *op.py*), Bash(python *op.py*), Bash(ls *)

Use the openproject skill to list work packages matching the user's request: $ARGUMENTS

Translate the request into op.py wp list flags (--assignee me, --status open, --project NAME, --type Bug, --query TEXT, --sort id:desc, --limit N), run it, and summarize the results. If no arguments were given, default to the current user's open items:

OP="${CLAUDE_PLUGIN_ROOT}/skills/openproject/scripts/op.py"
[ -f "$OP" ] || OP=$(ls "$PWD"/skills/openproject/scripts/op.py 2>/dev/null | head -1)
python3 "$OP" wp list --assignee me --status open