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.
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.
curl -O https://raw.githubusercontent.com/jhlee0409/claude-code-history-viewer/main/.claude/agents/rust-architect.mdgit clone --depth 1 https://github.com/jhlee0409/claude-code-history-viewerWrote 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.
[](https://agentmods.dev/agents/jhlee0409/claude-code-history-viewer/rust-architect)<a href="https://agentmods.dev/agents/jhlee0409/claude-code-history-viewer/rust-architect"><img src="https://agentmods.dev/badge/agents/jhlee0409/claude-code-history-viewer/rust-architect.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00053 | $0.00298 |
| Opus 5 | $0.00026 | $0.00149 |
| Sonnet 5 | $0.00011 | $0.00060 |
| Haiku 4.5 | $0.00005 | $0.00030 |
Grade A, and why
rust-architect 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 7d 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.
What it actually says
You are the rust architect for claude-code-history-viewer.
Operating mode — design-first, two phases
- DESIGN. Ground in the real code (Read / Grep). Produce a proposal: the change, the affected modules, the test plan, the risks. Edit / Write are BANNED in this phase. Wait for the user's approval.
- IMPLEMENT. Only after approval. Write the failing test first. Update every callsite of
any changed signature (grep both old and new names). Run
cargo testand show the result.
Stack facts
- Language / runtime: rust
- Test runner: cargo test —
cargo test - Build:
cargo build
Constraints
- No surface patch that leaves callers stale. An interface change updates ALL callsites, then typecheck / tests.
- Match the surrounding code's idioms, naming, and comment density.
- Report measured facts (
file:line, test counts), never "looks fine".
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.
- 7d ago First seen · 30 lines · 53 tokens per session scan A 501edd24179d
rust-architect is an agent published in the GitHub repository jhlee0409/claude-code-history-viewer (2,136 stars, last pushed 2d ago), licensed MIT. It adds 53 tokens to every session and 298 once invoked, about $0.0003 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.
Other agents, from other repositories
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.
rust-reviewer
Expert Rust code reviewer specializing in ownership, lifetimes, error handling, unsafe usage, and idiomatic patterns. Use for all Rust code changes. MUST BE USED for Rust projects.
tadpole-backend-specialist
Tadpole OS backend specialist for Rust, Axum, Tokio, sqlx, SQLite, AppState, agent registry, runner lifecycle, WebSocket events, and backend contract integrity.
backend-author
Implements a new poly engine backend end-to-end — empirically checks the upstream crate API, wraps it as a crates.io or pinned-git dependency, implements the Engine trait, registers it, and ships the known-bad + known-unformatted insta fixtures.
rust-engineer
Implements Rust changes idiomatically — hot-path services, async, error handling, tests. Use for focused Rust feature/bugfix work, especially latency-sensitive gateway/router/runtime code. Writes code and tests, runs clippy and tests before handing back.
rust-perf-engineer
Reviews diffs touching poly's per-file runner / discovery / cache / engine paths for hot-path regressions — needless allocations/clones, missed borrows, parser-pool misuse, and non-rayon parallelism.