技能 编程开发 OpenRouter 调试工具包

OpenRouter 调试工具包

v20260311
openrouter-debug-bundle
提供请求/响应日志、耗时指标与调试工具,便于排查和监控 OpenRouter 集成,确保 API 通信稳定,快速定位问题。
获取技能
123 次下载
概览

Openrouter Debug Bundle

Overview

This skill shows how to implement request/response logging, timing metrics, and debugging utilities for OpenRouter integrations.

Prerequisites

  • OpenRouter integration
  • Logging infrastructure (optional but recommended)

Instructions

Follow these steps to implement this skill:

  1. Verify Prerequisites: Ensure all prerequisites listed above are met
  2. Review the Implementation: Study the code examples and patterns below
  3. Adapt to Your Environment: Modify configuration values for your setup
  4. Test the Integration: Run the verification steps to confirm functionality
  5. Monitor in Production: Set up appropriate logging and monitoring

Output

Successful execution produces:

  • Working OpenRouter integration
  • Verified API connectivity
  • Example responses demonstrating functionality

Error Handling

See ${CLAUDE_SKILL_DIR}/references/errors.md for comprehensive error handling.

Examples

See ${CLAUDE_SKILL_DIR}/references/examples.md for detailed examples.

Resources

信息
Category 编程开发
Name openrouter-debug-bundle
版本 v20260311
大小 5.51KB
更新时间 2026-03-12
语言