herdr-auto-title

作者 sh1ma已验证

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

50
Stars
4
Forks
Python
语言
2026/8/24
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/sh1ma/herdr-auto-title

快速入门

使用 herdr-auto-title 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

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.

scriptregistered 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:

valuetitle language
auto (default)follow the locale
enEnglish
jaJapanese

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.

Versioning

Calendar Versioning, as YYYY.0M.0D.MICRO. The last segment is a counter so that several releases on the same day never collide.

2026.08.13.0   first release of the day
2026.08.13.1   second release the same day
2026.08.14.0   back to 0 once the date changes

To check what you have installed:

python3 ~/.claude/hooks/herdr-auto-title.py --version

Development

python3 -m unittest discover -s tests   # tests
ruff check . && ruff format --check .   # lint / formatting
shellcheck install.sh

CI (.github/workflows/ci.yml) runs the above on push and pull request, plus an install.sh round trip (install → install again → uninstall) and the test suite on Python 3.9 through 3.13.

Releases are cut by running the Release workflow from the Actions tab. The version comes from the existing tags and today's date (Asia/Tokyo), so there is no number to pick: the workflow rewrites __version__, commits, pushes the tag and creates the GitHub Release. To see the number that would be used, turn on dry_run, or run it locally:

python3 scripts/calver.py next

License

MIT

常见问题

What is herdr-auto-title?

herdr-auto-title is an open-source ide extensions skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by sh1ma. Automatically generate titles for herdr tabs from Claude Code and Codex conversations. It has 50 GitHub stars.

Is herdr-auto-title safe to use?

Yes. herdr-auto-title passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install herdr-auto-title?

Clone the repository with "git clone https://github.com/sh1ma/herdr-auto-title" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is herdr-auto-title written in?

herdr-auto-title is primarily written in Python. It is open-source under sh1ma on GitHub, so you can review or fork the full source.

Are there alternatives to herdr-auto-title?

Yes. SkillsLLM lists many other IDE Extensions skills you can browse and compare side by side. Open the IDE Extensions category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh herdr-auto-title against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

claudian

by YishenTu

An Obsidian plugin that embeds Claude Code/Codex as an AI collaborator in your vault

14,921972TypeScript
IDE 扩展
查看详情

OpenMythos

by kyegomez

A theoretical reconstruction of the Claude Mythos architecture, built from first principles using the available research literature.

14,8003,292Python
IDE 扩展
查看详情

cursor-hooks

by cursor

5

通过 Hooks 自动化 Cursor Agent 事件相关行为。

12,500890TypeScript
IDE 扩展claude-codeai-tools
查看详情

arscontexta

by agenticnotetaking

Claude Code plugin that generates individualized knowledge systems from conversation. You describe how you think and work, have a conversation and get a complete second brain as markdown files you own.

3,479220Shell
IDE 扩展
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情