/claude-code-status:status-doctorfrom claude-code-status
Check all external dependencies, authentication status, cache freshness, and configuration required by the claude-status plugin. Use when status line shows errors or after installation.
Ships in claude-code-status. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Check all external dependencies and configuration required by the claude-status plugin.
! for one or more services.| Check | Tool / Path | Required for |
|---|---|---|
| Node.js | node --version | Runtime renderer, all collectors |
| npm | npm --version | Runtime build / install |
| GitHub CLI auth | gh auth status | github collector |
| Atlassian CLI auth | acli jira auth status | jira collector |
| Google Workspace CLI installed | gws --version | gmail, tasks collectors |
| Google Workspace CLI auth | gws auth status | gmail, tasks collectors |
| Launcher file | $CLAUDE_PLUGIN_DATA/bin/status-line.sh | statusLine.command |
| Runtime dist | $CLAUDE_PLUGIN_DATA/runtime/dist/render.js | statusLine execution |
| settings.json pointer | ~/.claude/settings.json → statusLine.command | status line rendering |
| Cache freshness (each service) | $CLAUDE_PLUGIN_DATA/cache/<service>.json | accurate status line |
| Last error per service | errorKind + detail in each cache file | diagnosing ! entries |
node --version
v18.x.x or highernpm --version
gh)gh auth status
gh auth logingh not found): install from https://cli.github.comacli)acli jira auth status 2>&1 || acli --version 2>&1
acli jira auth login --webacli not found): install from https://acli.atlassian.comgws)gws --version
gws 0.19.0)npm install -g @googleworkspace/cligws auth status
Inspect the JSON output:
auth_method is not "none" (e.g. "encrypted_keyring" or "plaintext_file")auth_method: "none"): run gws auth login to authenticate$CLAUDE_PLUGIN_DATA/bin/status-line.sh
/claude-code-status:init-statusline or restart Claude Code to trigger the SessionStart hook$CLAUDE_PLUGIN_DATA/runtime/dist/render.js
$CLAUDE_PLUGIN_DATA/logs/tsc-build.logRead ~/.claude/settings.json and confirm statusLine.command equals the expected launcher path.
$CLAUDE_PLUGIN_DATA/bin/status-line.sh/claude-code-status:init-statuslineFor each service (gmail, tasks, jira, github), read:
cat "$CLAUDE_PLUGIN_DATA/cache/<service>.json"
Inspect the fetchedAt and ttlMs fields:
age = now - fetchedAt (milliseconds)
fresh = age < ttlMs
fresh = truefresh = false — cache is stale; a background refresh will fire on the next rendernode "$CLAUDE_PLUGIN_DATA/runtime/dist/collect.js" --service <service> --force
For each service cache file where status = "error", display:
<service> ERROR errorKind: <kind>
detail: <detail>
fix: <actionable suggestion>
Fix suggestions by errorKind:
errorKind | Service | Fix |
|---|---|---|
auth | github | gh auth login |
auth | jira | acli jira auth login --web |
auth | gmail / tasks | Run gws auth login |
dependency | github | Install gh from https://cli.github.com |
dependency | jira | Install acli from https://acli.atlassian.com |
dependency | gmail / tasks | Install gws: npm install -g @googleworkspace/cli |
rate_limit | any | Wait a few minutes, then retry |
transient | any | node "$CLAUDE_PLUGIN_DATA/runtime/dist/collect.js" --service <service> --force |
unknown | any | See detail field for raw error; check internet connectivity |
[claude-status doctor]
node v20.11.0 OK
npm 10.2.4 OK
gh logged in OK
acli logged in OK
gws 0.19.0 OK
gws-auth logged in OK
launcher found OK
runtime dist found OK
settings.json correct OK
Cache freshness:
gmail fresh (fetched 2m ago, TTL 5m) OK
tasks fresh (fetched 1m ago, TTL 5m) OK
jira fresh (fetched 3m ago, TTL 5m) OK
github fresh (fetched 30s ago, TTL 90s) OK
Last errors: none
All checks passed.
[claude-status doctor]
node v20.11.0 OK
npm 10.2.4 OK
gh NOT FOUND FAIL -> Install from https://cli.github.com
acli NOT LOGGED FAIL -> Run: acli jira auth login --web
gws NOT FOUND FAIL -> npm install -g @googleworkspace/cli
gws-auth - SKIP (gws not installed)
launcher found OK
runtime dist found OK
settings.json not set FAIL -> Run /claude-code-status:init-statusline
Cache freshness:
gmail ERROR (dependency: gws CLI not found)
-> npm install -g @googleworkspace/cli
tasks ERROR (dependency: gws CLI not found)
-> npm install -g @googleworkspace/cli
jira stale (fetched 12m ago, TTL 5m)
-> node "$CLAUDE_PLUGIN_DATA/runtime/dist/collect.js" --service jira --force
github ERROR (dependency: gh CLI not found)
-> Install gh from https://cli.github.com
5 checks failed. See above for remediation steps.
$CLAUDE_PLUGIN_DATA is only available inside hook/skill runtime contexts — it is NOT set when Claude executes Bash tool commands. Always resolve it explicitly:
CLAUDE_PLUGIN_DATA="$HOME/.claude/plugins/data/claude-code-status-claude-code-status"
Use this resolved value in ALL subsequent bash commands within this skill.
gws auth login or see https://github.com/googleworkspace/cli#authentication.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub seojaewan/claude-code-status --plugin claude-code-status9 skills in this plugin
/github-checkShow cached GitHub PR notification details, diagnose errors, guide authentication, and optionally force a fresh fetch. Use when status line shows github count or error./gmail-checkShow cached Gmail unread details, diagnose errors, and optionally force a fresh fetch. Use when status line shows Gmail count or error./init-statuslineOne-command full setup — bootstrap data directory, wire settings.json, and populate cache. No restart required./jira-checkShow cached Jira open issue details, diagnose errors, guide authentication, and optionally force a fresh fetch. Use when status line shows jira count or error./slack-checkShow cached Slack unread details, diagnose errors, and optionally force a fresh fetch. Use when status line shows slack count or error./slack-setupSet up Slack integration — register token and select channels to monitor. Use when user wants to connect Slack to the status line.