obs-sessions

Retrieve recent AI coding sessions with provider, model, duration, and cost.

70|6|Updated Feb 23, 2026
One-click install
npx skills add https://github.com/shepard-system/shepard-obs-stack --skill obs-sessions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: obs-sessions
Source: https://github.com/shepard-system/shepard-obs-stack/tree/main/.claude/skills/obs-sessions
Command: npx skills add https://github.com/shepard-system/shepard-obs-stack --skill obs-sessions

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides a clear overview of recent AI coding sessions, helping users understand their activity, costs, and performance across different AI models and tools.

Core Features & Use Cases

  • Session Overview: Displays recent sessions with details on the model used, tools invoked, cost, and duration.
  • Cross-Provider Comparison: Consolidates session data from Claude, Gemini, and Codex.
  • Troubleshooting & Analysis: Helps identify sessions with high costs, excessive tool usage, or errors, and provides links to detailed traces.
  • Use Case: A user wants to know how much they spent on Claude Code yesterday, which models they used, and how long their longest session was.

Quick Start

Show me my recent AI coding sessions with their models and durations.

Frequently Asked Questions about obs-sessions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I track AI coding session costs across different providers?

Review AI coding sessions by retrieving provider, session ID, model, duration, and cost data from Prometheus and Tempo. It consolidates activity from Claude, Gemini, and Codex to show metrics like daily usage and tool calls per session.

Can I compare Claude and Gemini coding sessions in a single view?

Yes, you can compare Claude and Gemini coding sessions in a single view. The tool consolidates cross-provider session data, allowing you to review models used, tool calls invoked, and durations side by side.

What is the best way to review yesterday's AI coding activity and expenditures?

The best way to review yesterday's AI coding activity is to query session metrics for daily usage. The tool retrieves session history, displaying models, durations, and costs to help you identify high-cost or excessive tool usage sessions.

Do I need Prometheus and Tempo to retrieve AI coding session metrics?

Yes, you need Prometheus and Tempo to retrieve AI coding session metrics. The tool queries Prometheus for cost and session metrics and Tempo for trace data to provide a comprehensive session history.

How does observability tracking work for AI coding sessions with high tool usage?

Observability tracking for AI coding sessions works by querying Tempo for trace data and Prometheus for metrics. It helps identify sessions with excessive tool usage or errors, providing links to detailed traces for troubleshooting.