MCP HubMCP Hub
スキル一覧に戻る

troubleshooting-assistant

RobThePCGuy
更新日 Yesterday
97 閲覧
2
2
GitHubで表示
メタaimcpdesign

について

このスキルは、Claude Patent Creatorにおける一般的な技術的問題(MCPサーバーの障害、GPU検出、認証エラーなど)の診断と解決を行います。開発者がエラー、パフォーマンス問題、またはシステム障害に直面した際に、体系的なトラブルシューティング手法を提供します。運用上の問題、予期しない動作が発生した場合、または障害コンポーネントの特定が必要な際にご利用ください。

クイックインストール

Claude Code

推奨
プラグインコマンド推奨
/plugin add https://github.com/RobThePCGuy/Claude-Patent-Creator
Git クローン代替
git clone https://github.com/RobThePCGuy/Claude-Patent-Creator.git ~/.claude/skills/troubleshooting-assistant

このコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします

ドキュメント

Troubleshooting Assistant Skill

Expert diagnostic system for identifying and resolving Claude Patent Creator issues.

When to Use

System not working, error messages, slow performance, MCP server not loading, search returns no results/errors, GPU not detected, BigQuery auth fails, index build fails, tests failing, unexpected behavior.

Troubleshooting Methodology

Problem Reported
  |
[1] Gather Information (errors, recent changes, system state)
  |
[2] Reproduce Issue (minimal test case, consistent?)
  |
[3] Isolate Component (which part failing? dependencies?)
  |
[4] Diagnose Root Cause (check logs, test components, verify config)
  |
[5] Apply Fix (targeted solution, verify works)
  |
[6] Prevent Recurrence (document, add monitoring, update checks)

Common Issues & Quick Fixes

IssueQuick Fix
MCP server not loadingclaude mcp list -> Re-register if missing
GPU not detectedReinstall PyTorch with CUDA
BigQuery auth failsgcloud auth application-default login
Index not foundpatent-creator rebuild-index
Import errorsActivate venv: venv\Scripts\activate
Slow searchesCheck GPU usage, reduce top_k, disable HyDE
Irrelevant resultsRephrase query with MPEP terminology

Detailed Issue Guides

MCP Server Issues

Problems: Server not loading, tools don't work/return errors

  • 5-step diagnostic workflow
  • Path verification and correction
  • Dependency troubleshooting
  • Server restart procedures

GPU & BigQuery Issues

Problems: GPU not detected, slow performance, BigQuery auth fails, query timeouts

  • CUDA detection and PyTorch reinstallation
  • Performance diagnostics and optimization
  • BigQuery authentication and permissions
  • Timeout configuration

Index, Dependencies & Configuration

Problems: Index not found, build fails, ModuleNotFoundError, import errors, env vars not loading, irrelevant search results

  • Index rebuild procedures
  • OOM (Out of Memory) solutions
  • Virtual environment activation
  • Pydantic validation errors
  • Configuration troubleshooting
  • Search quality tuning

Diagnostic Tools

Health Check Suite

# Full system health
patent-creator health

# Individual components
python scripts/test_gpu.py
python scripts/test_bigquery.py
python scripts/test_analyzers.py
python scripts/test_install.py

Component Isolation

# Test MPEP search
python -c "from mcp_server.mpep_search import MPEPIndex; \
           index = MPEPIndex(); \
           print('OK' if index.search('test', top_k=1) else 'FAILED')"

# Test BigQuery
python -c "from mcp_server.bigquery_search import BigQueryPatentSearch; \
           search = BigQueryPatentSearch(); \
           print('OK' if search.search_patents('neural network', limit=1) else 'FAILED')"

# Test analyzers
python -c "from mcp_server.claims_analyzer import ClaimsAnalyzer; \
           analyzer = ClaimsAnalyzer(); \
           print('OK' if analyzer.analyze('1. A test claim.') else 'FAILED')"
  • Log analysis (debug mode)
  • MCP communication debugging
  • Performance profiling
  • Memory profiling
  • Issue escalation procedures

Best Practices for Prevention

  1. Regular health checks (weekly patent-creator health)
  2. Monitor logs for warnings/errors
  3. Keep dependencies updated (test before deploying)
  4. Backup before changes (especially index rebuilds)
  5. Document modifications
  6. Test after changes (run test suite)
  7. Version control (use git)
  8. Environment consistency (same Python/CUDA versions)

Quick Reference

Most Common Errors

ErrorCategorySolution
"Tool not found"MCPclaude mcp list
"ModuleNotFoundError"DependenciesActivate venv, reinstall
"CUDA not available"GPUReinstall PyTorch with CUDA
"Permission denied" (BigQuery)Authgcloud auth application-default login
"Index not found"Indexpatent-creator rebuild-index
"Out of memory"Index BuildReduce batch size
"Validation error"InputCheck Pydantic model parameters

Diagnostic Commands

# System health
patent-creator health

# Test components
python scripts/test_gpu.py
python scripts/test_bigquery.py
python scripts/test_install.py

# Check registration
claude mcp list

# Check paths
patent-creator verify-config

# Enable debug logging
export PATENT_LOG_LEVEL=DEBUG

GitHub リポジトリ

RobThePCGuy/Claude-Patent-Creator
パス: skills/troubleshooting-assistant
bigqueryclaude-codeclaude-code-pluginfaissmcp-servermpep

関連スキル

content-collections

メタ

This skill provides a production-tested setup for Content Collections, a TypeScript-first tool that transforms Markdown/MDX files into type-safe data collections with Zod validation. Use it when building blogs, documentation sites, or content-heavy Vite + React applications to ensure type safety and automatic content validation. It covers everything from Vite plugin configuration and MDX compilation to deployment optimization and schema validation.

スキルを見る

creating-opencode-plugins

メタ

This skill provides the structure and API specifications for creating OpenCode plugins that hook into 25+ event types like commands, files, and LSP operations. It offers implementation patterns for JavaScript/TypeScript modules that intercept and extend the AI assistant's lifecycle. Use it when you need to build event-driven plugins for monitoring, custom handling, or extending OpenCode's capabilities.

スキルを見る

evaluating-llms-harness

テスト

This Claude Skill runs the lm-evaluation-harness to benchmark LLMs across 60+ standardized academic tasks like MMLU and GSM8K. It's designed for developers to compare model quality, track training progress, or report academic results. The tool supports various backends including HuggingFace and vLLM models.

スキルを見る

sglang

メタ

SGLang is a high-performance LLM serving framework that specializes in fast, structured generation for JSON, regex, and agentic workflows using its RadixAttention prefix caching. It delivers significantly faster inference, especially for tasks with repeated prefixes, making it ideal for complex, structured outputs and multi-turn conversations. Choose SGLang over alternatives like vLLM when you need constrained decoding or are building applications with extensive prefix sharing.

スキルを見る