Token导航 LogoToken导航TokenDH.com
前端设计敏感数据github未标认证来源可访问clear审计通过

terminal-title终端标题

Agent Skill

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

总安装

1,687

周安装

71

GitHub Stars

110

下载量

591
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:terminal-title(终端标题)
来源仓库:https://github.com/bluzername/claude-code-terminal-title
仓库路径:skills/terminal-title
安装命令:
npx skills add https://github.com/bluzername/claude-code-terminal-title --skill terminal-title
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/bluzername/claude-code-terminal-title --skill terminal-title

简介

terminal-title 用于动态设置终端窗口标题,反映当前 Claude Code 会话的任务主题。

  • 它帮助多实例开发者快速识别不同终端用途,提升工作流管理效率。
  • 适用于 API 集成、数据库迁移、前端调试等场景切换时的上下文提示。
  • 使用前应确保终端支持标题设置命令,并建议在关键任务节点主动触发更新。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Terminal Title

Overview

Automatically sets descriptive terminal window titles based on the task Claude is working on. Essential for developers running multiple Claude Code instances who need to quickly identify which terminal is handling which task.

When to Use

Always trigger this skill:

  • At the start of every new Claude Code session (after receiving the first user prompt)
  • When switching to a substantially different task (e.g., from "API Integration" to "Database Migration")

Trigger on task switches like these:

  • Switching from frontend work to backend work
  • Moving from debugging to new feature development
  • Changing from one module/component to a completely different one
  • Starting work on a different part of the system (e.g., from auth to payments)

Do NOT trigger for:

  • Follow-up questions about the same task ("Can you add a comment to that function?")
  • Small refinements to current work ("Make it blue instead of red")
  • Debugging the same feature you just built
  • Clarifications ("What did you mean by X?")
  • Iterating on the same component or module
  • Mid-task status updates or progress checks

How It Works

  1. Extract Task Summary: Analyze the user's prompt to identify the high-level task
  2. Generate Title: Create a concise, descriptive title (max 40 characters)
  3. Set Title: Execute the scripts/set_title.sh script with the generated title
  4. No Confirmation Needed: This happens automatically in the background

Title Format Guidelines

Good titles:

  • "API Integration: Auth Flow"
  • "Fix: Login Bug"
  • "DB Migration: Users Table"
  • "Build: Dashboard UI"
  • "Refactor: Payment Module"

Displayed as (with automatic folder prefix):

  • my-project | API Integration: Auth Flow
  • my-project | Fix: Login Bug

Bad titles:

  • Too long: "Implementing the new authentication system with OAuth2.0 support" (exceeds 40 chars)
  • Too generic: "Working" or "Coding"
  • Too verbose: "The user wants me to help them with..."

Format pattern:

[Action/Category]: [Specific Focus]

The script automatically prefixes titles with the current directory name (usually the repo name) for easy identification across multiple terminals.

Keep titles concise, actionable, and immediately recognizable.

Common Mistakes to Avoid

❌ Too Verbose:

  • Bad: "Working on implementing the user authentication system with JWT tokens"
  • Good: "Build: JWT Auth"

❌ Too Vague:

  • Bad: "Code stuff"
  • Bad: "Working"
  • Good: "Refactor: API Layer"

❌ Including System Information:

  • Bad: "john-macbook-pro: Debug app"
  • Bad: "/Users/john/project: Build feature"
  • Good: "Debug: App Issues"

❌ Using Complete Sentences:

  • Bad: "I am working on the dashboard component"
  • Good: "Build: Dashboard UI"

Implementation

Execute the title script:

bash scripts/set_title.sh "Your Title Here"

Example workflow:

# User asks: "Help me debug the authentication flow in the API"
bash scripts/set_title.sh "Debug: Auth API Flow"

# User asks: "Create a React component for the user profile page"
bash scripts/set_title.sh "Build: User Profile UI"

# User asks: "Write tests for the payment processing module"
bash scripts/set_title.sh "Test: Payment Module"

Script Details

The scripts/set_title.sh script uses ANSI escape sequences to set the terminal title. It's compatible with:

  • macOS Terminal
  • iTerm2
  • Alacritty
  • Most modern terminal emulators (xterm, rxvt, screen, tmux)

The script accepts a single argument (the title string) and exits silently if no title is provided (fail-safe behavior).

Automatic Directory Prefix

The script automatically prefixes all titles with the current directory name (usually the repo/project name). This makes it easy to identify which project each terminal is working on:

my-project | Build: Dashboard UI
another-repo | Debug: Auth API

Optional Custom Prefix

Users can optionally add an additional custom prefix by setting the CLAUDE_TITLE_PREFIX environment variable:

export CLAUDE_TITLE_PREFIX="🤖"

This produces titles like: 🤖 my-project | Build: Dashboard UI

Note: You don't need to check for these variables or modify your behavior. The script handles this automatically.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenCode

29.55%
按下载量换算175

Claude Code

21.13%
按下载量换算125

Antigravity

18.49%
按下载量换算109

kiro-cli

14.17%
按下载量换算84

Gemini CLI

7.46%
按下载量换算44

kode

3.14%
按下载量换算19

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills