smithery.ai

list-sessions

List all running SAGA sessions

First seen Apr 1, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Allowed toolsBash

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,627 B
  • docs SUMMARY.md 51 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

List Sessions

!npx @saga-ai/dashboard sessions list

Process

1. Parse the Result

The command above outputs a JSON array of session objects:

[
  {
    "name": "saga-story-my-story-id-1704067200000",
    "status": "running",
    "outputFile": "/tmp/saga-sessions/saga-story-my-story-id-1704067200000.out"
  }
]

2. Format and Display

If the array is empty, report:

No SAGA sessions are currently running.

If sessions exist, parse each session name to extract:

  • Story: The story ID extracted from the session name
  • Started: Calculate elapsed time from the Unix timestamp suffix (milliseconds)

Present in a table format:

## Running Sessions

| Story | Started | Session Name |
|-------|---------|--------------|
| login-flow | 2h 30m ago | saga-story-login-flow-1704067200000 |

To stream logs: `saga sessions logs <session-name>`
To kill session: `saga sessions kill <session-name>`

3. Session Name Parsing

The session name format is: saga-story-<storyId>-<timestamp>

To extract components:

  1. Remove the saga-story- prefix
  2. The last 13 digits (after the final -) are the timestamp (Unix milliseconds)
  3. Everything between the prefix and the timestamp is the storyId

Example: saga-story-auth-login-flow-1704067200000

  • Remove prefix saga-story- → auth-login-flow-1704067200000
  • Last 13 digits after final - → timestamp 1704067200000
  • Remainder → storyId auth-login-flow