Skip to content
Back to skills

Troubleshooting Assistant

ASecurity

Diagnose MCP registration, dependency, search, GPU and index failures.

  • 217 stars
  • 0 votes
  • 0 copies
  • 27 views
  • Added December 19, 2025
code-qualitypythongoshellbashgitapi

Works with

  • claude code
  • api
  • mcp

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned November 12, 2026

npx -y skills add RobThePCGuy/Claude-Patent-Creator --skill troubleshooting-assistant --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Troubleshooting Assistant?

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

Security grade badge for Troubleshooting Assistant
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/robthepcguy-troubleshooting-assistant/badge)](https://www.skillsdirectory.com/skills/robthepcguy-troubleshooting-assistant)

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: troubleshooting-assistant
description: Diagnose MCP registration, dependency, search, GPU and index failures.
---

# Troubleshooting Assistant

Record the exact error and reproduce the smallest failing operation. Check the installed environment before changing configuration.

macOS/Linux:
```bash
"$HOME/patent-creator-venv/bin/patent-creator" health
```

Windows PowerShell:
```powershell
& "$HOME\patent-creator-venv\Scripts\patent-creator.exe" health
```

macOS/Linux:
```bash
"$HOME/patent-creator-venv/bin/patent-creator" verify-config
```

Windows PowerShell:
```powershell
& "$HOME\patent-creator-venv\Scripts\patent-creator.exe" verify-config
```

Check registration with `claude mcp list`. After repairs, restart Claude Code and exercise the failing MCP operation again.

## Component diagnostics

The diagnostic scripts live in the plugin source, not in the pip package. Resolve `${CLAUDE_PLUGIN_ROOT}` to the actual plugin folder first. For a source checkout, use its absolute path. Set `PLUGIN_ROOT` below to that location; the example deliberately includes a space. Keep paths quoted.

macOS/Linux:
```bash
PLUGIN_ROOT="/absolute/path/Patent Plugin"
```

Windows PowerShell:
```powershell
$PLUGIN_ROOT = "C:\absolute\path\Patent Plugin"
```

macOS/Linux:
```bash
"$HOME/patent-creator-venv/bin/python" "$PLUGIN_ROOT/scripts/test_install.py"
```

Windows PowerShell:
```powershell
& "$HOME\patent-creator-venv\Scripts\python.exe" "$PLUGIN_ROOT/scripts/test_install.py"
```

macOS/Linux:
```bash
"$HOME/patent-creator-venv/bin/python" "$PLUGIN_ROOT/scripts/test_analyzers.py"
```

Windows PowerShell:
```powershell
& "$HOME\patent-creator-venv\Scripts\python.exe" "$PLUGIN_ROOT/scripts/test_analyzers.py"
```

Use `scripts/test_gpu.py` for an intended CUDA installation, `scripts/test_google_patents.py` for configured SerpApi, or `scripts/test_bigquery.py` only for configured BigQuery. Use the quoted invocation pattern above and report skipped optional components. Live search tests consume service quota.

For credentials saved only with `config set`, prefer the corresponding MCP status/search tools after restarting Claude Code. These standalone diagnostics do not all load saved settings; an unset-key result from a script does not prove that the saved configuration is broken.

## Repairs

- Import failure: reinstall the package in the same venv:

macOS/Linux:
```bash
"$HOME/patent-creator-venv/bin/python" -m pip install --upgrade git+https://github.com/RobThePCGuy/Claude-Patent-Creator.git
```

Windows PowerShell:
```powershell
& "$HOME\patent-creator-venv\Scripts\python.exe" -m pip install --upgrade git+https://github.com/RobThePCGuy/Claude-Patent-Creator.git
```

- Missing or damaged index: follow the **Index Manager** skill. Check the actual Storage paths, then use `setup --rebuild`; rebuilding does not update source editions.
- GPU failure: follow `docs/GPU_SETUP.md` under the plugin root. Avoid choosing a CUDA wheel without checking the GPU architecture.
- Build OOM: save `PATENT_EMBED_BATCH_SIZE` as 16 or 8 with `config set`, then retry. CPU mode is available through `PATENT_MPEP_DEVICE=cpu` saved with `config set`.
- SerpApi failure: call `check_google_patents_status`; check saved key configuration and quota without printing the key.
- BigQuery failure: only if this provider is wanted, follow `/configure-bigquery`.
- Search quality: inspect retrieved source text and metadata, vary the query, and distinguish no matches from a service failure.

Enable debug logging if needed:

macOS/Linux:
```bash
"$HOME/patent-creator-venv/bin/patent-creator" config set PATENT_LOG_LEVEL DEBUG
```

Windows PowerShell:
```powershell
& "$HOME\patent-creator-venv\Scripts\patent-creator.exe" config set PATENT_LOG_LEVEL DEBUG
```

Restart Claude Code to apply settings. Restore normal logging with `config unset PATENT_LOG_LEVEL`. Keep credentials out of diagnostic reports.

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 code-quality →

Comments

Loading comments…

Newsletter

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