Configure and back up the Agent status line, with support for listing historical versions and restoring them.
The Skill can be triggered with a natural-language request; no legacy slash path, argument interpolation, or designated assistant is required. Explicitly parse the project, target file, options, and output location from the current request; use the file, search, CLI, and browser capabilities actually provided by the current host.
Verify project dependency versions and external APIs at execution time; do not assume that examples represent current configurations. Resolve bundled scripts from the Skill root and business files from the target project root. Read the current state first, and protect existing uncommitted content and staging areas belonging to other tasks.
Keep analysis and preview requests read-only; perform modifications, commits, pushes, deployments, and releases strictly within the explicit scope of the current request.
Do not bypass safeguards, automatically send messages, forcibly terminate user processes, or take over the foreground. On failure, preserve the original error for diagnosis.
-
Parse update, list, rollback, and display content; first identify the target application and its actual status-line configuration. This Skill can be invoked by any host, but the target application must provide status-line capabilities.
-
Read the configuration and determine field names, input protocols, and command formats. For example, Claude Code's statusLine is a target-product configuration, and brace-delimited examples must not be treated directly as interpolation syntax. Verify the current official protocol.
-
Before modifying anything, save the field's existence state and value to the user-specified backup directory. Preserve other configuration and secrets, and use non-conflicting timestamp identifiers for backups.
-
Implement the project path, Git branch, time, separators, and colors according to the actual protocol. The script must handle missing fields, non-Git directories, and command failures, and its output must not contain credentials. After writing the configuration, read it back and validate the script with sample input.
-
The list operation displays versions and brief previews. The rollback operation first backs up the current field and then restores the selected version; a field that did not previously exist should be restored to a non-existent state. Report the difference between configuration validation and actual interface observation.
Before execution, read this package's
and
Profile Contract. The priority order is the current request, project context, this Skill's records, shared preferences, the brand/user Profile, and security defaults.
Read only declared fields; hosts without a dedicated runtime can use
to read the shared Profile.
If a required configuration is missing, ask only one question that affects the result. Values that the user explicitly requests to store long-term must be written atomically through this script, and their actual paths must be reported. Do not store inferred information, credentials, or materials from other tasks.