statusline

规格合规

statusline 技能配置自定义状态栏,显示 git 分支、模型与会话信息。

Configure a custom CLI status line with session context in Cursor.

4.3 良好
作者 Cursor 最后验证: 2026-06-22

复制给 AI 安装

把这段提示词发给你的 Agent,即可安装该技能。

请先阅读 https://skill123.app/install/skill123.md。然后安装「statusline」技能,执行:
npx skills add https://github.com/cursor/skills-cursor/tree/main/statusline
其他安装方式

CLI 安装

npx skills add https://github.com/cursor/skills-cursor/tree/main/statusline

手动安装

~/.cursor/skills/statusline/
从 GitHub 下载 Zip

适用场景

  • → 状态栏自定义
  • → CLI 提示符页脚
  • → 会话上下文显示

兼容平台

Cursor

资源文件

skill-name/
├── SKILL.md

源码

https://github.com/cursor/skills-cursor/statusline

相关技能

常见问题

如何安装 statusline?

把安装提示词发给你的 AI,或运行 npx skills add https://github.com/cursor/skills-cursor/tree/main/statusline。

statusline 兼容哪些平台?

Cursor