
herdr-auto-title
Automatically generate titles for herdr tabs from Claude Code and Codex conversations.
Install with your AI
Paste into Claude Code, Cursor, or any agent — it reads the repo and wires the tool into your project.
Install and set up herdr-auto-title (git-clone project) into my current project. Found on https://claudeers.com/herdr-auto-title Repo: https://github.com/sh1ma/herdr-auto-title Homepage/docs: — Detected install method: git-clone → git clone https://github.com/sh1ma/herdr-auto-title Category: other. Platforms: cli. Read the repo's README for exact setup and env vars, then install it and wire it into my project. Claudeers Health Verdict: active; community-verified: false. Confirm the source before running anything.
git clone https://github.com/sh1ma/herdr-auto-title
// compatibility
| Platforms | cli |
|---|---|
| Operating systems | — |
| AI compatibility | claude |
| License | MIT |
| Pricing | open-source |
| Language | Python |
herdr auto title
A hook that turns your Claude Code / Codex conversation into a short title and applies it to the herdr tab name.
日本語版は README.ja.md。

Titles are generated by the same CLI that called the hook: claude -p for Claude Code, codex exec for Codex.
Requirements
- Claude Code or Codex running inside a herdr pane (
HERDR_ENV=1is set) python3(standard library only)claudeorcodexon yourPATH
Started outside of herdr, the hook exits without doing anything.
Install
git clone https://github.com/sh1ma/herdr-auto-title
cd herdr-auto-title
./install.sh # install into every agent found
./install.sh --codex # or just one of them
It copies the script into place and registers it on UserPromptSubmit.
| script | registered in | |
|---|---|---|
| Claude Code | ~/.claude/hooks/herdr-auto-title.py | ~/.claude/settings.json |
| Codex | ~/.codex/hooks/herdr-auto-title.py | ~/.codex/hooks.json |
(CLAUDE_CONFIG_DIR / CODEX_HOME are honoured when set.)
Existing hook settings are kept, and re-running does not duplicate the registration. The settings file is backed up to .bak before being rewritten.
It takes effect from the next session you start.
Codex does not run hooks it has not been told to trust. Trust it on the review screen shown at the next startup, or via /hooks. (What gets trusted is the registered command string, so reinstalling does not ask again unless you move the script.)
Title language
Titles are written in English, or in Japanese when your locale is Japanese — that is, when LC_ALL, LC_MESSAGES or LANG starts with ja.
Set HERDR_AUTO_TITLE_LANG to pin one instead:
| value | title language |
|---|---|
auto (default) | follow the locale |
en | English |
ja | Japanese |
The hook reads it from the environment of the agent that runs it, so export it where you start that agent — for example in ~/.zshrc:
export HERDR_AUTO_TITLE_LANG=en
The new value applies to sessions started after that.
Uninstall
./install.sh --uninstall # remove from both
./install.sh --uninstall --codex # or just one
It removes the registration and deletes the installed script. State files (~/.claude/herdr-auto-title/) are left behind; delete them by hand if you do not want them.
License
MIT
// faq
What is herdr-auto-title?
Automatically generate titles for herdr tabs from Claude Code and Codex conversations.. It is open-source on GitHub.
Is herdr-auto-title free to use?
herdr-auto-title is open-source under the MIT license, so it is free to use.
What category does herdr-auto-title belong to?
herdr-auto-title is listed under other in the Claudeers registry of Claude-compatible tools.
// embed badge
[](https://claudeers.com/herdr-auto-title)
// retro hit counter
[](https://claudeers.com/herdr-auto-title)
// reviews
// guestbook
// related in Other
Open source Ghostty-based macOS terminal with vertical tabs and notifications for AI coding agents. Built for multitasking, organization, and programmability.
Anti-AI-slop design skill for Claude Code, Cursor, and Codex.
Huashu Design · HTML-native design skill for Claude Code · Claude Code 里 HTML 原生的设计 skill · 高保真原型 / 幻灯片 / 动画 + 20 设计哲学 + 5 维评审 + MP4 导出 · Agent-agnostic