~/my-project
···
github.com/ZreadAI/zread-skill
Zread CLI
zread is the default entry command. Run zread inside any local project directory and the CLI will suggest the next step based on the current state, such as login, generating docs, or opening docs that already exist.
1. What is the CLI for?
Zread CLI is built for local repository workflows and helps developers generate project docs directly from a local directory.
It is useful when you need to:
- understand code structure quickly
- create baseline project docs
- provide a reading entry for team onboarding
- give AI coding tools clearer project context
2. Install
You can install it with npm or Homebrew:
npm install -g zread_clibrew tap ZreadAI/homebrew-tap
brew install zread3. Quick Start
If you want to use Zread CLI more easily in AI agents such as Claude Code, Codex, and OpenClaw, see the official skill setup guide.
You can also ask your AI to install the skill from GitHub:
install this skill https://github.com/ZreadAI/zread-skillRecommended flow:
cd repo
zreadWhen you want to use Zread, just enter the repo and run zread. The CLI will guide the next step based on the current state, such as login, doc generation, or opening docs that already exist.
If docs already exist and you want to open them in the browser, run:
zread browselocalhost:3000
my-project
18 documents
my-project / Overview
Project Overview
A reading entry generated from your local repository to help developers understand structure, core modules, and team conventions faster.
export class EventPipeline {
constructor(private config: PipelineConfig) {}
async process(event: RawEvent) {
const transformed = await
this.transform(event);
return this.sink.write(transformed);
}
}
4. Commands
| Command | Description |
|---|---|
zread | Default CLI entry. Recommends the next step based on the current environment. |
zread generate | Generate project docs for the current directory. |
zread browse | Open generated docs for the current project in the browser. |
zread login | Log in or configure an API key. |
zread config | View or update CLI configuration. |
zread update | Update the CLI to the latest version. |
zread version | Show the current CLI version. |
To see the full help output, run:
zread --help5. Where Docs Are Stored
After generation, docs are stored under .zread/ in the project directory:
.zread/
state.json
wiki/
current
versions/
2026-03-12_1015_f3a91e/
2026-03-15_1314_ab12cd/
drafts/.zread/wiki/current: the current docs.zread/wiki/versions/: previous generated versions.zread/wiki/drafts/: draft docs before generation is finished
This makes it easy to read the latest docs while still keeping older versions available. After installing Zread CLI, teammates can open the same project docs in the browser, which works well for internal repositories, private codebases, and onboarding scenarios.