← Open Source
WEIFENG2333

phistory

Phistory automatically archives versioned system prompt snapshots from agent CLIs like Claude Code, Codex, OpenClaw, and Hermes.

ListsPrompt collectionsPython
Open on GitHub
Momentum
+0stars in 24 hours0.0%
658
Stars
48
Forks
+10
This week
2
Contributors
Created 2026-05-21 · Updated 2026-10-06 · #15060 today
Top developers
README

Phistory

中文

Phistory tracks how system prompts change across popular coding-agent CLIs like Claude Code, Codex, DeepSeek Harness, Antigravity, Grok Build, MiniMax Code, Kimi Code, MiMo Code, OpenClaw, Hermes, Kimi CLI, opencode, Pi, and Oh My Pi.

Open the web viewer to compare prompt snapshots across versions and see how agent design changes through prompts, tools, policies, and runtime instructions.

Start here: phistory.cc

Checks for new releases hourly. Archive last updated: 2026-10-06 18:05 UTC.

Phistory prompt diff viewer

Why Use It

  • Follow how Anthropic, OpenAI, and other agent builders iterate on system prompts over time.
  • See when new tools, permission checks, model defaults, and user-confirmation rules are added.
  • Compare how different CLIs structure agent behavior, tool use, and developer-facing constraints.
  • Cite stable prompt snapshots in posts, research notes, audits, or debugging reports.

How It Works

For each supported release, Phistory installs the exact CLI package and runs each configured snapshot through claude-tap, captures the prompt-bearing HTTP request without calling the real model provider, and stores the result under captures///variants// with prompt.md, trace.jsonl, and meta.json. The default snapshot runs each CLI the way its users do, through a real terminal when it ships one; selected models or alternative surfaces are stored as additional variants. prompt.md is rendered from the archived trace, so every block of the request survives into it: each system block and its cache boundary, reminder blocks, and system messages interleaved with the conversation.

GitHub Actions checks automatically tracked CLI releases every hour and commits new snapshots when they appear.

The viewer supports Chinese translations for runtime prompt diffs and readable trace fields. Unchanged paragraphs reuse shared translations across versions; original evidence is preserved. See translation setup and storage and model evaluation.

Local Development

Use the hosted viewer at phistory.cc. These commands are for local development, capture reproduction, historical backfills, and regenerating generated files.

# Install the locked development environment.
uv sync --all-groups

# Capture the latest release and every configured snapshot for each CLI.
uv run phistory capture --latest --agents claude-code,codex,dsh,antigravity,grok,minimax-code,kimi-code,mimo,openclaw,hermes,kimi,opencode,pi,omp

# Capture only selected Codex snapshots.
uv run phistory capture --latest --agents codex --variants default,gpt-5.5,gpt-5.6

# Capture a historical version range for one agent.
uv run phistory backfill claude-code --from 2.1.113 --to latest

# Translate archived prose using credentials configured outside the repository.
uv run phistory translate --all-captured

# Regenerate README.md, README_zh.md, docs/captures.md, captures/index.json, and llms.txt.
uv run phistory render-index

# Build the complete static site, including Chinese translation indexes.
uv run phistory build-site
python -m http.server --directory .phistory-cache/site

Supported Agents

  • Claude Code (@anthropic-ai/claude-code)
  • Codex CLI (@openai/codex)
  • DeepSeek Harness (@deepseek-ai/dsh)
  • Antigravity CLI (google-antigravity/antigravity-cli)
  • Grok Build (@xai-official/grok)
  • MiniMax Code desktop app (official download)
  • Kimi Code (@moonshot-ai/kimi-code)
  • MiMo Code (@mimo-ai/cli)
  • OpenClaw (openclaw)
  • Hermes Agent (hermes-agent)
  • Kimi CLI (MoonshotAI/kimi-cli)
  • opencode (opencode-ai)
  • Pi (@earendil-works/pi-coding-agent)
  • Oh My Pi (@oh-my-pi/pi-coding-agent)

Capture Status

Last capture update: 2026-10-06 18:05 UTC

Agent Latest Versions Snapshots Last Captured
Claude Code 2.1.291 - 2026-10-06 435 750 2026-10-06 10:43 UTC
Codex CLI 0.160.1 - 2026-10-05 101 161 2026-10-05 23:19 UTC
DeepSeek Harness 0.2.0-rc.2 - 2026-09-29 14 75 2026-09-29 16:06 UTC
Antigravity CLI 1.3.0 - 2026-10-06 61 61 2026-10-06 10:43 UTC
Claude Tag 2026-10-07 - 2026-10-06 3 3 2026-10-06 18:05 UTC
Grok Build 1.0.46 - 2026-09-30 139 139 2026-10-01 02:19 UTC
MiniMax Code 3.1.1 - 2026-10-04 40 40 2026-10-04 15:28 UTC
Kimi Code 2.1.1 - 2026-09-24 79 79 2026-09-24 10:26 UTC
MiMo Code 0.1.15 - 2026-09-22 15 15 2026-09-22 19:03 UTC
OpenClaw 2026.9.8 - 2026-10-03 79 79 2026-10-03 07:02 UTC
Hermes Agent v2026.9.24 - 2026-09-24 34 34 2026-09-24 10:27 UTC
Kimi CLI 1.51.0 - 2026-09-21 23 23 2026-09-21 17:12 UTC
opencode 1.18.34 - 2026-09-30 118 118 2026-09-30 23:11 UTC
Pi 1.0.4 - 2026-10-05 56 56 2026-10-05 23:20 UTC
Oh My Pi 18.6.3 - 2026-10-06 128 128 2026-10-06 17:23 UTC

Project Trend

Phistory star history