Przejdź do treści
Biblioteka skilli
AI i agenci · Research

sessions

/sessions

Przegląda i czyta zapisy rozmów agentów z Claude, Codex, Gemini i OpenCode, by odzyskać kontekst albo sprawdzić, co agenci zrobili.

Repozytorium
agi-cli ↗
Licencja
Apache-2.0
Ostatnia zmiana repozytorium
27.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 27.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co robi i kiedy

Przegląda i czyta zapisy rozmów agentów z Claude, Codex, Gemini i OpenCode, by odzyskać kontekst albo sprawdzić, co agenci zrobili.

Argumenty

/sessions [search query or session ID]
Oryginalny opis (EN)

Search, browse, and read agent conversation transcripts across Claude, Codex, Gemini, and OpenCode. Use this skill to find previous sessions, recover context, or inspect what agents have done.

Jak działa

  1. Basic Usage
  2. Filters
  3. Reading Sessions
  4. Artifacts
  5. Live Tailing
  6. Cost & Duration
  7. Tips
Sekcje z nagłówków SKILL.md, w oryginale · 113 linii, 551 słów
Podgląd SKILL.md
---
name: sessions
description: "Search, browse, and read agent conversation transcripts across Claude, Codex, Gemini, and OpenCode. Use this skill to find previous sessions, recover context, or inspect what agents have done."
argument-hint: "[search query or session ID]"
allowed-tools: Bash(sessions*), Bash(agents ps*), Bash(agents insights*), Bash(agents events*)
user-invocable: true
---

# Sessions Skill

Search and browse agent conversation transcripts. This skill teaches you how to use the standalone `sessions` CLI (`@phnx-labs/sessions-cli`) effectively. `agents sessions` was removed; running sessions are `agents ps`, and resuming one is `agents run auto --resume <id>`.

## Basic Usage

```bash
# Interactive picker: browse and search recent sessions
sessions

# List sessions from current project
sessions | head -20

# Search sessions by text
sessions "add auth middleware"

# Filter by project across all directories
sessions --project agents-cli --all
```

## Filters

| Filter | Example | Description |
|--------|---------|-------------|
| `--agent` | `--agent claude` | Filter by agent type |
| `--all` | `--all` | Include sessions from every directory |
| `--project` | `--project myapp` | Filter by project name |
| `--since` | `--since 2h` | Only sessions newer than this |
| `--until` | `--until 2026-01-01` | Only sessions older than this |
| `--limit` | `--limit 10` | Maximum sessions to return |
| `--sort` | `--sort cost` | Order by `cost`, `duration`, or `recent` (default) |
| `--teams` | `--teams` | Include team-spawned sessions |

## Reading Sessions

```bash
# Render session as markdown
sessions --markdown <session-id>

# Output as JSON
sessions --json <session-id>

# Include only specific roles
sessions --markdown --include user,assistant <session-id>

# Show only first/last N turns
sessions --markdown --last 10 <session-id>
```

## Artifacts

```bash
# List all files written or edited during a session
sessions artifacts <session-id>

# Read a specific artifact
sessions artifacts <session-id> <filename>
```

## Live Tailing

```bash
# Live-tail a session file (Claude and Codex only)
sessions tail <session-id>
# Press Ctrl+C to stop

# Or the unified viewer: resolves a session id OR a host-dispatch run (from
# `agents run --device`), and -f follows either (a session tail here is
# `sessions tail` under the hood)
agents events logs <id>      # show it
agents events logs -f <id>   # follow it
```

## Cost & Duration

Every session is priced offline at scan time (`costUsd`) and its wall-clock
runtime is stored (`durationMs`). Both appear in `--json` output, and the list
can be sorted by either.

```bash
# The 10 most expensive sessions, anywhere
sessions --all --sort cost --limit 10

# Longest-running sessions in this project
sessions --sort duration

# Per-session cost in JSON
sessions --all --sort cost --json | jq '.[] | {shortId, agent, costUsd, durationMs}'
```

Use `agents insights cost` for a rollup (daily $ histogram, top sessions,
per-agent/project/day breakdown):

```bash
agents insights cost                  # daily histogram + top sessions + per-agent breakdown
agents insights cost --since 30d       # last 30 days
agents insights cost --by project      # group by project instead of agent
agents insights cost --by day --json   # machine-readable daily rollup
```

`agents insights cost` answers "how much did this cost?"; `agents view` answers "how
much quota / rate limit is left?" — different commands.

## Tips

- Use `agents ps` to find sessions running right now across terminals, teams, cloud, and headless agents
- Use `--teams` to see what team-spawned agents are doing
- Use `--since 1h` for recent activity
- Use `--sort cost` / `--sort duration` to find your priciest or longest sessions
- `agents insights cost` for spend rollups; `agents view` for rate-limit status
- Combine filters: `sessions --project myapp --since 1d --agent claude`

Wersje

RepozytoriumWynikLicencja
Ta strona · phnx-labs/agi-cli100Apache-2.0
slopus/happy100MIT
Insilico-org/plsi100MIT
adelrodriguez/skills100MIT
leeguooooo/chrome-use95Apache-2.0
gregoryho/arcforge90MIT
centauri-ai/coslash87MIT

Migawka bazy z 13.11.2026 · wersja paczki 0198c19bed6b (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100agent-sessions
    Przeszukuje, wyświetla i wznawia sesje agentów AI w Claude Code, Codex CLI, Gemini CLI, opencode, Hermes Agent i Cline CLI, gdy trzeba odnaleźć dawną rozmowę.
  • 100coding-agent-sessions
    Znajduje, czyta i odtwarza sesje agentów kodujących z logów Codex, Claude, OpenCode, OMO/Senpi i innych, także transkrypty i uruchomienia subagentów.
  • 100sessiondex
    Wyszukuje i czyta dawne sesje agentów Codex, Claude Code, OpenCode i Pi z jednego lokalnego indeksu pełnotekstowego.
  • 100opencode-session-db
    Czyta sesje, wiadomości i wyniki narzędzi OpenCode bezpośrednio z bazy SQLite, do wyszukiwania historii, eksportu sesji i inspekcji starych rozmów.
  • 100portal-router
    Wyszukuje i ładuje możliwości agentów (skille, polecenia, agenci) w Claude, Codex, Gemini, OpenCode i OpenClaw przez jeden portal na podstawie intencji.
  • 100acpmux
    Steruje agentami kodującymi przez acpmux: trwałe sesje Claude Code, Codex i innych, lokalnie i na maszynach przez ssh.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.