Token导航 LogoToken导航

Agent Skill · 开发

ada-predictor(ADA 预测器)

ada-predictor 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

ada-predictor 是开发类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为只读;许可证为 MIT-0,第三方扫描已通过,按安装量在开发类的 21,746 个 Skill 里排第 6,219。

总安装 4,992周安装 208GitHub Stars 公开资料未说明下载 1,616核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.0

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:ada-predictor(ADA 预测器)
来源仓库:https://github.com/cryptoreumd/ada-predictor
安装命令:
openclaw skills install ada-predictor
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install ada-predictor

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

基于临床与基因组数据预测抗药物抗体开发风险。适用于 OpenClaw 中提供 TNF 抑制剂治疗的风险评分。输出包含分级与管理建议,辅助医疗决策。需确认数据来源合规性与模型适用范围。ada-predictor 属于开发类 Skill,可作为该场景下的辅助能力补充。建议由专业医师解读结果并制定个体化方案。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install ada-predictor;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

ada-predictor 怎么安装?

在终端执行 openclaw skills install ada-predictor。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

ada-predictor 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

ada-predictor 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

ada-predictor 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

ada-predictor 用的人多吗?

公开数据是累计安装 4,992 次,近一周安装 208 次,下载 1,616 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

ada-predictor 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
ada-predictor

ADA 预测器 · 本页

4,992—只读MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

ADA-Predictor: Anti-Drug Antibody Risk Stratification for Biologic Therapy in Rheumatic Diseases

Description

Predicts the probability of developing anti-drug antibodies (ADA) against TNF inhibitors (adalimumab, infliximab, etanercept) and other biologics using patient-level clinical, pharmacogenomic, and treatment variables. Outputs a risk score (0–100), risk tier, and clinical recommendations including concomitant methotrexate optimization and therapeutic drug monitoring (TDM) intervals.

Authors

  • Erick Adrián Zamora Tehozol (Board-Certified Rheumatologist, IMSS Mérida)
  • DNAI (Root Ethical AI Agent, DeSci Ecosystem)
  • Claw 🦞

Affiliations

RheumaAI · Frutero Club · DeSci

Clinical Problem

Anti-drug antibodies cause secondary loss of efficacy in 10–50% of patients on biologic DMARDs. ADA development leads to treatment failure, infusion reactions, and costly drug switching. Early risk stratification enables proactive TDM scheduling, methotrexate co-prescription, and informed biologic selection — saving time, money, and joint damage.

Model

Risk Factors and Weights

The ADA risk score is a weighted logistic composite:

$$\ ext{logit}(p) = \beta_0 + \sum_{i=1}^{k} \beta_i x_i$$

FactorVariableβ WeightReference
Biologic typeMonoclonal Ab vs fusion protein+1.8 (mAb)Bartelds 2011, Ann Rheum Dis
Concomitant MTXYes/No, dose−1.5 (if ≥10mg/wk)Krieckaert 2012, Arthritis Rheum
HLA-DQA1*05 carrierYes/No+1.2Sazonovs 2020, Nat Med
Prior biologic failureCount (0–3+)+0.6 per failureJamnitski 2011
Baseline CRPmg/L+0.02 per unitVincent 2013
Disease durationYears+0.03 per year
SmokingYes/No+0.4
BMIkg/m²+0.05 if >30
Interceptβ₀−2.5

$$p(\ ext{ADA}) = \frac{1}{1 + e^{-\ ext{logit}(p)}}$$

$$\ ext{Risk Score} = \lfloor p \ imes 100 \ floor$$

Risk Tiers

  • Low (0–25): Standard TDM at 6 months
  • Moderate (26–50): TDM at 3 months, ensure MTX ≥10mg/wk
  • High (51–75): TDM at 6 weeks, maximize MTX, consider drug levels before dose escalation
  • Very High (76–100): Consider alternative biologic class (IL-6, JAKi, CD20), proactive TDM at 4 weeks

Dependencies

numpy>=1.24

Usage

python3 ada_predictor.py

Code

#!/usr/bin/env python3
"""
ADA-Predictor: Anti-Drug Antibody Risk Stratification for Biologic Therapy
Authors: Erick Adrián Zamora Tehozol, DNAI, Claw 🦞
License: MIT | RheumaAI · Frutero Club · DeSci
"""

import json
import math
import sys
from dataclasses import dataclass, field
from typing import Optional

import numpy as np


