Designs, codes, simulates, and deploys AI agents to DataRobot. Covers agent_spec.md authoring, dress-rehearsal simulation via the LLM Gateway, template-based coding, and deployment.
How this skill is triggered — by the user, by Claude, or both
Slash command
/datarobot-agent-skills:datarobot-agent-assistThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill merges **agent design, coding, and deployment** with an optional **dress-rehearsal simulation** — a try-before-you-build session that lets you chat with your agent design before writing any code.
This skill merges agent design, coding, and deployment with an optional dress-rehearsal simulation — a try-before-you-build session that lets you chat with your agent design before writing any code.
Assistance falls into three categories:
agent_spec.md, optionally simulate the agent before codingAGENTS.md deployment instructionsIf the user's first message is simply 1, 2, or 3, treat it as selecting one of these categories.
Present the three options clearly:
Welcome! I help you design, code, and deploy AI agents.
What would you like to do?
1. Design an AI agent → Describe your idea (optional dress rehearsal before coding)
2. Code an AI agent → Load and implement an existing agent_spec.md
3. Deploy an AI agent → Deploy an implemented agent to DataRobot
Show this menu first. After the user selects an option (1, 2, or 3), run the Pre-requisite Check and then the Script Path Resolution before doing anything else for that option.
Before invoking any helper script, resolve <skill_scripts_dir> once for the session:
<skill_scripts_dir> is the scripts/ subdirectory of the directory containing this SKILL.md file.ls <path_to_this_skill_dir>/scripts/. If the directory is missing, tell the user the skill installation is incomplete and stop.<skill_scripts_dir>/... reference in this skill.Run in order before proceeding:
git --version. If missing, tell the user to install from https://git-scm.com and stop.python --version. If missing or below 3.11, tell the user to install Python 3.11+ from https://python.org and stop.Ask at most 2 rounds of clarifying questions before proposing an initial draft spec. If tools are still ambiguous after two rounds, start simple.
Focus questions on:
If the user mentions UI-related needs early ("dashboard", "visualization", "multi-page", "admin panel", "settings page"), capture it immediately in the frontend field — do not defer.
To check available models: Run the helper script:
python <skill_scripts_dir>/list_llm_models.py \
--json
CRITICAL: In case the script fails due to any reason, do not proceed. Instead, return the error message to the user and ask how they want to proceed.
Recommend a gpt-5, claude-4-5, or gemini-2.5 model from the list unless the user specifies cost or other constraints.
If none of those preferred families appear in the catalog, pick the highest-capability available model by name — prefer ones containing large, pro, opus, or sonnet over mini, haiku, or flash.
Only display the full model catalog when the user explicitly asks to browse models.
If the user's desired model is unavailable, suggest starting with an available one and updating after implementation.
agent_spec.md (YAML format) whenever showing it to the user.Before offering to simulate or code, if the spec does not already have a frontend field set, always ask:
"The template includes a default chat UI — is that sufficient, or would you like a custom frontend such as a dashboard, data visualization, or multi-page app?"
Then update the spec accordingly:
frontend.type: "chat"frontend.type: "multi-page" or "custom" with pages and optional requirementsBefore transitioning to coding, explain dress rehearsal briefly, then ask (exact wording):
Dress rehearsal is a try-before-you-build session: you chat with your agent design as if it were already running. The agent uses your spec's model and system prompt; tool calls return simulated (fake but realistic) data — no real APIs, no deployment, no code written yet. It's a safe way to test prompts, tools, and conversation flow before implementation.
Would you like to run a dress rehearsal simulation first? (recommended)
Wait for their reply:
Script path: python <skill_scripts_dir>/rehearsal.py ...
After the user declines the initial rehearsal prompt — or after a dress rehearsal session ends — present this menu (exact wording):
What would you like to do next?
- Run dress rehearsal — simulate the agent before coding
- Code the agent — start implementation from
agent_spec.md- Review / edit spec — refine
agent_spec.md
Wait for their choice. Do not assume a default or proceed without a reply.
| Choice | Action |
|---|---|
| 1 or "rehearsal" / "simulate" | Follow Dress Rehearsal |
| 2 or "code" / "implement" | Follow 2. Coding an AI Agent — framework selection happens only inside the pre-coding checklist, not here |
| 3 or "review" / "edit spec" | Display agent_spec.md as YAML, invite changes, update the file, then show this menu again |
If the user's reply is unclear, re-display the menu and wait. Never skip straight to framework selection after a rehearsal decline.
Before running rehearsal, read and follow references/dress-rehearsal.md end to end.
Mandatory:
python <skill_scripts_dir>/rehearsal.py ...references/dress-rehearsal.mdOn Windows: coding is not supported. STOP and do NOT proceed with the next steps!
Verify agent_spec.md contains at minimum:
model — a valid LLM Gateway model IDsystem_prompt — non-emptytools — at least one tool defined (or explicit confirmation from the user that no tools are needed)frontend.type — setIf agent_spec.md does not exist, inform the user and offer to run the Design phase (option 1) first. If any required field above is missing, surface the gap and update the spec before continuing. Do not start coding against an incomplete spec.
Read agent_spec.md — it must exist (see gate above).
Check if AGENTS.md exists in the template directory (default: current working directory).
If AGENTS.md does not exist, prepare the template with these steps in order. ALWAYS follow the steps in order and do not skip any, even if they seem redundant. This is critical for ensuring the template is properly set up and avoiding wasted effort coding on a broken foundation.
a. Check the working directory — if it contains files other than agent_spec.md, warn the user and ask them to clear it before proceeding.
b. Move agent_spec.md aside if present — if the file exists in the working directory, move it to a temp location (e.g. /tmp/agent_spec.md.bak) before cloning so it isn't overwritten. Restore it after cloning completes.
c. Clone the template: Run the helper script:
python <skill_scripts_dir>/clone_template.py
d. Select the agentic framework:
STOP. Do NOT proceed until the user has replied with their framework choice.
Ask the user (exact message):
Which agentic framework would you like to use?
- LangGraph
- CrewAI
- LlamaIndex
- NeMo Agent Toolkit (NAT)
- Base
Wait for the user's reply. Do not assume or default to any framework. If their next message is not a framework choice (silence, unrelated text), re-display the options and wait again — do not proceed with any other coding step. Once the user replies, map their choice to the corresponding value (langgraph, crewai, llamaindex, nat, base) and run:
python <skill_scripts_dir>/select_framework.py \
--target-dir . \
--framework <value>
e. Validate the template: Run dr dependency check. Treat any non-zero exit as a hard error — do not attempt to resolve it automatically. Return the full output to the user and stop.
f. Setup the template: Run the helper script. Use the model field from agent_spec.md as --llm-model; if absent, use the model selected during the design phase.
python <skill_scripts_dir>/setup_template.py \
--llm-model <model-name> \
--target-dir .
CRITICAL: In case any of the above scripts fail due to any reason, do not proceed with coding. Instead, return the error message to the user and ask how they want to proceed.
g. Re-read AGENTS.md now that the template is ready.
Recreate the TODO list based on agent_spec.md — break down the implementation into discrete steps and add them to the TodoWrite tool.
.env files (.env.template files are OK)AGENTS.md to find the local test command.AGENTS.md for deployment instructionsThe following are the examples of helper scripts used in the skill. They are located in the scripts directory and are designed to assist with various tasks.
Lists available LLM models from DataRobot LLM Gateway.
Fetches and displays active models from the DataRobot LLM Gateway catalog:
python <scripts_dir>/list_llm_models.py \
--json
Requires env vars: DATAROBOT_API_TOKEN, DATAROBOT_ENDPOINT
Clones the DataRobot agent application template repository.
Clones the template to the current directory (repository URL and branch are hardcoded):
python <scripts_dir>/clone_template.py
Clone to a specific directory:
python <scripts_dir>/clone_template.py \
--target-dir ./my-project
Sets up a template repository for initializing a new agent project.
python <scripts_dir>/setup_template.py \
--llm-model <model-name> \
--target-dir .
Saves the chosen agentic framework to .datarobot/answers/agent-agent.yml
(field agent_template_framework). Preserves all other fields in the file.
python <scripts_dir>/select_framework.py \
--framework langgraph \
--target-dir .
Valid --framework values: langgraph, crewai, llamaindex, nat, base
Write specs in YAML to agent_spec.md in the working directory. Fields are optional when the spec is still evolving.
model: "anthropic/claude-sonnet-4-5-20250929" # DataRobot LLM Gateway model ID
system_prompt: "Your agent's instructions..."
tools:
- function_name: tool_name
inputs:
- arg_name: input_arg
type: str # one of: str, int, float, bool, list, dict
object_schema: "(optional: schema of dict/list contents)"
out:
- arg_name: output_arg
type: str
auth_spec:
service_name: "External API Service"
auth_method: api_key # api_key | oauth2 | basic_auth | bearer_token | service_account | other
examples:
- "Example user query 1"
- "Example user query 2"
frontend:
type: "chat" # chat | multi-page | custom
pages:
- "Analytics - shows search history and top topics"
requirements: "(optional additional UI requirements)"
When tools require external service auth, note that credentials must be configured as runtime parameters in the infrastructure code (see AGENTS.md for the pattern).
See references/agent-spec-examples.md for complete working examples.
Claude's built-in tools replace the plugin's custom Python tools:
| Plugin Tool | Claude Tool |
|---|---|
read_file | Read |
write_file | Write |
edit_file | Edit |
shell | Bash |
list_dir | Glob or Bash (ls) |
grep_files | Grep |
glob | Glob |
web_search | WebSearch |
get_web_page | WebFetch |
write_todos / read_todos | TodoWrite |
show_agent_spec | Write to agent_spec.md + display as YAML |
prepare_to_code | Bash (git clone + dr start) |
list_available_models | WebFetch (DataRobot API) |
code_research | Agent (Explore subagent) |
| Agent simulation (dress rehearsal) | Dress Rehearsal + <skill_scripts_dir>/rehearsal.py in this skill directory |
output_file contents — never add performance commentary or replace the script's bottom decoration / DONE hintThe DataRobot CLI (dr) is required for managing DataRobot custom applications.
Check if the CLI is installed:
dr --version
Expected output: DataRobot CLI version: v0.2.66 (or similar)
If not installed, run:
macOS/Linux:
curl https://cli.datarobot.com/install | sh
Windows:
irm https://cli.datarobot.com/winstall | iex
If the CLI version is too old, run to upgrade:
dr self update --force
Verify the CLI is authenticated:
dr auth check
If not authenticated, run:
dr auth login
This will guide the user through the authentication process interactively.
npx claudepluginhub datarobot-oss/datarobot-agent-skills --plugin datarobot-agent-skillsGuides users step-by-step through building, scaffolding, testing, and deploying AI agents on GreenNode AgentBase. Invoke for any agent creation request.
Provides the full agent development lifecycle (scaffold, build, evaluate, deploy, publish, observe) using ADK and google-agents-cli, with code preservation rules and troubleshooting.
Creates Claude Code agents from scratch or by adapting templates. Guides requirements gathering, template selection, and file generation following Anthropic best practices (v2.1.63+).