/context-mode:ctx-cloud-statusfrom context-mode
Show current Context Mode Cloud sync status. Displays connection health, sync config, and event statistics. Trigger: /context-mode:ctx-cloud-status
Ships in context-mode. 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.
Display the current cloud sync configuration, connection health, and event statistics.
Read sync config using Bash:
cat ~/.context-mode/sync.json 2>/dev/null || echo "NOT_CONFIGURED"
If not configured (file missing or empty), display:
## context-mode cloud status
- [ ] Cloud sync: NOT CONFIGURED
Run `/ctx-cloud-setup` to connect to Context Mode Cloud.
Stop here.
If configured, extract the config values. Never display the full API token — mask it as ctx_****<last4>.
Run health check using Bash:
curl -sf -o /dev/null -w "%{http_code}" \
-H "Authorization: Bearer <API_TOKEN>" \
"<API_URL>/api/health"
Check sync stats — read the stats file if it exists:
cat ~/.context-mode/sync-stats.json 2>/dev/null || echo "NO_STATS"
This file may contain: events_sent, last_sync_at, errors_count, last_error.
Display results as markdown directly in the conversation:
## context-mode cloud status
### Connection
- [x] Cloud sync: ENABLED
- [x] API URL: https://api.context-mode.com
- [x] API Token: ctx_****abcd
- [x] Organization: org_abc123
- [x] Health check: PASS (200 OK)
### Sync Settings
- Batch size: 50
- Flush interval: 30s
### Statistics
- Events sent: 1,247
- Last sync: 2 minutes ago
- Errors: 0
Use [x] for healthy items, [ ] for issues, [-] for warnings.
Variations:
If enabled is false:
- [-] Cloud sync: DISABLED (config exists but sync is turned off)
If health check fails:
- [ ] Health check: FAIL (<http_code> or connection error)
If no stats file exists:
### Statistics
- No sync data yet. Events will appear after the next Claude Code session.
If there are recent errors:
- [-] Errors: 3 (last: "Sync failed: 401 Unauthorized")
Actionable guidance — after the status display, add context-specific advice:
/ctx-cloud-setup to reconfigure your connection."enabled: true in ~/.context-mode/sync.json."What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub infodigitalmissionary/context-mode-fork --plugin context-mode6 skills in this plugin
/context-modeUse context-mode tools (ctx_execute, ctx_execute_file) instead of Bash/cat when processing
large outputs. Triggers: "analyze logs", "summarize output", "process data",
"parse JSON", "filter results", "extract errors", "check build output",
"analyze dependencies", "process API response", "large file analysis",
"page snapshot", "browser snapshot", "DOM structure", "inspect page",
"accessibility tree", "Playwright snapshot",
"run tests", "test output", "coverage report", "git log", "recent commits",
"diff between branches", "list containers", "pod status", "disk usage",
"fetch docs", "API reference", "index documentation",
"call API", "check response", "query results",
"find TODOs", "count lines", "codebase statistics", "security audit",
"outdated packages", "dependency tree", "cloud resources", "CI/CD output".
Also triggers on ANY MCP tool output that may exceed 20 lines.
Subagent routing is handled automatically via PreToolUse hook.
/ctx-cloud-setupConnect context-mode to Context Mode Cloud.
Guides through API URL, token, and org ID configuration.
Saves config to ~/.context-mode/sync.json and tests the connection.
Trigger: /context-mode:ctx-cloud-setup
/ctx-doctorRun context-mode diagnostics. Checks runtimes, hooks, FTS5,
plugin registration, npm and marketplace versions.
Trigger: /context-mode:ctx-doctor
/ctx-statsShow how much context window context-mode saved this session.
Displays token consumption, context savings ratio, and per-tool breakdown.
Trigger: /context-mode:ctx-stats
/ctx-upgradeUpdate context-mode from GitHub and fix hooks/settings.
Pulls latest, builds, installs, updates npm global, configures hooks.
Trigger: /context-mode:ctx-upgrade