@dataclass
class PatientProfile:
    """Patient clinical profile for ADA risk assessment."""
    biologic: str  # adalimumab, infliximab, etanercept, golimumab, certolizumab
    is_monoclonal_ab: bool = True  # True for adalimumab/infliximab/golimumab; False for etanercept/certolizumab
    concomitant_mtx: bool = False
    mtx_dose_mg_wk: float = 0.0
    hla_dqa1_05: Optional[bool] = None  # None = unknown
    prior_biologic_failures: int = 0
    baseline_crp_mg_l: float = 5.0
    disease_duration_years: float = 2.0
    smoking: bool = False
    bmi: float = 25.0

    def validate(self):
        assert self.biologic in {
            "adalimumab", "infliximab", "etanercept", "golimumab", "certolizumab"
        }, f"Unknown biologic: {self.biologic}"
        assert 0 <= self.prior_biologic_failures <= 10
        assert 0 <= self.baseline_crp_mg_l <= 500
        assert 0 <= self.disease_duration_years <= 80
        assert 10 <= self.bmi <= 80
        if self.concomitant_mtx:
            assert 0 < self.mtx_dose_mg_wk <= 30


# Classify biologic type
MONOCLONAL_ABS = {"adalimumab", "infliximab", "golimumab"}
FUSION_PROTEINS = {"etanercept", "certolizumab"}


def compute_ada_risk(patient: PatientProfile) -> dict:
    """Compute ADA risk score using weighted logistic model."""
    patient.validate()

    # Coefficients (literature-derived, see SKILL.md table)
    B0 = -2.5
    logit = B0

    # Biologic type
    if patient.biologic in MONOCLONAL_ABS:
        logit += 1.8

    # Concomitant MTX
    if patient.concomitant_mtx and patient.mtx_dose_mg_wk >= 10:
        logit -= 1.5
    elif patient.concomitant_mtx and patient.mtx_dose_mg_wk > 0:
        logit -= 0.7  # suboptimal dose partial protection

    # HLA-DQA1*05
    if patient.hla_dqa1_05 is True:
        logit += 1.2
    elif patient.hla_dqa1_05 is None:
        logit += 0.4  # population prevalence ~30%, partial weight

    # Prior biologic failures
    logit += 0.6 * min(patient.prior_biologic_failures, 5)

    # Baseline CRP
    logit += 0.02 * patient.baseline_crp_mg_l

    # Disease duration
    logit += 0.03 * patient.disease_duration_years

    # Smoking
    if patient.smoking:
        logit += 0.4

    # BMI >30
    if patient.bmi > 30:
        logit += 0.05 * (patient.bmi - 30)

    # Sigmoid
    prob = 1.0 / (1.0 + math.exp(-logit))
    score = int(prob * 100)

    # Risk tier
    if score <= 25:
        tier = "Low"
        recommendation = "Standard TDM at 6 months. Current regimen appropriate."
        tdm_weeks = 26
    elif score <= 50:
        tier = "Moderate"
        recommendation = (
            "Schedule TDM at 3 months. "
            "Ensure methotrexate ≥10 mg/week if tolerated. "
            "Monitor trough drug levels."
        )
        tdm_weeks = 12
    elif score <= 75:
        tier = "High"
        recommendation = (
            "Proactive TDM at 6 weeks. Maximize methotrexate to 15–25 mg/week (subcutaneous preferred). "
            "Obtain trough levels before any dose escalation. "
            "Consider switching to pegylated construct (certolizumab) if ADA confirmed."
        )
        tdm_weeks = 6
    else:
        tier = "Very High"
        recommendation = (
            "Consider alternative mechanism of action (IL-6R: tocilizumab/sarilumab, JAKi: tofacitinib/upadacitinib, "
            "CD20: rituximab). If TNFi required, use certolizumab (Fab', lower immunogenicity) "
            "with proactive TDM at 4 weeks. HLA-DQA1*05 testing if not done."
        )
        tdm_weeks = 4

    return {
        "biologic": patient.biologic,
        "ada_probability": round(prob, 4),
        "risk_score": score,
        "risk_tier": tier,
        "recommended_tdm_weeks": tdm_weeks,
        "recommendation": recommendation,
        "factors": {
            "monoclonal_ab": patient.biologic in MONOCLONAL_ABS,
            "mtx_protection": patient.concomitant_mtx and patient.mtx_dose_mg_wk >= 10,
            "hla_dqa1_05": patient.hla_dqa1_05,
            "prior_failures": patient.prior_biologic_failures,
            "crp": patient.baseline_crp_mg_l,
            "disease_years": patient.disease_duration_years,
            "smoking": patient.smoking,
            "bmi": patient.bmi,
        },
    }


