Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

rhino-sdk-debugrhino SDK 调试

Agent Skill

rhino-sdk-debug 用于记录任务执行中的错误、用户纠正、经验和能力缺口,适合在 Codex、Claude、Cursor、Gemini CLI 中希望让 Agent 持续沉淀问题、修正和最佳实践时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

216

周安装

9

GitHub Stars

公开资料未说明

下载量

72
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:rhino-sdk-debug(rhino SDK 调试)
来源仓库:https://github.com/naverazy-rhino/rhino-sdk-skills
仓库路径:skills/rhino-sdk-debug
安装命令:
npx skills add https://github.com/naverazy-rhino/rhino-sdk-skills --skill rhino-sdk-debug
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/naverazy-rhino/rhino-sdk-skills --skill rhino-sdk-debug

简介

rhino-sdk-debug 用于记录任务执行中的错误和经验,帮助 Agent 持续修正和沉淀最佳实践。

  • 适用于调试日志管理和能力缺口分析场景。
  • 可通过 npx 命令从 rhino-sdk-skills 仓库安装,建议查看原始 README 了解具体用法。
  • 使用前需确认权限范围和维护状态,警惕可能的文件读写行为。
  • 输出内容应以实际运行记录为基础,不擅自推断未发生的错误或修正方案。

SKILL.md

Rhino Health SDK — Error Debugger

Diagnose errors in rhino-health Python SDK code (v2.1.x) and provide corrected, runnable fixes.

Context Loading

Before diagnosing, read these reference files:

  1. Patterns & Gotchas../../context/patterns_and_gotchas.md Focus on §11 (Common Import Paths) and §12 (Gotchas/Pitfalls) for the most frequent error causes.
  2. API Reference../../context/sdk_reference.md Correct method signatures, endpoint accessors, CreateInput field aliases, and the Import Path Reference table.

Error-to-Fix Reference

Use this table to quickly identify the root cause. Then confirm against the context files before responding.

Error patternRoot causeFix
NotAuthenticatedError / HTTP 401Token expired, wrong credentials, or MFA requiredRe-login with rh.login(); pass otp_code param if MFA is enabled
AttributeError: 'NoneType' has no attributeget_*_by_name() returned None because the resource was not foundAdd a None check immediately after every get_*_by_name() call
ValidationError (pydantic)Wrong field names or types in a CreateInput class — often alias confusionUse Pydantic alias names: project not project_uid, workgroup not workgroup_uid. Check CreateInput summaries in sdk_reference.md
TypeError in metric configurationPassed a raw string where a FilterVariable dict or metric object is expectedUse FilterVariable(data_column=..., filter_column=..., filter_value=..., filter_type=FilterType.EQUALS)
ImportError / ModuleNotFoundErrorWrong import path — SDK uses deep paths that differ from guessesfrom rhino_health.lib.metrics import X (NOT rhino_health.metrics); from rhino_health.lib.endpoints.X.X_dataclass import Y (NOT rhino_health.endpoints.X)
TypeError: aggregate_dataset_metric() argumentPassing List[Dataset] objects instead of List[str] UIDsConvert: [str(d.uid) for d in datasets]
IndexError on output_dataset_uidsAccessing as flat list — structure is triply nestedUse .root[0].root[0].root[0] to access the first output dataset UID
TimeoutError / operation hangsDefault timeout_seconds too low for large datasetsIncrease timeout_seconds in wait_for_completion() or wait_for_build()
TypeError: input_dataset_uidsPassing List[str] instead of List[List[str]]CodeObjectRunInput.input_dataset_uids must be double-nested: [[uid1, uid2]]
KeyError / unexpected None in metric resultsWrong data_column name or missing column in datasetVerify column name matches the dataset schema exactly (case-sensitive)

Diagnostic Process

When the user provides an error or traceback:

  1. Identify the exception class — match it to the table above.
  2. Locate the failing line — find the SDK call that triggered the error.
  3. Cross-reference with context — check the correct signature/pattern in sdk_reference.md or patterns_and_gotchas.md.
  4. Check for compound errors — one fix may reveal a second issue (e.g., fixing an import may expose an alias field error).

Response Format

Structure every response in three parts:

1. What went wrong

Identify the specific error and the SDK call that caused it. Quote the relevant line from the traceback.

2. Why

Explain the root cause with reference to SDK behavior. For example: "get_dataset_by_name() returns None when no dataset matches — it does not raise an exception. The subsequent .uid access fails because None has no uid attribute."

3. Corrected code

Provide the complete corrected code block with:

  • Fixed imports (exact paths from the Import Path Reference table)
  • The fix applied with a brief inline comment explaining what changed
  • Any defensive checks added (None guards, type conversions)
# WRONG
from rhino_health.metrics import Mean

# CORRECT
from rhino_health.lib.metrics import Mean

Common Multi-Error Patterns

Watch for these combinations that frequently appear together:

  • Import error + alias error: User copied code from an older example. Fix both the import path and the CreateInput field names.
  • NoneType + no error handling: User chained calls without checking get_*_by_name() returns. Add None checks for every lookup.
  • Metric TypeError + wrong execution method: User confused get_dataset_metric (per-site, single UID) with aggregate_dataset_metric (cross-site, list of UIDs).

Import Path Quick Reference

When the error is an ImportError, consult this cheatsheet:

# Metrics (CORRECT)
from rhino_health.lib.metrics import Mean, Count, Cox, KaplanMeier, RocAuc

# Dataclasses (CORRECT pattern)
from rhino_health.lib.endpoints.project.project_dataclass import ProjectCreateInput
from rhino_health.lib.endpoints.dataset.dataset_dataclass import DatasetCreateInput
from rhino_health.lib.endpoints.code_object.code_object_dataclass import CodeObjectCreateInput, CodeObjectRunInput, CodeTypes
from rhino_health.lib.endpoints.syntactic_mapping.syntactic_mapping_dataclass import DataHarmonizationRunInput

# Enums (CORRECT)
from rhino_health.lib.endpoints.endpoint import VersionMode, NameFilterMode
from rhino_health.lib.metrics import FilterType, FilterVariable

For the full list, see the Import Path Reference table at the end of sdk_reference.md.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

39.57%
按下载量换算28

Claude

28.32%
按下载量换算20

Cursor

20.01%
按下载量换算14

Gemini CLI

8.83%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills