Skip to content

catoncat/sherlog

Repository files navigation

Sherlog

https://sherlog.net

Sherlog is a local-first CLI for searching local Codex and Claude Code session logs. It is built for agents that know how to investigate: find the right session first, then read only the relevant range or page.

Quick Install

Install the CLI globally:

npm i -g @act0r/sherlog
shlog --help

Install the agent skill separately:

npx skills add catoncat/sherlog --full-depth --skill sherlog -g -a codex -y

Quick Start

Initialize the default Codex index:

shlog sync

Search and read progressively:

shlog find "health check"
shlog read-range <sessionRef> --seq <matchSeq>
shlog read-page <sessionRef> --offset 0 --limit 20

For project-scoped agent work, check and refresh only that coverage:

shlog status --cwd /Users/you/work/project --json
shlog sync --cwd /Users/you/work/project

Documentation

About

Progressive search CLI for local Codex session logs

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors