Herdr Auto Title banner
sh1ma sh1ma

Herdr Auto Title

Development community

Description

Automatically generate titles for herdr tabs from Claude Code and Codex conversations.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

herdr auto title

A hook that turns your Claude Code / Codex conversation into a short title and applies it to the herdr tab name.

install · title language · uninstall · herdr.dev

English · 日本語

MIT license GitHub stars follow @sh1ma on X


A numbered tab name being rewritten to match the content of the prompt

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=1 is set)
  • python3 (standard library only)
  • claude or codex on your PATH

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.)

Existin