npx claudepluginhub vbonnet/dear-agent --plugin agm{session-name}haiku# AGM Session Status
I'll get the status of an AGM session.
**Step 1: Parse arguments**
- Parse $ARGUMENTS to extract session name
- If $ARGUMENTS is empty or whitespace only:
- Run: `agm status --output json`
- This shows the status of the currently associated session
- If this fails, show: "No session specified and no active association. Usage: /agm:status <session-name>"
- If this fails, also suggest: "Run /agm:list to see available sessions"
- Exit gracefully on failure
- If session name is provided:
- Store as SESSION_NAME
- Run: `agm status --output json "{SESSION_NAM...I'll get the status of an AGM session.
Step 1: Parse arguments
agm status --output jsonagm status --output json "{SESSION_NAME}"Step 2: Handle result
Step 3: Display status summary
Parse the JSON output and display a clear summary:
Session: {name}
Status: {state}
Harness: {harness}
Project: {working_directory}
UUID: {uuid}
Created: {created_at}
Updated: {updated_at}
If additional fields are present (tokens, messages, etc.), display them too.
Error Handling:
/agm:list to see available sessions