GrepBoard/Manuals
605 manuals ·

Claude Code subagentStatusLine setting removed (2.1.323)

·Tested on Claude Code changelog (CHANGELOG, as of 2.1.325) · official statusline and settings docs · 2026-11·Test scope ↓·6 steps

Subagent rows back to the default look? Claude Code 2.1.323 removed subagentStatusLine. Find the leftover key, decide whether to delete it.

If your subagentStatusLine script stopped taking effect and subagent rows now look the same as everyone else's, nothing is broken: the setting was removed in 2.1.323. A settings file that still holds the key does not produce an error. The main status line under the prompt (statusLine) is untouched; building one is covered in Show the model and context usage in the Claude Code status line.

[1] Read the changelog entry. This is the line from the ## 2.1.323 section of the official repository's CHANGELOG.md, verbatim.

output
- Removed the `subagentStatusLine` setting: subagent rows always use the default look, and settings files that still hold the key load as before

Two things follow. Subagent rows always use the default look, and files that still contain the key load as before. The entry names no replacement setting.

[2] Check your version. 2.1.323 or newer is a version without the setting.

console
$ claude --version

[3] Search for the leftover key in the user, project, and local settings files in one pass.

console
$ grep -n "subagentStatusLine" ~/.claude/settings.json .claude/settings.json .claude/settings.local.json

A matching line means the key is still in that file. No matches only clears the files grep actually read; a file that reports No such file was not checked. The active settings may live elsewhere, per the official docs:

  • With CLAUDE_CONFIG_DIR set, user settings are in that folder, not ~/.claude.
  • Started from a subdirectory of a git repository, .claude/settings.local.json is the one at the repository root (in a worktree, the main checkout's root; the docs describe this for saved allow rules). .claude/settings.json is read from the session's working directory, so run the command from the repository root.
  • Outside a git repository, on Windows, and in a few other cases the local file stays with .claude/settings.json.

Do not call the cleanup done until those locations have been checked with the same grep.

[4] The key can stay or go. The changelog says such files "load as before", so there is no urgency. If you delete it, back the file up first.

console
$ cp ~/.claude/settings.json ~/.claude/settings.json.bak

Remove the whole "subagentStatusLine": { … }, block. What remains looks like this:

~/.claude/settings.json
{  "statusLine": {    "type": "command",    "command": "~/.claude/statusline.sh"  }}

[5] There is no documented way to get the old subagent rows back. While the setting existed, the changelog recorded some of what the script received.

VersionChangelog entry (summary)
2.1.214Reasoning effort added to the payload
2.1.293agentType added to the payload
2.1.319Fixed ${CLAUDE_PLUGIN_ROOT} not being substituted in a plugin-provided subagentStatusLine command
2.1.323Setting removed

The current official statusline page never mentions subagentStatusLine. The agent.name field in the statusLine JSON is the agent name when running with the --agent flag or agent settings, not a way to restyle subagent rows. No replacement for custom subagent rows appears on the statusline, settings, or sub-agents pages.

[6] If statusLine updates late while subagents run, look at refreshInterval. The docs suggest it for the case where background subagents change git state while the main session is idle. The unit is seconds, the minimum is 1.

~/.claude/settings.json
{  "statusLine": {    "type": "command",    "command": "~/.claude/statusline.sh",   "refreshInterval": 10  }}

If a plugin shipped a subagentStatusLine command, the changelog does not say what happens to that entry after the removal, so that remains unconfirmed. If a plugin warning shows up, check the plugin's own repository.

#claude-code#statusline#subagent#settings