From rune
Claude Code runtime environment inspector. Comprehensive diagnostic tool that reports all Claude Code environment variables, session identity, config directory, plugin paths, system toolchain versions, Rune runtime state, and platform details. Use when debugging environment issues, verifying session isolation, checking config directory resolution, or diagnosing plugin loading. Trigger keywords: cc inspect, claude code inspect, env check, environment, session id, config dir, diagnostic, runtime info, plugin env, plugin root, system info, toolchain. Note: This skill uses disable-model-invocation: true because it is a diagnostic tool meant for explicit user invocation only. It appears in the /rune:cc-inspect routing table entry.
npx claudepluginhub vinhnxv/rune --plugin runeThis skill is limited to using the following tools:
Comprehensive diagnostic view of the Claude Code runtime environment,
Runs bash script to diagnose Claude Code plugin issues, checking Node.js, build tools, dependencies, MCP wrapper, Python, and Playwright. Provides fix instructions for failures.
Detects agent runtime (Claude Code, Vercel Sandbox, local dev) and adapts behavior to available tools like Skill(), bash, readFile. For cross-runtime agents and SOUL.md prompts.
Runs comprehensive diagnostics on Claude Code environment: plugins, settings, hooks, MCP servers. Identifies issues, supports --fix and --verbose.
Share bugs, ideas, or general feedback.
Comprehensive diagnostic view of the Claude Code runtime environment, session identity, plugin state, and system toolchain.
Run the diagnostic script:
bash "${RUNE_PLUGIN_ROOT}/scripts/cc-inspect.sh"
Fallback (outside plugin context):
bash plugins/rune/scripts/cc-inspect.sh
If the user passes --section <name>, only show that section. Valid names:
env, session, system, plugin, runtime, echoes, all (default).
If the user passes --json, present findings as structured key-value data.
| Variable | Description |
|---|---|
CLAUDE_CONFIG_DIR | Config directory override (default: ~/.claude) |
CLAUDE_SESSION_ID | Current session UUID — used for session isolation |
CLAUDE_PROJECT_DIR | Project root directory |
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS | Agent Teams feature flag (1 = enabled) |
| Variable | Description |
|---|---|
CLAUDE_PLUGIN_ROOT | Absolute path to the active plugin directory (hook context only) |
RUNE_PLUGIN_ROOT | Bridged plugin root path (available in Bash() tool calls via CLAUDE_ENV_FILE) |
CLAUDE_PLUGIN_DATA | Plugin-scoped persistent data directory |
| Variable | Description |
|---|---|
RUNE_SESSION_ID | Rune workflow session ID (injected by SessionStart hook) |
RUNE_TRACE | Trace logging toggle (1 = enabled) |
RUNE_TRACE_LOG | Trace log file path |
RUNE_CLEANUP_DRY_RUN | Dry-run mode for cleanup hooks (1 = log only) |
| Variable | Description |
|---|---|
PPID | Parent process ID (Claude Code PID — used for session isolation) |
HOME | User home directory |
USER | Current user name |
SHELL | User's default shell |
TMPDIR | Temporary directory (macOS sets this per-session) |
PATH | Executable search path (truncated for readability) |
CLAUDE_* variables with set/unset statusRUNE_* variablesCLAUDE_PLUGIN_ROOT / CLAUDE_PLUGIN_DATA not set: running outside plugin context (hook context)RUNE_PLUGIN_ROOT not set: SessionStart hook failed to inject (check CLAUDE_ENV_FILE)CLAUDE_CONFIG_DIR not set: using default ~/.claude (single-account setup)CLAUDE_SESSION_ID not set: older Claude Code version or non-interactive contextPPID mismatch between skill and hook: expected — hooks run via hook runner subprocess