observabilitylisted
Install: claude install-skill melodic-software/claude-code-plugins
## Repository context. Gather first
Collect these with **individual** Bash calls, one command per call, never combined into a single
invocation:
- Current branch, `git branch --show-current`
- Repo slug, `git rev-parse --show-toplevel | sed 's|.*/||'`
Treat a failure (not a repository, git unavailable) as an unknown value and carry on. Keep these as
separate body Bash calls rather than pre-compute lines: the harness runs a skill's whole pre-compute
block as one shell invocation, and a worktree-isolated session refuses a compound command that
contains git.
## Pre-computed context
ccusage availability: !`command -v npx >/dev/null 2>&1 && echo "npx present" || echo "npx MISSING"`
Hook log root (rendered option, empty or unrendered means the default `.observability/claude`): `${user_config.session_event_log_dir}`
Hook event log: !`bash "${CLAUDE_PLUGIN_ROOT}/skills/observability/scripts/probe-observability-state.sh" --hook-events --root "${user_config.session_event_log_dir}" 2>/dev/null || echo "unknown"`
Hook logging pipeline: !`bash "${CLAUDE_PLUGIN_ROOT}/skills/observability/scripts/probe-observability-state.sh" --pipeline --root "${user_config.session_event_log_dir}" --enabled "${user_config.session_event_log_enabled}" --categories "${user_config.session_event_log_categories}" --keep-sessions "${user_config.session_log_keep_sessions}" --keep-days "${user_config.session_log_keep_days}" --pre-prune-command "${user_config.session_log_pre_prune_command}" 2>/dev/null || echo