ox-session-list

ox-session-list is a command for Claude Code from sageox/ox. It costs 0 tokens per session (184 once invoked), scanned A, original, MIT.

A command for listing recent coding-agent sessions stored in the project's SageOx ledger. It can also download and open a selected session.

In plain words
What is it for?
Showing recent sessions, downloading a session marked as a stub, and viewing a selected session as HTML, text, or JSON.
Why use it?
It avoids searching through session records manually and explains how to retrieve sessions whose content is stored separately. This makes previous work easier to find and review.

Command for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/sageox/ox/ox-session-list
Clone the repo
git clone --depth 1 https://github.com/sageox/ox

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ox-session-list

README.md
[![agentmods](https://agentmods.dev/badge/commands/sageox/ox/ox-session-list.svg)](https://agentmods.dev/commands/sageox/ox/ox-session-list)
Your own site
<a href="https://agentmods.dev/commands/sageox/ox/ox-session-list"><img src="https://agentmods.dev/badge/commands/sageox/ox/ox-session-list.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 184 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00184
Opus 5 $0.00000 $0.00092
Sonnet 5 $0.00000 $0.00037
Haiku 4.5 $0.00000 $0.00018

Measured 3d ago against content hash 92b6c4b6be4b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ox-session-list scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

.claude/commands/ox-session-list.md · 21 lines

What it actually says

List recent sessions from the project ledger and offer to view one.

Steps

  1. Run the command below to show recent sessions:

$ARGUMENTS

If no arguments are provided, run:

ox session list --limit 5
  1. Present the results to the user and ask which session they'd like to view
  2. If the selected session's status column shows "stub", run ox session download <name> first to fetch content from LFS
  3. Run ox session view <name> to open in the user's default format (configurable via ox config set view_format html|text|json)
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 21 lines · 0 tokens per session scan A 92b6c4b6be4b

Subscribe to this mod's changes

ox-session-list is a command published in the GitHub repository sageox/ox (51 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 184 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.