def monte_carlo_sensitivity(patient: PatientProfile, n_sim: int = 5000) -> dict:
    """Monte Carlo sensitivity analysis varying uncertain parameters."""
    rng = np.random.default_rng(42)
    scores = []

    for _ in range(n_sim):
        p = PatientProfile(
            biologic=patient.biologic,
            is_monoclonal_ab=patient.is_monoclonal_ab,
            concomitant_mtx=patient.concomitant_mtx,
            mtx_dose_mg_wk=patient.mtx_dose_mg_wk,
            hla_dqa1_05=patient.hla_dqa1_05,
            prior_biologic_failures=patient.prior_biologic_failures,
            baseline_crp_mg_l=max(0, rng.normal(patient.baseline_crp_mg_l, patient.baseline_crp_mg_l * 0.2)),
            disease_duration_years=patient.disease_duration_years,
            smoking=patient.smoking,
            bmi=max(15, rng.normal(patient.bmi, 2)),
        )
        result = compute_ada_risk(p)
        scores.append(result["risk_score"])

    scores = np.array(scores)
    return {
        "mean_score": float(np.mean(scores)),
        "std_score": float(np.std(scores)),
        "ci_95": [float(np.percentile(scores, 2.5)), float(np.percentile(scores, 97.5))],
        "p_high_risk": float(np.mean(scores > 50)),
        "n_simulations": n_sim,
    }


def demo():
    """Run demo with 3 clinical scenarios."""
    print("=" * 70)
    print("ADA-Predictor: Anti-Drug Antibody Risk Stratification")
    print("RheumaAI · Frutero Club · DeSci")
    print("=" * 70)

    scenarios = [
        ("RA patient starting adalimumab, no MTX, HLA+ carrier", PatientProfile(
            biologic="adalimumab",
            concomitant_mtx=False,
            hla_dqa1_05=True,
            prior_biologic_failures=0,
            baseline_crp_mg_l=18.0,
            disease_duration_years=3.0,
            smoking=False,
            bmi=27.0,
        )),
        ("RA patient on infliximab + MTX 15mg/wk, HLA unknown", PatientProfile(
            biologic="infliximab",
            concomitant_mtx=True,
            mtx_dose_mg_wk=15.0,
            hla_dqa1_05=None,
            prior_biologic_failures=1,
            baseline_crp_mg_l=8.0,
            disease_duration_years=7.0,
            smoking=True,
            bmi=32.0,
        )),
        ("AS patient on etanercept + MTX 10mg/wk, HLA negative", PatientProfile(
            biologic="etanercept",
            concomitant_mtx=True,
            mtx_dose_mg_wk=10.0,
            hla_dqa1_05=False,
            prior_biologic_failures=0,
            baseline_crp_mg_l=4.0,
            disease_duration_years=1.5,
            smoking=False,
            bmi=24.0,
        )),
    ]

    for label, patient in scenarios:
        print(f"\
{'─' * 60}")
        print(f"Scenario: {label}")
        print(f"{'─' * 60}")
        result = compute_ada_risk(patient)
        print(f"  Biologic:     {result['biologic']}")
        print(f"  ADA Prob:     {result['ada_probability']:.1%}")
        print(f"  Risk Score:   {result['risk_score']}/100")
        print(f"  Risk Tier:    {result['risk_tier']}")
        print(f"  TDM at:       {result['recommended_tdm_weeks']} weeks")
        print(f"  Rec:          {result['recommendation']}")

        mc = monte_carlo_sensitivity(patient)
        print(f"  MC Mean±SD:   {mc['mean_score']:.1f} ± {mc['std_score']:.1f}")
        print(f"  MC 95% CI:    [{mc['ci_95'][0]:.0f}, {mc['ci_95'][1]:.0f}]")
        print(f"  P(High Risk): {mc['p_high_risk']:.1%}")

    print(f"\
{'=' * 70}")
    print("✅ All scenarios computed successfully.")


if __name__ == "__main__":
    demo()

平台分布

OpenClaw

85.11%
按下载量换算1,375

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

继续浏览同类 Skills