claude-code-history-viewer: Agent for Claude Code

.claude/agents/tauri-axum-parity-checker.md

tauri-axum-parity-checker is an agent for Claude Code from jhlee0409/claude-code-history-viewer. It costs 112 tokens per session (707 once invoked), scanned A, original, MIT.

A read-only checker that compares the commands exposed by a Tauri desktop app with the HTTP routes exposed by its Axum web server.

In plain words
What is it for?
Use it after adding or renaming commands, changing frontend calls, or reviewing whether Tauri and WebUI support the same command set.
Why use it?
It finds cases where a frontend command works in the desktop app but is missing or mismatched in the web interface.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is jhlee0409/claude-code-history-viewer's own configuration. It tells Claude Code 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 →

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,155 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/agents/tauri-axum-parity-checker.md
Clone the repo
git clone --depth 1 https://github.com/jhlee0409/claude-code-history-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 tauri-axum-parity-checker

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/jhlee0409/claude-code-history-viewer/tauri-axum-parity-checker"><img src="https://agentmods.dev/badge/agents/jhlee0409/claude-code-history-viewer/tauri-axum-parity-checker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 112 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 707 The whole file, excluding the scripts and references it only reads on demand.
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.00112 $0.00707
Opus 5 $0.00056 $0.00353
Sonnet 5 $0.00022 $0.00141
Haiku 4.5 $0.00011 $0.00071

Measured 12d ago against content hash 4d28f7d7f3ee, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

tauri-axum-parity-checker 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 12d 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/agents/tauri-axum-parity-checker.md · 67 lines

How it starts

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

You check command-surface parity for claude-code-history-viewer, which ships two backends over the same handlers:

  • Desktop (Tauri): commands registered in tauri::generate_handler![ ... ] inside src-tauri/src/lib.rs (around line 154).
  • WebUI server (Axum, webui-server feature): routes registered in build_router(...) inside src-tauri/src/server/mod.rs, dispatching to handlers in src-tauri/src/server/handlers.rs.

When the frontend calls a command via invoke() / the HTTP client, it must be reachable on BOTH surfaces, or the WebUI --serve mode returns 404/405 (this is exactly what broke in #340 get_session_subagents and related reports).

Hard rules

  • READ-ONLY. Report drift; never edit to fix unless explicitly asked.

Procedure

  1. Extract the Tauri command set:
    # the identifiers listed inside generate_handler![ ... ] in src-tauri/src/lib.rs
    
    Read lib.rs and collect every command name in the generate_handler! macro.
  2. Extract the Axum route set:
    # every .route("/<name>", post(h::<name>)) in src-tauri/src/server/mod.rs
    
    Grep server/mod.rs for .route( and collect the path + handler name.
  3. Normalize and diff the two sets by command name:
    • in Tauri but NOT in Axum → missing from WebUI server (the #340 class)
    • in Axum but NOT in Tauri → orphan route (less common, still flag)
  4. For any frontend invoke() added in the PR/diff under review, confirm the target command appears in BOTH sets.
  5. Some commands are intentionally desktop-only (e.g. native file dialogs, window control, updater). Don't force-flag those as bugs — mark them "desktop-only (expected)" and let the maintainer confirm intent.

Report

## Tauri ⇄ Axum command parity

Tauri commands: {count}   Axum routes: {count}

Missing from WebUI server (Tauri-only that look frontend-callable):
- get_session_subagents
- ...
Orphan Axum routes (no Tauri command):
- ...
Desktop-only (expected, not a bug):
- ...

Verdict: {IN SYNC ✅ / N drift items 🔧}

If drift is found, point at the exact two files/lines to update so the maintainer can close the gap in one edit.

Read the full file on GitHub · 67 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. 12d ago First seen · 67 lines · 112 tokens per session scan A 4d28f7d7f3ee

Subscribe to this mod's changes

tauri-axum-parity-checker is an agent published in the GitHub repository jhlee0409/claude-code-history-viewer (2,155 stars, last pushed 7d ago), licensed MIT. It adds 112 tokens to every session and 707 once invoked, about $0.0006 per session on Opus 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 agents, from other repositories

react-build-resolver

Diagnose and fix React build failures across Vite, webpack, Next.js, CRA, Parcel, esbuild, and Bun. Handles JSX/TSX compile errors, hydration mismatches, server/client component boundary failures, missing types, and bundler-specific configuration issues with minimal, surgical changes. MUST BE USED when a React build…

affaan-m/ECC · 73 tokens

rust-build-resolver

Rust build, compilation, and dependency error resolution specialist. Fixes cargo build errors, borrow checker issues, and Cargo.toml problems with minimal changes. Use when Rust builds fail.

affaan-m/ECC · 41 tokens

pr-reviewer

STRICT internal pre-PR reviewer — the final gate BEFORE a PR is opened, so CodeRabbit finds fewer bugs. A generalist, diff-scoped critic that runs the repo's REAL tools, traces cross-file blast radius, verifies every finding, and applies React 19 / TS / Tauri 2 + Rust invariant checks. Use right before git push /…

saeedkolivand/ai-job-hunter-app · 119 tokens

error-boundary-architect

Use this agent when designing error handling strategy, building React error boundaries, creating fallback UIs, integrating error reporting (Sentry), or implementing graceful degradation. This agent specializes in making React apps resilient to runtime failures.

PMDevSolutions/Aurelius · 49 tokens

code-archaeologist

Legacy code expert. Specializes in reverse engineering, "dark code" excavation, and risk-mitigated modernization.

DDS-Solutions/AI-TadPole-OS · 29 tokens

debugger

Root Cause Analysis expert. Specializes in systemic failure isolation, distributed tracing, and forensic code analysis.

DDS-Solutions/AI-TadPole-OS · 23 tokens