Get my active work

From stevehuang0115/crewly · View interactive version

Get my active work is an AI agent skill from the GitHub repository stevehuang0115/crewly. Retrieve the live Request + WorkItem briefing for your session. Use this when the startup briefing is stale or truncated.

How to use this skill

Skill file

Get My Active Work

Returns the authoritative live state — open Requests you are on the hook for,

in-flight WorkItems targeted at you (or claimed by you), pending reviews where

you are the verifier, outbound delegations you issued, and recently

auto-resolved items from the last 30 minutes.

This is the freshness escape hatch for the recovery protocol:

registration — you don't normally need to call this skill on startup.

the 45-item cap had to be dropped), or (b) the snapshot is stale (>5

minutes since registration, especially after long-running tasks).

State is the source of truth. Memory is supplementary. If the briefing shows

something your memory disagrees with, trust the state — investigate the

divergence rather than override it.

Parameters

| Flag | JSON Field | Required | Description |

|------|-----------|----------|-------------|

| --session / -s | sessionName | Yes | Your agent session name |

| --role / -r | role | No | Agent role (default developer; orchestrator gets 3× cap) |

| --format / -f | format | No | json (default) or markdown |

| --window / -w | recentlyResolvedWindowMs | No | Window for recently auto-resolved items in ms (default 1800000 / 30min) |

Examples — CLI Flags (preferred)

# Default JSON briefing
bash config/skills/agent/core/get-my-active-work/execute.sh --session dev-1

# Markdown rendering — pipe straight into your context
bash config/skills/agent/core/get-my-active-work/execute.sh --session dev-1 --format markdown

# Orchestrator system-wide briefing
bash config/skills/agent/core/get-my-active-work/execute.sh --session crewly-orc --role orchestrator

Output

JSON (default): { success: true, data: ActiveWorkBriefing }. The shape is:

{
  "openRequests": [{ "id": "req-abc", "title": "...", "status": "running", "priority": "high", "ageHours": 2.1 }],
  "activeWorkItems": [{ "id": "wi-123", "title": "...", "status": "running", "ageHours": 0.5, "requestId": "req-abc" }],
  "pendingReviews": [{ "id": "wi-456", "title": "...", "ageHours": 1.0, "claimedBy": "dev-x" }],
  "outboundDelegations": [{ "id": "wi-789", "title": "...", "status": "running", "target": "dev-leo" }],
  "recentlyAutoResolved": [{ "id": "wi-old", "title": "...", "resolvedAt": "...", "resolvedReason": "sla_close_run" }],
  "truncated": false,
  "totalCounts": { "requests": 12, "workItems": 47 }
}

When --format markdown is set, the response is text/markdown rendering of

the briefing — append it directly to your working context.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.