update_status_line

Update or add custom key-value pairs to a session's status line data, enabling dynamic status line customization with arbitrary metadata.

Content Preview
# Update Status Line Data

## Purpose

Update or add custom key-value pairs to a session's status line data, enabling dynamic status line customization with arbitrary metadata.

## Variables

- `session_id` - The unique session identifier to update
- `key` - The key name to upsert in the extras object
- `value` - The value to set for the specified key

## Instructions

Update the session JSON file at `.claude/data/sessions/{session_id}.json` by:
1. Locating the correct session file based on the 
How to Use

Recommended: Install to project (local)

mkdir -p .claude/skills
curl -o .claude/skills/update_status_line.md \
  https://raw.githubusercontent.com/disler/claude-code-hooks-mastery/main/.claude/commands/update_status_line.md

Skill is scoped to this project only. Add .claude/skills/ to your .gitignoreif you don't want to commit it.

Alternative: Clone full repo

git clone https://github.com/disler/claude-code-hooks-mastery

Then reference at .claude/commands/update_status_line.md

Related Skills