Skip to main content

search-codex-history

Search your Codex session history from the command line: find the conversation where you solved something, a command you ran, or an error you hit, with regular expressions, time filters, and surrounding context. It searches Codex by default and can search your other coding agents too, without reinstalling anything (see below).

uv tool install search-codex-history
search-codex-history "pattern"

search-codex-history is a build of search-clanker-history, which also searches other coding agents, so it installs search-clanker-history at the same version and defaults to Codex. The documentation lives there.

To search other agents as well, change the default once, with no reinstall:

search-codex-history --default-agents codex claude     # for example, add another agent
search-codex-history --default-agents all               # every agent that has history
search-codex-history --default-agents reset             # back to Codex only

search-codex-history --agent AGENT overrides the default for a single search. The choice is saved in ~/.config/search-history/config.json (under $XDG_CONFIG_HOME when that is set, and in %APPDATA%\search-history\config.json on Windows), and search-codex-history --default-agents prints the exact path. The settings file is shared by every package, so a default you save applies to all of them.

Already have an older search-claude-history? uv tool upgrade search-codex-history keeps your behavior, but the short command sch is gone; use search-codex-history, or make sch an alias for it. search-codex-history --default-agents all adds the other agents.

Metadata

Release files for search-codex-history 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for search-codex-history 0.2.0
File Size Uploaded
search_codex_history-0.2.0.tar.gz 2.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for search-codex-history 0.2.0
File Interpreter ABI Platform
search_codex_history-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.2 kB

Release files / search_codex_history-0.2.0.tar.gz

Download URL search_codex_history-0.2.0.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e63368f5ecf9039547acb0ca5df3d5ed8692fd9b03636fa94a1e5a1ab3c502c7
BLAKE2b-256 checksum
How to use checksums
6396de9a242b4c660397155d84a41032df361c998d8ee8facdfb95ed321b90de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / search_codex_history-0.2.0-py3-none-any.whl

Download URL search_codex_history-0.2.0-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
30dc44d2d8a4d27ef0f25199b6d2b6285568e360accaee903085bfc401d49dca
BLAKE2b-256 checksum
How to use checksums
bb47ead716d7541f2d88394ef6576659ed91e39c3d02c6189867376eaaf4fe44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page