---
title: "context-bar"
url: "https://claudemods.dev/zh-cn/builds/context-bar-662009"
source: "https://github.com/vrnrn/agent-harness/tree/main/mods/context-bar"
source_type: "github"
repo: "https://github.com/vrnrn/agent-harness/tree/main/mods/context-bar"
author: "vrnrn"
author_handle: "vrnrn"
stars: 0
category: "仪表盘与 HUD"
categories: ["hud"]
tags: ["claude-code", "context-usage", "git-branch", "hud", "model-controls", "statusline"]
permission_level: 2
scan_complete: true
install: "claude plugin marketplace add vrnrn/agent-harness\nclaude plugin install context-bar@vrnrn"
added: "2026-10-05T17:08:18.713Z"
updated: "2026-10-04T21:23:11Z"
locale: "zh-cn"
content_locale: "zh-cn"
---

# context-bar

一个 Claude Code mod，在提示列上方添加上下文栏，显示模型和 effort 控件、文件夹、Git 分支、权限模式以及上下文用量。

## Description

Context bar 是一个 Claude Code mod，会在提示列正上方保留模型和 effort 控件、当前文件夹、Git 分支、权限模式以及上下文用量。通过 `claude plugin marketplace add vrnrn/agent-harness` 和 `claude plugin install context-bar@vrnrn` 安装。它需要 Claude Code mods API；可用的模型、effort 和权限选项取决于宿主。

## Install

```
claude plugin marketplace add vrnrn/agent-harness
claude plugin install context-bar@vrnrn
```

## Original README

# Context bar

Keep model and effort controls, folder, Git branch, permission mode, and context usage just above the prompt.

![The context bar with its effort menu open in Claude Code](../../assets/mods/image-preview.png)

## Install

```bash
claude plugin marketplace add vrnrn/agent-harness
claude plugin install context-bar@vrnrn
```

Requires the Claude Code mods API. Available model, effort, and permission choices depend on the host. The screenshot also shows the separate image-preview mod.

See the [mod guide](../README.md) for compatibility, local loading, validation, and tests.
