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

rhino-sdk-planrhino SDK 计划

Agent Skill

rhino-sdk-plan 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

212

周安装

9

GitHub Stars

公开资料未说明

下载量

74
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

rhino-sdk-plan 用于查找、检索和筛选相关信息,支持基于关键词或任务场景的信息定位。

  • 适用于研究、规划类任务,帮助 Agent 快速生成候选方案或资料列表。
  • 通过 npx skills add 命令从 GitHub 仓库安装,实际使用需结合原始文档验证功能。
  • 安装前应确认权限范围、项目活跃度及是否涉及敏感操作如联网或文件写入。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Rhino Health SDK — Workflow Planner

Decompose high-level research and analytics goals into structured, phased execution plans using the rhino-health Python SDK (v2.1.x). Identify which SDK capabilities to compose, order steps by dependency, surface prerequisites, and generate the complete runnable implementation.

Context Loading

Before planning, read ALL of these reference files — planning requires the full SDK picture:

  1. API Reference../../context/sdk_reference.md Endpoint classes, methods, enums, CreateInput summaries, dataclass fields, import paths.
  2. Patterns & Gotchas../../context/patterns_and_gotchas.md Auth patterns, resource lookup, metrics execution, filtering, code objects, async, and pitfalls.
  3. Metrics Reference../../context/metrics_reference.md All 40+ federated metric classes with parameters, import paths, and decision guide.
  4. Example Index../../context/examples/INDEX.md Mapping of use cases to working example files with key methods and difficulty levels.

Planning Process

Follow these four steps in order:

Step 1: Analyze the Goal

Extract from the user's request:

  • Data: What data sources? Do datasets already exist on the platform, or do they need to be ingested/created?
  • Analysis: What computation or analytics? Metrics, custom code, harmonization, or a combination?
  • Output: What does the user want at the end? Numbers, transformed datasets, trained models, exported files?
  • Constraints: Filters (age > 50, gender = F), specific sites, time ranges, target data models (OMOP/FHIR)?

If any of these are unclear, ask the user before producing the plan.

Step 2: Select Workflow Templates

Match the goal to one or more of these composable SDK workflow templates:

Template A: Federated Analytics

Run statistical metrics across one or more sites without moving data.

Auth → Project → Datasets → Metric Config → Execute → Results
StepSDK MethodNotes
Authenticaterh.login()Always first
Get projectsession.project.get_project_by_name()Check for None
Get datasetsproject.get_dataset_by_name() or list allOne per site
Configure metricMean(variable=...), Cox(...), etc.Add filters/group_by as needed
Execute per-sitesession.dataset.get_dataset_metric(uid, config)Single site
Execute aggregatedsession.project.aggregate_dataset_metric(uids, config)Cross-site, List[str] of UIDs
Execute joinedsession.project.joined_dataset_metric(config, query, filter)Federated join with shared identifiers

Use when: user wants descriptive stats, survival analysis, hypothesis tests, or any metric-based analysis.

Template B: Code Object Execution

Run custom containerized or Python code across federated sites.

Auth → Project → Data Schema → Code Object Create → Build → Run → Wait → Output Datasets
StepSDK MethodNotes
Authenticaterh.login()
Get/create projectsession.project.get_project_by_name()
Get/create schemasession.data_schema.create_data_schema()Only if new data format
Create code objectsession.code_object.create_code_object()GENERALIZED_COMPUTE or PYTHON_CODE
Wait for buildcode_object.wait_for_build()Only for GENERALIZED_COMPUTE
Runsession.code_object.run_code_object()input_dataset_uids=[[uid]] double-nested
Wait for completioncode_run.wait_for_completion()
Access outputsresult.output_dataset_uids.root[0].root[0].root[0]Triply nested

Use when: user needs custom computation — train/test splits, feature engineering, model training, any logic that metrics alone cannot express.

Template C: Data Harmonization

Transform source data into a target data model (OMOP, FHIR, custom).

Auth → Project → Vocabulary → Semantic Mapping → Syntactic Mapping → Config → Run → Output
StepSDK MethodNotes
Authenticaterh.login()
Get projectsession.project.get_project_by_name()
Create semantic mappingsession.semantic_mapping.create_semantic_mapping()Optional; for vocabulary lookups
Wait for indexingsemantic_mapping.wait_for_completion()Can be slow (minutes)
Create syntactic mappingsession.syntactic_mapping.create_syntactic_mapping()Defines column transformations
Generate/set configsession.syntactic_mapping.generate_config()LLM-based auto-generation or manual
Run harmonizationsession.syntactic_mapping.run_data_harmonization()Preferred path
Wait for completioncode_run.wait_for_completion()
Access outputsresult.output_dataset_uids.root[0].root[0].root[0]Triply nested

Use when: source data needs to be transformed before analysis — different column names, value encodings, or target standards like OMOP/FHIR.

Template D: SQL Data Ingestion

Pull data from an on-prem database into the Rhino platform.

Auth → Project → Connection Details → SQL Query → Import as Dataset → Verify
StepSDK MethodNotes
Authenticaterh.login()
Get projectsession.project.get_project_by_name()
Define connectionConnectionDetails(server_type=..., server_url=...,...)PostgreSQL, MySQL, etc.
Run metrics on querysession.sql_query.run_sql_query(SQLQueryInput(...))Does NOT return raw data
Import as datasetsession.sql_query.import_dataset_from_sql_query(SQLQueryImportInput(...))Creates a Dataset from query results
Waitsql_query.wait_for_completion()

