What do you want to do?
5 use cases
-
Find past coding agent sessions by keyword
Search your captured Codex and Claude Code sessions on your own machine.
View prompt
In the habitat-cli repo, install HT locally, run `ht sync`, then run `ht sessions search "<keyword>"`. Expected output: a list of local sessions that match the keyword. Verify that each result includes a session ID you can pass to `ht sessions show`.
-
Review every step of one agent session
Open a captured Codex or Claude Code session and check its recorded activity.
View prompt
In the habitat-cli repo, run `ht sessions list`, then `ht sessions show <SESSION_ID>` for the session the user names. Expected output: the recorded events for that session. Verify that the output matches the session ID you requested.
-
Find out why agent sessions stopped capturing
Use preflight, status, and doctor to diagnose and repair local capture.
View prompt
In the habitat-cli repo, run `ht preflight --json` and `ht doctor`, then summarize the findings for <PROJECT_PATH>. Expected output: a short list of problems and suggested repairs. Verify that you have not changed hooks or the service without asking the user first.
-
Script HT setup for managed machines
Run non-interactive setup with an API key piped in and JSON output.
View prompt
In the habitat-cli repo, run `ht preflight --json`, then ask the operator to approve before running `ht setup` with `--api-key-stdin`, `--project <PROJECT_PATH>`, `--backfill 30d`, `--non-interactive`, and `--json`. Expected output: JSON describing the setup result. Verify that the key was passed on stdin and not written to the command line.
Quick start with Habitat CLI
- Check you have what it needs: macOS (Apple silicon or Intel) or Linux (Arm64 or x64); Windows is not currently supported; Codex or Claude Code sessions to capture; Terminal access and permission to install a local background service and provider hooks.
- Open wusterbuilds/habitat-cli on GitHub and read the README and license.
- Run
curl -fsSL https://app.use-habitat.com/install.sh | shto install the latest checksum-verified release. - Run
ht installto install hooks and the local background service. - Run
ht syncto reconcile provider history. - Run
ht sessions search "migration"and replace the query with your own keyword.
These steps come from our top use case, Find past coding agent sessions by keyword, which also has a copy-paste agent prompt.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for wusterbuilds/habitat-cli
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeHabitat CLI alternatives · Best AI repos for Software and DevOps
About this repo
- Who it is forDevelopers and engineering leads who use Codex or Claude Code on macOS or Linux and want a searchable record of agent sessions.
- Why it is hot135 stars, launched 59 days ago
- LanguageTypeScript
- Sourcegithub.com/wusterbuilds/habitat-cli · Back to Hot repos
Requirements
- macOS (Apple silicon or Intel) or Linux (Arm64 or x64); Windows is not currently supported
- Codex or Claude Code sessions to capture
- Terminal access and permission to install a local background service and provider hooks
- Optional: a Habitat Cloud workspace or a self-hosted Habitat-compatible endpoint, only if you want team sharing
Add this badge to your README
Maintain Habitat CLI? Show readers where to find these use cases.
Markdown
[](https://dedupedai.com/use-cases/wusterbuilds-habitat-cli/?utm_source=github&utm_medium=badge&utm_campaign=wusterbuilds-habitat-cli)
HTML
<a href="https://dedupedai.com/use-cases/wusterbuilds-habitat-cli/?utm_source=github&utm_medium=badge&utm_campaign=wusterbuilds-habitat-cli"><img src="https://dedupedai.com/badge/wusterbuilds/habitat-cli.svg" alt="Use cases on Deduped" height="20"></a>
A static image, no tracking script. About the badge
Questions about Habitat CLI
What is Habitat CLI?
HT is a local observability CLI that captures Codex and Claude Code sessions into a private SQLite ledger you can search, with optional upload to a Habitat-compatible team workspace. It is an open-source project on GitHub: https://github.com/wusterbuilds/habitat-cli.
How do I use Habitat CLI?
Run curl -fsSL https://app.use-habitat.com/install.sh | sh to install the latest checksum-verified release; then run ht install to install hooks and the local background service; run ht sync to reconcile provider history. The use cases on this page give the full steps and a copy-paste agent prompt for each job.
Who is Habitat CLI for?
Developers and engineering leads who use Codex or Claude Code on macOS or Linux and want a searchable record of agent sessions.
What can I do with Habitat CLI?
5 use cases so far, for example: Find past coding agent sessions by keyword; Review every step of one agent session; Find out why agent sessions stopped capturing. Each has steps and a copy-paste agent prompt.
What do I need to run Habitat CLI?
macOS (Apple silicon or Intel) or Linux (Arm64 or x64); Windows is not currently supported; Codex or Claude Code sessions to capture; Terminal access and permission to install a local background service and provider hooks; Optional: a Habitat Cloud workspace or a self-hosted Habitat-compatible endpoint, only if you want team sharing.
What are alternatives to Habitat CLI?
Other hot AI repos in Software and DevOps: Deep Infer, Harness2, Orca, Opencode, Graphify.
Is Habitat CLI safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.