Logo Datarobot Setup

Datarobot Setup

Tổ chức
datarobot-oss
datarobot-setup

Sets up DataRobot for local development including Python SDK, dr-cli, Agent Assist, and all required dependencies. Use when the user has not yet worked with DataRobot on this machine, OR when any DataRobot task fails due to missing or invalid credentials. Covers first-time setup, re-authentication, and credential recovery.

Tổng quan

Nhà phát hànhdatarobot-oss
Kho mãdatarobot-agent-skills
Tên kỹ năngdatarobot-setup
Sao
33
Bản fork
27
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được datarobot-oss công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Datarobot Setup trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/datarobot-oss/datarobot-agent-skills/tree/main/skills/datarobot-setup
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Datarobot Setup trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Datarobot Setup ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Datarobot Setup với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Câu hỏi thường gặp

Kỹ năng AI Datarobot Setup làm được gì?

Sets up DataRobot for local development including Python SDK, dr-cli, Agent Assist, and all required dependencies. Use when the user has not yet worked with DataRobot on this machine, OR when any DataRobot task fails due to missing or invalid credentials. Covers first-time setup, re-authentication, and credential recovery.

Vì sao nên dùng Datarobot Setup trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Datarobot Setup là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Datarobot Setup trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/datarobot-oss/datarobot-agent-skills/tree/main/skills/datarobot-setup. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Datarobot Setup?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Datarobot Setup với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Datarobot Setup với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Datarobot Setup có miễn phí không?

Có. Kỹ năng này được datarobot-oss phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