From 19b43e53527472a392fde527652c3bc6946679d7 Mon Sep 17 00:00:00 2001 From: starr-openai Date: Tue, 7 Apr 2026 10:50:03 -0700 Subject: [PATCH] Rename /context skill row label Co-authored-by: Codex --- codex-rs/core/src/context_manager/context_breakdown.rs | 4 ++-- codex-rs/tui/src/context_window.rs | 2 +- ...ndow__tests__renders_default_context_window_breakdown.snap | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/codex-rs/core/src/context_manager/context_breakdown.rs b/codex-rs/core/src/context_manager/context_breakdown.rs index a5bf4b44df..7ffdf9f041 100644 --- a/codex-rs/core/src/context_manager/context_breakdown.rs +++ b/codex-rs/core/src/context_manager/context_breakdown.rs @@ -334,7 +334,7 @@ fn classify_developer_text(text: &str) -> (ContextSectionKind, String) { return ( ContextSectionKind::User, format!( - "Implicit skills catalog ({} skills)", + "Skill instructions ({} skills)", count_catalog_entries(trimmed) ), ); @@ -672,7 +672,7 @@ mod tests { "AGENTS.md instructions for /repo".to_string(), "Base instructions".to_string(), "Environment context".to_string(), - "Implicit skills catalog (1 skills)".to_string(), + "Skill instructions (1 skills)".to_string(), "Reasoning".to_string(), "Skill: notify (/tmp/skills/notify/SKILL.md)".to_string(), "User message".to_string(), diff --git a/codex-rs/tui/src/context_window.rs b/codex-rs/tui/src/context_window.rs index 71f2cb5f60..18e6888b83 100644 --- a/codex-rs/tui/src/context_window.rs +++ b/codex-rs/tui/src/context_window.rs @@ -403,7 +403,7 @@ mod tests { label: "User".to_string(), tokens: 12_000, details: vec![ThreadContextWindowDetail { - label: "Implicit skills catalog (42 skills)".to_string(), + label: "Skill instructions (42 skills)".to_string(), tokens: 12_000, }], }, diff --git a/codex-rs/tui/src/snapshots/codex_tui__context_window__tests__renders_default_context_window_breakdown.snap b/codex-rs/tui/src/snapshots/codex_tui__context_window__tests__renders_default_context_window_breakdown.snap index 6b487a77c4..99fa7c8523 100644 --- a/codex-rs/tui/src/snapshots/codex_tui__context_window__tests__renders_default_context_window_breakdown.snap +++ b/codex-rs/tui/src/snapshots/codex_tui__context_window__tests__renders_default_context_window_breakdown.snap @@ -14,7 +14,7 @@ Context map ■ Conversation 40.0% ■ User ~12,000 tokens 60.0% of used - ██████████ Implicit skills catalog (42 skills) (~12,000 tokens) + ██████████ Skill instructions (42 skills) (~12,000 tokens) ■ Conversation ~8,000 tokens 40.0% of used ██████░░░░ Tool output (~5,000 tokens)