Datarobot Setup 标志

Datarobot Setup

组织
datarobot-oss
datarobot-setup

为本地开发配置 DataRobot,包括 Python SDK、dr-cli、Agent Assist 及所有必需的依赖项。当用户尚未在这台机器上使用过 DataRobot,或任何 DataRobot 任务因凭据缺失或无效而失败时使用。涵盖首次配置、重新身份验证和凭据恢复。

概览

发布者datarobot-oss
代码仓库datarobot-agent-skills
技能名称datarobot-setup
星标数
33
复刻数
27
附带文件
仅含指令
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 datarobot-oss 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Datarobot Setup AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/datarobot-oss/datarobot-agent-skills/tree/main/skills/datarobot-setup
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/datarobot-oss/datarobot-agent-skills.git /tmp/datarobot-agent-skills
mkdir -p .claude/skills
cp -r /tmp/datarobot-agent-skills/skills/datarobot-setup .claude/skills/datarobot-setup
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Datarobot Setup,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Datarobot Setup。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Datarobot Setup 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

DataRobot Local Development Setup

You are helping set up DataRobot for local development. Before installing anything, audit what is already present and only install what is missing. Follow these steps in order.

Step 1: Pre-Flight Check (Detect Existing Installation)

Build a checklist of what is already installed before doing any installation work. Run each check and record the result. Skip any install step in Steps 3-7 whose check below already passes.

bash
# Required tools — record version for each, or "missing"
command -v python3   && python3 --version
command -v git       && git --version
command -v uv        && uv --version
command -v dr        && dr --version
command -v pulumi    && pulumi version
command -v task      && task --version
command -v node      && node --version
command -v pip       && pip --version

# DataRobot CLI plugins (only meaningful if `dr` exists)
dr plugin list 2>/dev/null | grep -i assist

# Python SDK (in the user's active environment)
python3 -c "import datarobot; print(datarobot.__version__)" 2>/dev/null
python3 -c "import datarobot_predict; print('datarobot-predict installed')" 2>/dev/null

# Credential state
echo "DATAROBOT_API_TOKEN: ${DATAROBOT_API_TOKEN:+set (via env)}"
echo "DATAROBOT_ENDPOINT:  ${DATAROBOT_ENDPOINT:-not set}"
test -f ~/.config/datarobot/drconfig.yaml && echo "drconfig: found" || echo "drconfig: missing"

# If drconfig exists, verify credentials are actually valid
if test -f ~/.config/datarobot/drconfig.yaml; then
  dr auth check 2>/dev/null && echo "auth: valid" || echo "auth: INVALID (re-authentication required)"
fi

Compare each detected version to the minimums in the table in Step 3. Tell the user:

  • What is already installed and at acceptable versions (skip)
  • What is missing or below minimum version (install)
  • Whether dr-cli is already authenticated (skip Step 6 if so, but confirm with user)

Only proceed past this step after presenting the diff to the user so they can confirm.

Step 2: Detect Operating System

Detect the OS and tailor commands accordingly.

Windows Users: WSL Required

IMPORTANT: DataRobot Agent Assist does NOT support native Windows. You MUST use WSL (Windows Subsystem for Linux).

Check if Running in WSL
bash
uname -r | grep -i microsoft         # Returns output if in WSL
cat /proc/version | grep -i microsoft # Alternative
echo $WSL_DISTRO_NAME                 # Empty if not in WSL
If NOT in WSL
  1. Install WSL 2 (Windows 10/11). Open PowerShell as Administrator and run wsl --install, then restart when prompted. Default Ubuntu will be installed.
  2. Alternative manual install: wsl --install -d Ubuntu-22.04 from elevated PowerShell.
  3. Set up Ubuntu: launch Ubuntu from the Start menu, create a username and password, then run sudo apt update && sudo apt upgrade -y.
  4. Return here: once in WSL, re-run this skill from the Ubuntu terminal.
Supported Environments
  • macOS — Homebrew install path
  • Linux — distribution-specific installers
  • WSL — Linux installers
  • Native Windows — NOT supported; use WSL

Step 3: Install Missing Core Dependencies

Only install the tools flagged as missing in Step 1.

ToolMinimum VersionPurpose
Python3.10+DataRobot SDK and Agent Assist
git2.30.0+Version control
uv0.9.0+Python package manager
dr-cli0.2.50+DataRobot CLI
Pulumi3.163.0+Infrastructure as Code
go-task3.43.3+Task runner
Node.js24+JavaScript runtime

macOS (Homebrew)

bash
brew install datarobot-oss/taps/dr-cli uv pulumi/tap/pulumi go-task node git python

