status-line-customization
Central authority for Claude Code status line configuration. Covers custom status line creation, /statusline command, status line settings (statusLine in settings.json), JSON input structure (model, workspace, cost, session info), status line scripts (Bash, Python, Node.js), terminal color codes, git-aware status lines, helper functions, and status line troubleshooting. Supports creating custom status lines, configuring status line behavior, and displaying contextual session information. Delegates 100% to docs-management skill for official documentation.
What this skill does
# Status Line Meta Skill > ## ๐จ MANDATORY: Invoke docs-management First > > **STOP - Before providing ANY response about status line configuration:** > > 1. **INVOKE** `docs-management` skill > 2. **QUERY** for the user's specific topic > 3. **BASE** all responses EXCLUSIVELY on official documentation loaded > > **Skipping this step results in outdated or incorrect information.** > > ### Verification Checkpoint > > Before responding, verify: > > - [ ] Did I invoke docs-management skill? > - [ ] Did official documentation load? > - [ ] Is my response based EXCLUSIVELY on official docs? > > If ANY checkbox is unchecked, STOP and invoke docs-management first. ## Overview Central authority for Claude Code status line configuration. This skill uses **100% delegation to docs-management** - it contains NO duplicated official documentation. **Architecture:** Pure delegation with keyword registry. All official documentation is accessed via docs-management skill queries. ## When to Use This Skill **Keywords:** status line, statusline, /statusline command, custom status line, status line configuration, statusLine setting, status line script, status line JSON input, model display, workspace info, cost tracking display, session info display, ANSI colors status line, git-aware status line, PS1-style prompt **Use this skill when:** - Creating custom status lines - Configuring status line settings - Understanding status line JSON input structure - Writing status line scripts (Bash, Python, Node.js) - Adding git information to status line - Styling status lines with ANSI colors - Troubleshooting status line issues - Displaying model, cost, or workspace information ## Keyword Registry for docs-management Queries Use these keywords when querying docs-management skill for official documentation: ### Status Line Fundamentals | Topic | Keywords | | --- | --- | | Overview | "status line", "statusline", "custom status line" | | Purpose | "status line purpose", "contextual information display" | | Behavior | "status line update", "status line refresh rate" | ### Configuration Methods | Topic | Keywords | | --- | --- | | Slash Command | "/statusline command", "statusline setup" | | Settings | "statusLine setting", "settings.json statusLine" | | Command Type | "statusLine type command", "status line command config" | | Padding | "statusLine padding", "status line edge" | ### JSON Input Structure | Topic | Keywords | | --- | --- | | Input Format | "status line JSON input", "statusline stdin JSON" | | Model Info | "status line model", "model display_name", "model id" | | Workspace Info | "status line workspace", "current_dir", "project_dir" | | Session Info | "status line session_id", "transcript_path" | | Cost Info | "status line cost", "total_cost_usd", "lines_added" | | Version Info | "status line version", "output_style" | | Context Usage | "used_percentage", "remaining_percentage", "context window usage", "context capacity" | ### Script Examples | Topic | Keywords | | --- | --- | | Bash Scripts | "status line bash script", "statusline.sh" | | Python Scripts | "status line python", "statusline python example" | | Node.js Scripts | "status line nodejs", "statusline javascript" | | Helper Functions | "status line helper functions", "statusline helpers" | ### Git Integration | Topic | Keywords | | --- | --- | | Git-Aware Status | "git-aware status line", "git branch status line" | | Git Branch Display | "status line git branch", "show git branch" | ### Styling and Display | Topic | Keywords | | --- | --- | | ANSI Colors | "status line ANSI", "status line colors", "styling status line" | | Emojis | "status line emojis", "status line icons" | | Concise Display | "status line concise", "fit on one line" | ### Troubleshooting | Topic | Keywords | | --- | --- | | Not Appearing | "status line not appearing", "statusline troubleshooting" | | Executable Issues | "status line chmod", "script not executable" | | Output Issues | "status line stdout", "statusline stderr" | | Testing | "test status line script", "mock JSON input" | ## Quick Decision Tree **What do you want to do?** 1. **Create a status line quickly** -> Query docs-management: "/statusline command", "statusline setup" 2. **Configure status line in settings** -> Query docs-management: "statusLine setting", "settings.json statusLine" 3. **Understand JSON input** -> Query docs-management: "status line JSON input", "statusline stdin JSON" 4. **Show model information** -> Query docs-management: "status line model", "model display_name" 5. **Show cost/usage** -> Query docs-management: "status line cost", "total_cost_usd" 6. **Add git branch** -> Query docs-management: "git-aware status line", "git branch status line" 7. **Write bash script** -> Query docs-management: "status line bash script", "statusline.sh" 8. **Write Python script** -> Query docs-management: "status line python", "statusline python example" 9. **Add colors** -> Query docs-management: "status line ANSI", "status line colors" 10. **Fix status line issues** -> Query docs-management: "statusline troubleshooting", "status line not appearing" ## Topic Coverage ### Status Line Configuration - /statusline slash command for quick setup - statusLine setting in settings.json - Command type configuration - Padding configuration (edge alignment) - Script path specification ### JSON Input Data - hook_event_name (always "Status") - session_id (current session identifier) - transcript_path (path to transcript file) - cwd (current working directory) - model object (id and display_name) - workspace object (current_dir and project_dir) - version (Claude Code version) - output_style object (current style name) - cost object (usage metrics) ### Cost Tracking Fields - total_cost_usd (session cost) - total_duration_ms (session duration) - total_api_duration_ms (API call time) - total_lines_added (lines added) - total_lines_removed (lines removed) ### Script Implementation Patterns - Bash with jq for JSON parsing - Python with json module - Node.js with JSON.parse - Helper function patterns for complex scripts - Reading from stdin - Outputting to stdout (first line only) ### Git Integration Patterns - Detecting git repository - Reading current branch - Branch display formatting - Error handling for non-git directories ### Styling Approaches - ANSI color code support - Emoji usage for visual indicators - Concise formatting (one line) - Information density considerations ### Update Behavior - Updates on conversation message changes - 300ms rate limiting - First line of stdout becomes status text - ANSI color code preservation ## Delegation Patterns ### Standard Query Pattern ```text User asks: "How do I create a custom status line?" 1. Invoke docs-management skill 2. Use keywords: "/statusline command", "custom status line" 3. Load official documentation 4. Provide guidance based EXCLUSIVELY on official docs ``` ### Multi-Topic Query Pattern ```text User asks: "I want a status line showing git branch and cost" 1. Invoke docs-management skill with multiple queries: - "git-aware status line", "git branch status line" - "status line cost", "total_cost_usd" 2. Synthesize guidance from official documentation ``` ### Troubleshooting Pattern ```text User reports: "My status line script isn't showing up" 1. Invoke docs-management skill 2. Use keywords: "statusline troubleshooting", "status line not appearing" 3. Check official docs for common issues 4. Guide user through troubleshooting steps ``` ## Troubleshooting Quick Reference | Issue | Keywords for docs-management | | --- | --- | | Status line not appearing | "statusline troubleshooting", "status line not appearing" | | Script not executable | "status line chmod", "script not executable" | | Wrong output | "status line stdout", "first line output" | | JSON parsing errors | "status line JSON input", "jq parsing" | | Colors not working | "status line ANSI", "terminal colors" | |
Related in Backend & APIs
jfrog
IncludedInteract with the JFrog Platform via the JFrog CLI and REST/GraphQL APIs. Use this skill when the user wants to manage Artifactory repositories, upload or download artifacts, manage builds, configure permissions, manage users and groups, work with access tokens, configure JFrog CLI servers, search artifacts, manage properties, set up replication, manage JFrog Projects, run security audits or scans, look up CVE details, query exposures scan results from JFrog Advanced Security, manage release bundles and lifecycle operations, aggregate or export platform data, or perform any JFrog Platform administration task. Also use when the user mentions jf, jfrog, artifactory, xray, distribution, evidence, apptrust, onemodel, graphql, workers, mission control, curation, advanced security, exposures, or any JFrog product name.
cupynumeric-migration-readiness
IncludedPre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU, whether they should migrate to cuPyNumeric, which NumPy patterns transfer cleanly, what must be refactored before porting, or mentions pre-port assessment, scaling analysis, or refactor planning. Inspect the user's source code, look up NumPy usage, cross-reference the cuPyNumeric API support manifest, and distinguish distributed-scaling-friendly patterns from blockers such as unsupported APIs, scalar synchronization, host round-trips, Python/object-heavy control flow, shape/data-dependent branching, and in-place mutation hazards. Produce a verdict of READY, LIGHT REFACTOR, SIGNIFICANT REFACTOR, or NOT RECOMMENDED, with concrete refactor pointers.
alibabacloud-data-agent-skill
IncludedInvoke Alibaba Cloud Apsara Data Agent for Analytics via CLI to perform natural language-driven data analysis on enterprise databases. Data Agent for Analytics is an intelligent data analysis agent developed by Alibaba Cloud Database team for enterprise users. It automatically completes requirement analysis, data understanding, analysis insights, and report generation based on natural language descriptions. This tool supports: discovering data resources (instances/databases/tables) managed in DMS, initiating query or deep analysis sessions, real-time progress tracking, and retrieving analysis conclusions and generated reports. Use this Skill when users need to query databases, analyze data trends, generate data reports, ask questions in natural language, or mention "Data Agent", "data analysis", "database query", "SQL analysis", "data insights".
token-optimizer
IncludedReduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only โ no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
resend-cli
IncludedUse this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures. Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `resend domains`, `resend webhooks listen`, `resend emails receiving`, or agent-friendly terminal automation.
alibabacloud-odps-maxframe-coding
IncludedUse this skill for MaxFrame SDK development and documentation navigation on Alibaba Cloud MaxCompute (ODPS). Helps answer MaxFrame API, concept, official example, and supported pandas API questions; create data processing programs; read/write MaxCompute tables; debug jobs (remote or local); and build custom DPE runtime images. Trigger when users mention MaxFrame, MaxCompute with MaxFrame, ODPS table processing, DPE runtime, MaxFrame docs/examples, DataFrame/Tensor operations, or GPU runtime setup. Works for both English and Chinese queries about Alibaba Cloud data processing with MaxFrame.