cc-sessions-viewer: Instructions file for Claude Code

CLAUDE.md

cc-sessions-viewer CLAUDE.md is an instructions file for Claude Code from jerrywu001/cc-sessions-viewer. It costs 2,996 tokens per session, scanned A, original, MIT.

Project instructions for cc-sessions-viewer, an app for viewing Claude Code sessions in a two-panel layout. They cover its documentation, commands, architecture, and split-screen design.

In plain words
What is it for?
Developing or maintaining cc-sessions-viewer while following its repository guidance.
Why use it?
They give an agent the project context and working rules needed to make changes safely.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

This is jerrywu001/cc-sessions-viewer's own configuration. It tells Claude Code how to work on cc-sessions-viewer itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything cc-sessions-viewer configures →

Reuse

Borrowing it

Nothing to install: this file belongs to jerrywu001/cc-sessions-viewer. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/jerrywu001/cc-sessions-viewer/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/jerrywu001/cc-sessions-viewer

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 cc-sessions-viewer CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/jerrywu001/cc-sessions-viewer/claude-md/github.svg)](https://agentmods.dev/instructions/jerrywu001/cc-sessions-viewer/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/jerrywu001/cc-sessions-viewer/claude-md"><img src="https://agentmods.dev/badge/instructions/jerrywu001/cc-sessions-viewer/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cc-sessions-viewer CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/jerrywu001/cc-sessions-viewer/claude-md"><img src="https://agentmods.dev/badge/instructions/jerrywu001/cc-sessions-viewer/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,996 This file is loaded in full into every session.
When invoked 2,996 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.02996 $0.02996
Opus 5.5 $0.01198 $0.01198
Sonnet 5.5 $0.00599 $0.00599
Haiku 4.5 $0.00300 $0.00300

Measured 1mo ago against content hash 693f08d65a4b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cc-sessions-viewer CLAUDE.md 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 1mo 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.

CLAUDE.md · 224 lines

How it starts

The opening of the file, as written. The whole thing — 224 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

What this app is

A macOS Tauri 2 desktop app (Vue 3 + Rust) for browsing, viewing, and trashing local session transcripts from coding agent CLIs — Claude Code, Codex, Grok Build, Antigravity CLI (agy), and opencode. Each CLI stores JSONL transcripts in its own on-disk layout; this app normalizes them all into the same project → sessions → chat UI, plus a soft-delete trash that survives across agents. Grok supports local history and terminal workflows, but not GUI Chat. The app is read-only against original transcript contents; deletion is a move into the shared trash, never rm.

Commands

npm run tauri dev        # full dev (Tauri shell + Vite on :1420)
npm run tauri build      # bundle .app / .dmg into src-tauri/target/release/bundle/
npm run dev              # web-only Vite preview; Tauri invokes will fail
npm run build            # vue-tsc --noEmit + vite build
npm test                 # vitest watch mode
npm run test:run         # vitest single run (CI)
npm run test:coverage    # vitest single run + v8 coverage report

There is no linter wired up — npm run build (which runs vue-tsc --noEmit first) is the typecheck step.

Unit tests run on Vitest (jsdom env) and live under test/, mirroring src/. They cover the agent-agnostic logic modules (format, i18n, settings, chatToolbar, trashToolbar, sessionsToolbar, export, api, fly, tooltip) and the leaf components (DiffBlock, ToolResult, CollapsibleBox, Sidebar, SidebarTopbar, SessionsTopbar, TrashTopbar, SettingsModal). Config is vitest.config.ts (separate from vite.config.ts); jsdom polyfills for matchMedia / ResizeObserver / Element.animate live in test/setup.ts. App.vue, views/, and modals/ are stateful shells left to manual/e2e testing and excluded from coverage. test/tsconfig.json is IDE-only — the production build never type-checks test/.

Read the full file on GitHub · 224 lines

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. 1mo ago First seen · 224 lines · 2,996 tokens per session scan A 693f08d65a4b

Subscribe to this mod's changes

cc-sessions-viewer CLAUDE.md is an instructions file published in the GitHub repository jerrywu001/cc-sessions-viewer (408 stars, last pushed yesterday), licensed MIT. It adds 2,996 tokens to every session, about $0.0120 per session on Opus 5.5. 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.

Related

Other instructions, from other repositories