Use when: data lives in a relational database and needs to be brought into the platform as a Dataset before other operations.

Template E: Model Training + Inference

Train a federated model, then run inference on new data.

Auth → Project → Training Code Object → Train → Wait → Inference → Validate

This is Template B applied twice in sequence:

  1. Train phase: Code Object with training logic → produces model artifacts (stored in the code run)
  2. Inference phase: session.code_run.run_inference() using the trained model on validation datasets
StepSDK MethodNotes
Train (Template B)create_code_objectrun_code_objectwait_for_completionFull code object lifecycle
Run inferencesession.code_run.run_inference(code_run_uid, validation_dataset_uids,...)Uses trained model
Get model paramssession.code_run.get_model_params(code_run_uid)Download model weights

Use when: user wants to train an ML model across federated sites and validate it.

Template F: Multi-Pipeline Composition

Chain 2+ templates when a single template cannot satisfy the goal. Common compositions:

Goal patternComposition
Harmonize then analyzeTemplate C → Template A
Ingest from SQL then analyzeTemplate D → Template A
Harmonize then train modelTemplate C → Template E
Ingest, harmonize, analyze, trainTemplate D → Template C → Template A → Template E
Custom preprocessing then analyticsTemplate B → Template A

Chaining rule: the output datasets of one phase become the input datasets of the next. Use result.output_dataset_uids.root[0].root[0].root[0] to extract UIDs and pass them forward.

Step 3: Compose the Plan

Build a phased plan following these rules:

  1. Authentication is always Phase 0 — shared across all subsequent phases. Include project and workgroup discovery here.
  2. One template per phase — each phase maps to one template. If the goal requires Templates C → A → B, that is three phases plus Phase 0.
  3. Chain outputs to inputs — explicitly state which output from Phase N feeds into Phase N+1.
  4. Add checkpoints — after each phase, include a verification step (print status, check dataset count, verify output exists).
  5. Surface prerequisites — if the plan assumes a project, datasets, or schemas exist, list them in the Prerequisites section. Distinguish between "must already exist" and "will be created by this plan".
  6. Note alternatives — if there are multiple valid approaches (per-site vs aggregated, PYTHON_CODE vs GENERALIZED_COMPUTE), briefly state why you chose one.

Step 4: Generate Implementation

After presenting the plan, generate the complete runnable code:

  • Follow ALL rules from the write skill's validation checklist: correct endpoint accessors, import paths, List[str] for UIDs, None checks, double-nested input_dataset_uids, triply-nested output_dataset_uids.
  • Produce a single script with clear phase-separator comments (# === Phase 1:... ===).
  • For very large plans (4+ phases), offer to split into separate scripts per phase.
  • Use named constants for all configurable values (project names, UIDs, column names, thresholds) at the top of the script.
  • Include the authentication block only once at the top.

Plan Output Format

Structure every response as:

## Goal
[1-2 sentence restatement of what the user wants to achieve]

## Prerequisites
- **Must exist:** [project, datasets, schemas, workgroup access, etc.]
- **Created by this plan:** [new code objects, new schemas, harmonized datasets, etc.]

## Plan

### Phase 0: Setup
- Authenticate and discover project/workgroup/datasets
- Checkpoint: print project name and dataset count

### Phase 1: [Name] — [Template X]
- Step 1.1: [description] — `session.X.method()`
- Step 1.2: [description] — `session.Y.method()`
- Checkpoint: [how to verify]

### Phase 2: [Name] — [Template Y]
- Depends on: Phase 1 output datasets
- Step 2.1: ...
- Checkpoint: [how to verify]

## Alternatives Considered
[Other approaches and why this plan is preferred]

## Implementation
[Complete, runnable Python script]

Decision Guidance

Use this table when the goal is ambiguous:

User signalTemplateReasoning
"analyze", "measure", "statistics", "compare"A (Analytics)Metric-based, no custom code needed
"run code", "custom analysis", "process data", "split", "transform"B (Code Object)Needs logic beyond built-in metrics
"harmonize", "OMOP", "FHIR", "map columns", "standardize"C (Harmonization)Data transformation to target model
"SQL", "database", "import from DB", "ingest"D (SQL Ingestion)Data lives in a relational database
"train model", "predict", "inference", "ML", "machine learning"E (Model Train)Federated model training + validation
Multiple of the aboveF (Composition)Chain templates in dependency order

Working Examples

Check ../../context/examples/INDEX.md for working examples that demonstrate individual templates:

TemplateExample files
A (Analytics)eda.py, cox.py, metrics_examples.py, roc_analysis.py, aggregate_quantile.py, federated_join.py
B (Code Object)train_test_split.py, runtime_external_files.py
C (Harmonization)fhir_pipeline.py
D (SQL Ingestion)sql_data_ingestion.py
E (Model Training)train_test_split.py (training portion)
F (Composition)fhir_pipeline.py (harmonization + code object + export)

Read the relevant example files before generating implementation code to follow their proven patterns.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.8%
按下载量换算26

Claude

29.5%
按下载量换算22

Cursor

20.3%
按下载量换算15

Gemini CLI

9.51%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

未通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills