/claude-code-status:toggle-servicefrom claude-code-status
Toggle status line service visibility on/off. Use when user wants to show or hide gmail, tasks, jira, or github from the status line.
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.
Toggle a service's visibility in the status line.
The user may provide:
<service> on or <service> off — toggle a specific servicelist or no arguments — show current visibility settingsValid services: gmail, tasks, jira, github
Determine the service and desired state from the user's input.
If no arguments or list, skip to step 3.
Read $CLAUDE_PLUGIN_DATA/config.json, update the services.<name> field, and write back.
CLAUDE_PLUGIN_DATA="$CLAUDE_PLUGIN_DATA"
CONFIG="$CLAUDE_PLUGIN_DATA/config.json"
If the file doesn't exist, create it with:
{
"services": {}
}
Use node -e to read, merge, and write the config:
node -e "
const fs = require('fs');
const p = '$CONFIG';
let c = {};
try { c = JSON.parse(fs.readFileSync(p,'utf8')); } catch {}
if (!c.services) c.services = {};
c.services['<SERVICE>'] = <true|false>;
fs.writeFileSync(p, JSON.stringify(c, null, 2));
console.log('Updated:', JSON.stringify(c.services, null, 2));
"
Read and display the current config:
cat "$CLAUDE_PLUGIN_DATA/config.json" 2>/dev/null || echo '{"services":{}}'
Report which services are visible (default: all visible if not in config).
Tell the user:
$CLAUDE_PLUGIN_DATA/config.json$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"
IMPORTANT: When using this path in node -e commands, pass it as a command-line argument (process.argv[1]) rather than embedding via shell variable interpolation ('$CONFIG'), to avoid path issues on Windows where $HOME may resolve differently.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub seojaewan/claude-code-status --plugin claude-code-statusOther plugins' skills for the same job
9 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.