Skip to content
Back to skills

Occ Diagnose

ASecurity

Diagnose Open Claude Code installation, provider authentication, skill discovery, and CLI failures. Use when OCC fails to start, returns errors, or cannot find an installed skill.

  • 582 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added November 10, 2026
ai-agentsnodeapi

Works with

  • claude code
  • cli
  • api

Security analysis

A100/100

Scanned November 10, 2026

npx -y skills add ruvnet/open-claude-code --skill occ-diagnose --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Occ Diagnose?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Occ Diagnose
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ruvnet-occ-diagnose/badge)](https://www.skillsdirectory.com/skills/ruvnet-occ-diagnose)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: occ-diagnose
description: Diagnose Open Claude Code installation, provider authentication, skill discovery, and CLI failures. Use when OCC fails to start, returns errors, or cannot find an installed skill.
---

# Diagnose Open Claude Code

1. Capture the failing command, exit status, Node version, and OCC version. Redact credentials and sensitive provider response bodies.
2. Require Node 20 or newer. Verify `npx --yes @ruvnet/open-claude-code@2.1.3 --version` and `--help` before a provider call.
3. For authentication failures, check only whether the required environment variable is present. Never print its value. Match ANTHROPIC_API_KEY to Anthropic or OPENAI_API_KEY to an OpenAI compatible endpoint. Routing depends on the model name: use `--model gpt-4.1-mini` for an OpenAI compatible route. Check base URL and model selection without exposing credentials.
4. For a newly published npm version returning ETARGET or E404, retry metadata/install with a fresh cache and prefer-online for at most five minutes. Do not treat authentication, integrity, or behavioral failures as propagation delays.
5. For missing skills, inspect project `.claude/skills/<name>/SKILL.md` and user `~/.claude/skills/<name>/SKILL.md`. OCC 2.1.2 follows directory symlinks; project skills override user skills. A broken symlink is ignored.
6. Claude Code plugins and OCC's custom PluginLoader are different contracts. This repository's native plugin supplies skills to Claude Code; it does not make OCC support every third party Claude plugin.
7. Reproduce with the smallest allowed tool set, retain sanitized evidence, and propose a targeted fix. Do not delete user configuration or rotate secrets without authorization.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.