Linux / WSL

Use the architecture-aware official installers below. These work on both x86_64 and ARM64. Some of them download and run an installer script, so show the user each command and get their confirmation before running it. Never substitute a different URL.

  • dr-cli (universal installer — auto-detects architecture):

    bash
    curl -fsSL https://cli.datarobot.com/install | sh
  • Python 3.10+ (uses whatever Python the distro ships; on Ubuntu 22.04 that's 3.10, on 24.04 it's 3.12 — both satisfy the minimum):

    bash
    sudo apt update
    sudo apt install -y python3 python3-pip python3-venv
  • git:

    bash
    sudo apt install -y git
  • uv (Python package manager):

    bash
    curl -LsSf https://astral.sh/uv/install.sh | sh
  • Node.js 24 (via nvm):

    bash
    curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
    source ~/.bashrc   # or ~/.zshrc
    nvm install 24
    nvm use 24
  • Pulumi:

    bash
    curl -fsSL https://get.pulumi.com | sh
  • go-task (installed from PyPI with uv, so it needs no sudo and runs no downloaded script):

    bash
    uv tool install go-task-bin

Note: All Linux commands above also work in WSL.

Step 4: Install Python SDK (in a virtual environment)

Modern Linux distributions enforce PEP 668 and reject pip install into the system Python. Always install the SDK into a uv-managed virtual environment so this works on Ubuntu 23.04+, 24.04, and macOS with Homebrew Python.

bash
# Create and activate a project-scoped venv with uv
uv venv .venv
source .venv/bin/activate

# Install the SDK and prediction client into the venv
uv pip install datarobot datarobot-predict

If the user prefers pip directly, the same pattern applies — they must create and activate a venv first, then run pip install datarobot datarobot-predict inside it. Never instruct the user to run pip install --break-system-packages against the system Python.

Step 5: Get API Key

If the user does not already have a DataRobot Personal API key:

  1. Open: https://app.datarobot.com/account/developer-tools
  2. Use the Personal API keys tab (NOT Application or Agent keys).
  3. Wait for the user to provide the key.

Step 6: Authenticate with dr-cli

If Step 1 showed ~/.config/datarobot/drconfig.yaml already exists, ask the user if they want to re-authenticate or keep the existing credentials. Otherwise run:

bash
dr auth login

This persists credentials in ~/.config/datarobot/drconfig.yaml.

Optionally, offer to add these to the user's shell rc file (~/.zshrc, ~/.bashrc) for SDK use:

bash
export DATAROBOT_ENDPOINT="<endpoint-url>"
export DATAROBOT_API_TOKEN="<api-token>"

Step 7: Install Agent Assist Plugin

Skip if Step 1 showed the assist plugin already installed. Otherwise:

bash
dr plugin install assist

Step 8: Verify Installation

  1. CLI and plugins:

    bash
    dr --version
    dr plugin list 2>/dev/null | grep -i assist
  2. Python SDK:

    bash
    source .venv/bin/activate && python -c "import datarobot; datarobot.Client(connect_timeout=10); [print(p.project_name) for p in datarobot.Project.list(limit=3)]"

    if this fails due to the source command not working, try it without activating the venv

Step 9: Print Summary

Summarize:

  • Tools installed this session vs. tools already present
  • Versions of every tool now on the path
  • Config file locations:
    • ~/.config/datarobot/drconfig.yaml (dr-cli)
    • Shell rc file (if env vars were added)
    • Project venv path (e.g. ./.venv)
  • Reminder: "Installation complete. Do not run dr assist yet unless in a dedicated empty directory."

Important Notes

  • Do NOT run dr assist during this setup. Only install and verify.
  • Agent Assist must only be run from a dedicated empty directory to avoid overwriting existing files.
  • Ensure all minimum version requirements are met before completing.
  • If any verification step fails, troubleshoot before proceeding.

常见问题

Datarobot Setup AI 技能有什么作用?

为本地开发配置 DataRobot,包括 Python SDK、dr-cli、Agent Assist 及所有必需的依赖项。当用户尚未在这台机器上使用过 DataRobot,或任何 DataRobot 任务因凭据缺失或无效而失败时使用。涵盖首次配置、重新身份验证和凭据恢复。

为什么在 TypingMind 中使用 Datarobot Setup?

因为您只需安装一次,就能搭配任何模型使用。Datarobot Setup 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Datarobot Setup?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/datarobot-oss/datarobot-agent-skills/tree/main/skills/datarobot-setup。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Datarobot Setup?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Datarobot Setup 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Datarobot Setup 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Datarobot Setup AI 技能免费吗?

是的。datarobot-oss 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