claude-code-history-viewer: Instructions file for Claude Code

CLAUDE.md

claude-code-history-viewer CLAUDE.md is an instructions file for Claude Code, Codex from jhlee0409/claude-code-history-viewer. It costs 9,701 tokens per session, scanned C, original, MIT.

Repository instructions for Claude Code History Viewer, a desktop app that browses conversation histories from several AI coding assistants. They describe project conventions, commands, and when to request prompt enhancement.

In plain words
What is it for?
Use them when developing this repository, choosing its package manager, running checks, understanding its supported history sources, or handling prompts beginning with “EP:”.
Why use it?
They give an agent the project context and working rules needed to make changes consistently.

Instructions file for Claude CodeCodex

Written for Codex and Claude Code: reads ~/.codex or $CODEX_HOME, but also the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; names the TodoWrite tool.

This is jhlee0409/claude-code-history-viewer's own configuration. It tells Claude Code and Codex how to work on claude-code-history-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 claude-code-history-viewer configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/jack/client/ai-code-tracker/package.json.

About the project

Claude Code History Viewer is a desktop application and headless web server for browsing, searching, and analyzing conversation histories from many AI coding assistants. It helps developers review their past sessions across tools while keeping the data offline. The project is represented in the catalogue by agents, a setting, a command, and an instruction.

jhlee0409/claude-code-history-viewer · 2,139 stars · on GitHub · jhlee0409.github.io

Reuse

Borrowing it

Nothing to install: this file belongs to jhlee0409/claude-code-history-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/jhlee0409/claude-code-history-viewer/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/jhlee0409/claude-code-history-viewer

Made for: Claude Code, Codex.

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 claude-code-history-viewer CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/jhlee0409/claude-code-history-viewer/claude-md/github.svg)](https://agentmods.dev/instructions/jhlee0409/claude-code-history-viewer/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/jhlee0409/claude-code-history-viewer/claude-md"><img src="https://agentmods.dev/badge/instructions/jhlee0409/claude-code-history-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 claude-code-history-viewer CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/jhlee0409/claude-code-history-viewer/claude-md"><img src="https://agentmods.dev/badge/instructions/jhlee0409/claude-code-history-viewer/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 9,701 This file is loaded in full into every session.
When invoked 9,701 The same file — it is already loaded in full.
Security scan C 1 finding. 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.09701 $0.09701
Opus 5 $0.04850 $0.04850
Sonnet 5 $0.01940 $0.01940
Haiku 4.5 $0.00970 $0.00970

Measured 9d ago against content hash 84b0b65bc42f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade C, and why

claude-code-history-viewer CLAUDE.md scanned grade C with 1 finding 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 9d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

| `pnpm install` 후에도 모듈 못 찾음 | lockfile과 실제 node_modules 불일치 | `rm -rf node_modules && pnpm install` |
CLAUDE.md · 981 lines

How it starts

The opening of the file, as written. The whole thing — 981 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.

If the user's prompt starts with “EP:”, then the user wants to enhance the prompt. Read the PROMPT_ENHANCER.md file and follow the guidelines to enhance the user's prompt. Show the user the enhancement and get their permission to run it before taking action on the enhanced prompt.

The enhanced prompts will follow the language of the original prompt (e.g., Korean prompt input will output Korean prompt enhancements, English prompt input will output English prompt enhancements, etc.)

Principal

Use pnpm Package Manager.

gemini/codex CLIs are opt-in adversarial reviewers only — invoke them solely with explicit user approval (see .claude/commands/pr-review-check.md), never as a mandatory first step.

가독성이 높은 설계 추구 예측 가능성이 높은 설계 추구 높은 응집도 설계 추구 낮은 결합도 설계 추구

Project Overview

Claude Code History Viewer is a Tauri-based desktop application that allows users to browse and analyze conversation history from multiple AI coding assistants: Claude Code (~/.claude), Codex CLI (~/.codex), OpenCode (~/.local/share/opencode/), GitHub Copilot CLI (~/.copilot/session-state/), and VS Code Copilot Chat (<UserData>/workspaceStorage/<hash>/chatSessions/).

Development Commands

This project uses just (a command runner). Install with brew install just or cargo install just.

Recommended (using just)

just setup          # Install dependencies and configure build environment
just dev            # Run full Tauri app in development mode (hot reload)
just lint           # Run ESLint
just tauri-build    # Build production app (macOS universal binary, Linux native)
just test           # Run vitest in watch mode
just test-run       # Run tests once with verbose output
just sync-version   # Sync version from package.json to Cargo.toml and tauri.conf.json

Alternative (using pnpm directly)

pnpm install                                    # Install dependencies
pnpm exec tauri dev                             # Development mode
pnpm exec tauri build --target universal-apple-darwin  # macOS build
pnpm exec tauri build                           # Linux/Windows build
pnpm dev                                        # Start Vite dev server only
pnpm build                                      # Build frontend with TypeScript checking
pnpm lint                                       # Run ESLint

Read the full file on GitHub · 981 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. 9d ago First seen · 981 lines · 9,701 tokens per session scan C 84b0b65bc42f

Subscribe to this mod's changes

claude-code-history-viewer CLAUDE.md is an instructions file published in the GitHub repository jhlee0409/claude-code-history-viewer (2,139 stars, last pushed 4d ago), licensed MIT. It adds 9,701 tokens to every session, about $0.0485 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). 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

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 3,735 tokens