Skip to content
Back to skills

Statusline Check

BSecurity

Health check and troubleshooting for installed statusline

  • 2 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added June 1, 2026
ai-agentsbashnodeapisecurity

Works with

  • claude code
  • api

Security analysis

B88/100
  • criticalAccesses system keychains or credential stores

Pro shows the line behind each finding and how to fix it

Scanned June 1, 2026

npx -y skills add yusufalikync/ccs --skill statusline-check --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Statusline Check?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Statusline Check
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/yusufalikync-statusline-check/badge)](https://www.skillsdirectory.com/skills/yusufalikync-statusline-check)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: statusline-check
description: Health check and troubleshooting for installed statusline
user-invocable: true
disable-model-invocation: false
allowed-tools: Bash, Read
---

# Statusline Health Check

Run a comprehensive health check on the installed statusline setup and provide troubleshooting guidance.

## Checklist

Run these checks in order and report results:

### 1. Script installed
```bash
ls -la ~/.claude/statusline.js
```
Expected: file exists and is readable.

### 2. Settings configured
Read `~/.claude/settings.json` and verify:
- `statusLine` key exists
- `command` value references `statusline.js`
- `padding` is set

### 3. Node.js version
```bash
node --version
```
Must be >= 18 (for fetch API support).

### 4. Credential access
**macOS:**
```bash
security find-generic-password -s "Claude Code-credentials" 2>&1 | head -3
```

**Linux:**
```bash
secret-tool lookup service "Claude Code-credentials" 2>&1 | head -3
```

Should not return an error about item not found.

### 5. Cache status
```bash
ls -la ${TMPDIR:-/tmp}/claude_usage_cache_*.json 2>/dev/null || echo "No cache files found"
```
Report count and age of cache files.

### 6. Quick smoke test
```bash
echo '{"model":{"display_name":"Test"},"cost":{"total_cost_usd":0},"context_window":{"used_percentage":50},"workspace":{"current_dir":"/tmp"},"session_id":"healthcheck"}' | node ~/.claude/statusline.js
```
Should produce two lines of output without errors.

## Output Format

Present results as a checklist:
- [x] Check passed
- [ ] Check failed — explain what's wrong and how to fix it

If any check fails, provide specific fix instructions (e.g., `ccs install`, `update Node.js`).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.