/vibeview:vibeviewfrom vibeview
Use the vibeview CLI to browse, search, inspect, and analyze Claude Code sessions. Trigger when the user asks about their session history, token usage, costs, past conversations, or wants to find something they discussed previously.
Ships in vibeview. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
vibeview is a CLI tool for browsing and analyzing Claude Code sessions. It reads session data from ~/.claude and provides commands to search, inspect, and report on past conversations.
Prerequisite: vibeview must be installed and available in PATH. If not found, tell the user to install it with go install github.com/gg/vibeview/apps/cli/cmd/vibeview@latest or brew install vibeview.
Find sessions by content. Returns matching sessions with context snippets.
vibeview search "<query>"
vibeview search --limit 5 "<query>"
vibeview search --dirs myproject "<query>"
vibeview search --dirs /Users/me/src/myproject "<query>" # scope to one project
vibeview search --json "<query>"
Always pass --dirs <absolute_path> when the project's absolute path is known
— e.g. the user is asking about work in the current working directory, or names a
project you can resolve to a path. --dirs matches project-path substrings
(comma-separated, OR-combined), so an absolute path narrows the search to that
one project and keeps unrelated sessions out of the results. Only search
unscoped when the project is genuinely unknown or the user is searching across
everything.
--commit derives the query from a git commit — its hash, the paths it changed,
and its subject words — so the session that produced the commit is findable even
when the transcript never quotes the hash.
vibeview search --commit <hash> # resolves in the cwd repo
vibeview search --commit HEAD~3 --repo ~/src/proj
vibeview search --commit <hash> --window 12h # default window is 24h
vibeview search --commit <hash> --dirs myproject # scope out other projects
--repo says where to read the commit; --dirs filters which sessions are
searched. They are separate because a session run from a git worktree records
that worktree as its project, so the commit and the session live at different
paths — don't scope --dirs to the main checkout when hunting for one.
Results are limited to sessions active within --window of the commit time,
which is what keeps common file paths from matching unrelated work. Widen the
window when the commit was written well after the session that produced it.
Browse all sessions in a table format.
vibeview sessions
vibeview sessions --sort messages # sort by message count
vibeview sessions --dir myproject # filter by project directory
vibeview sessions --limit 10 --offset 20
vibeview sessions --json
Render a session as readable text. Accepts a session ID (full or prefix) or a .jsonl file path.
vibeview show <session-id>
vibeview show --verbose <session-id> # expand tool calls with full input/output
vibeview show --thinking <session-id> # include thinking blocks
vibeview show --json <session-id> # raw message JSON
vibeview show --no-color <session-id>
Render a session to a self-contained HTML file that opens offline — no server, no network requests. Use it when the user wants to share, attach, or archive a rendered transcript.
vibeview export <session-id> --out session.html
vibeview export <session-id> --format html --out page.html
vibeview export session.jsonl > page.html # writes to stdout without --out
The page shows the same conversation, tool calls, timeline, subagents, and token totals as the web interface. Conversation search is omitted (it needs a running server) and uncommon languages render unhighlighted.
Go programs can render the same page without the vibeview binary by importing the SDK — suggest this when the user is building a tool that needs to embed session pages:
go get github.com/driangle/vibeview/apps/[email protected]
page, err := sessionhtml.RenderSessionHTML(sessionhtml.Request{Session: "877fff1e"})
Analyze a session's metadata, token usage, and insights (tools used, files touched, errors).
vibeview inspect <session-id>
vibeview inspect --verbose <session-id>
vibeview inspect --json <session-id>
vibeview inspect --yaml <session-id>
vibeview inspect /path/to/session.jsonl
Reconstruct a whole multi-agent work episode from one session ID: its subagent transcripts plus time-clustered sibling sessions from the same project.
vibeview related <session-id>
vibeview related --gap 1h <session-id> # widen sibling clustering window (default 30m)
vibeview related --no-subagents <session-id>
vibeview related --no-siblings <session-id>
vibeview related --json <session-id>
vibeview related --no-color <session-id>
Show usage summary across all sessions or filtered by project.
vibeview stats
vibeview stats --json
vibeview stats --dirs myproject
vibeview stats /path/to/project
Launch a local web UI for browsing sessions visually.
vibeview web # default port 4880
vibeview web --port 8080
vibeview web --open # open browser automatically
vibeview web --lan # trusted LAN only: plaintext, token-authenticated
vibeview web --lan --tls-cert ./cert.pem --tls-key ./key.pem # encrypted LAN access
When running inside a Claude Code tool-use context, discover which session launched this process.
vibeview self
vibeview self --json
The command walks up the process tree and matches against active PID files to find the current session. Use --json for machine-readable output ({"session_id": "..."}).
All commands accept:
--claude-dir <path> — path to claude data directory (default: ~/.claude)--log-level <level> — debug, warn, or error (default: warn)vibeview search when the user wants to find a past conversation by topic or keyword. Pass --dirs <absolute_path> whenever you know the project path — it narrows results to that project. The same applies to vibeview stats --dirs and vibeview sessions --dir.vibeview sessions --sort messages to help users identify their longest sessions.vibeview inspect to get detailed metadata about a specific session (tokens, cost, tools, files).vibeview related to pull together a multi-agent episode — a session's subagents and its sibling sessions from the same project.vibeview show to read back the actual conversation content.vibeview export when the user wants a session they can open, share, or link to outside the terminal.vibeview self when running inside Claude Code to discover the current session ID.vibeview stats for aggregate session and project activity reporting.--json output when you need to parse or process the results programmatically.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub driangle/vibeview --plugin vibeview