Agenttab — AI skill for Claude Code
Terminal tab titles with the state icon of the AI agent, and a Cursor rename that keeps it.
How to install Agenttab
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open marciob/agenttab and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agenttab does
Terminal tab titles with the state icon of the AI agent, and a Cursor rename that keeps it.
Alternatives in AI
- Oil Icon — AI icon set generator skill for Claude Code & Codex 310 ★
- Claude Code Design AI — Claude Design: AI UI/UX architect 80 ★
- Frankenterm — Terminal hypervisor for AI agent swarms: real-time pane capture, state-machine pattern detection, and a JSON A 77 ★
README
agenttab
agenttab shows the state of an AI agent in the title of its terminal tab. It works with Claude Code, Codex, and OpenCode. The title is ` `, for example `◑ Terminal title customization`.
| Icon | State |
|---|---|
| (none) | The agent waits for your next prompt. |
◐ ◑ in turn |
The agent works. |
⚠ |
The agent waits for your permission. |
| (the shell title) | The session ends. |
The text is the title of the conversation. If the conversation has no title, the text is the name of the directory.
Requirements
- macOS. Linux can work, but nobody has tested it.
jq. Install it withbrew install jq.lsof, only for Codex. macOS has it.
Install
Run the installer:
curl -fsSL https://raw.githubusercontent.com/marciob/agenttab/main/install.sh | shThe installer puts `agenttab` in `~/.local/bin`. It does not change the settings of an agent. From a clone, run `./install.sh`. Then `git pull` updates the installed files.
If `~/.local/bin` is not on the PATH, add it to `~/.zshrc`: `export PATH="$HOME/.local/bin:$PATH"`
Add the hooks of your agent: [Claude Code](#claude-code), [Codex](#codex), or [OpenCode](#opencode).
In Cursor or VS Code, set `"terminal.integrated.tabs.title": "${sequence}"`. Then the tab shows the title that agenttab writes.
Optional: add `source ~/.config/agenttab/agenttab.zsh` to `~/.zshrc`. Then a terminal with no agent shows the name of the directory, or the running command. It also shows a [name from Cursor](#a-name-from-cursor).
Claude Code
Add these hooks to `~/.claude/settings.json`. If the file already has a `hooks` object, add each entry to the list of the same event.
The hooks for Claude Code{ "hooks": { "SessionStart": [ { "matcher": "startup|resume|clear|compact", "hooks": [{ "type": "command", "command": "agenttab hook idle", "timeout": 5
Related Skills
Cc Tab Titles
Claude Code plugin: auto-sets terminal tab titles to AI-generated session summaries
Gentle Agent State
See which AI coding agent needs you — right in your tmux tab bar. A colored dot per window (working/blocked/id
Iterm2 Agent Tabs
Turn iTerm2 into a workbench for running many Claude Code / Codex sessions: live state icons and tab colors dr
Quotaline
Balance and quota counter for Claude Code and OpenRouter: status line, terminal, floating widget or tray / men
Anti Nanny State Skill
Agent skill that keeps AI agents faithful to user instructions: no invented restrictions, no silent fallbacks,
AI Workflow OS
Append-only ledger + 5-state machine that keeps 6 divisions honest across 5 AI platforms (Claude, ChatGPT, Gem
Related Agents
Cursor Rescue
Proactively use as an extra agentic lane on Cursor's own quota — bounded coding tasks (a spec file, a rename,
Hig Layout Navigation
Apple Human Interface Guidelines specialist for layout, safe areas, tab bars, navigation bars and titles, side
Qp Slop Reviewer
Read-only reviewer for the quality-pass slop & honesty dimension — fabricated stats, placeholder copy, fake UI