rhecosystemappeng/agentic-collections/ds-project-setup
Claude Code and agent skill by rhecosystemappeng/agentic-collections
- community
Checking that the SKILL.md file is still in the repository.
Create and configure Data Science Projects on OpenShift AI with namespace setup, S3 data connections, pipeline server, and model serving enablement. Use when: - "Create a data science project" - "Set up a new namespace for ML work" - "Add an S3 data connection to my project" - "Configure the pipeline server" - "Enable model serving on my project" Bootstraps an RHOAI Data Science Project with proper labels, data connections, pipeline infrastructure, and model serving configuration. NOT for deploying models (use /model-deploy). NOT for creating workbenches (use /workbench-manage). NOT for managing pipelines after setup (use /pipeline-manage).
Install
npx vskill@latest install rhecosystemappeng/agentic-collections/ds-project-setupSKILL.md
The same SKILL.md was published earlier as rhecosystemappeng/agentic-collections/ds-project-setup.
/ds-project-setup Skill
Bootstrap a Red Hat OpenShift AI Data Science Project from scratch. Creates a namespace with RHOAI dashboard labels, configures S3-compatible data connections, sets up the pipeline server with external storage, and enables model serving on the project.
Prerequisites
Required MCP Server: openshift (OpenShift MCP Server)
Required MCP Tools (from openshift):
resources_get- Inspect namespace labels, LimitRange, ResourceQuota, DSPA statusresources_list- List namespaces, Secrets, PVCs (OpenShift fallback for RHOAI tools)resources_create_or_update- Create namespaces, Secrets, DSPA CRs (OpenShift fallback and primary for pipeline server)
Preferred MCP Server: rhoai (RHOAI MCP Server) — used when available, automatic OpenShift fallback on failure
Preferred MCP Tools (from rhoai):
list_data_science_projects- List existing RHOAI projects to check for duplicatescreate_data_science_project- Create namespace with RHOAI labels and dashboard integrationget_project_details- Verify project creation and inspect configuration. Note: usenameparameter, notnamespace.get_project_status- Get comprehensive project status including componentscreate_s3_data_connection- Create S3-compatible data connection secretlist_data_connections- List existing data connections in the projectget_pipeline_server- Check pipeline server configurationset_model_serving_mode- Enable single-model or multi-model serving
Note: create_pipeline_server is intentionally excluded — it constructs invalid DSPA manifests. Pipeline server creation always uses OpenShift direct.
Common prerequisites (KUBECONFIG, OpenShift+RHOAI cluster, verification protocol): See skill-conventions.md.
Fallback templates: See openshift-fallback-templates.md for OpenShift YAML templates used when RHOAI tools are unavailable.
Additional cluster requirements:
- Cluster admin or namespace creation privileges for the user
When to Use This Skill
Use this skill when you need to:
- Create a new Data Science Project namespace for an ML team
- Add S3 data connections to an existing project
- Configure the pipeline server on a project
- Enable or change the model serving mode (single vs multi-model)
- Bootstrap a complete project environment before deploying models or workbenches
Do NOT use this skill when:
- You want to deploy a model (use
/model-deploy) - You need to create a notebook workbench (use
/workbench-manage) - You need to manage pipeline runs (use
/pipeline-manage) - You need to configure a custom serving runtime (use
/serving-runtime-config)
Workflow
Step 1: Gather Requirements
Ask the user for the project name first:
- Project name: DNS-compatible name for the namespace (lowercase, no spaces, max 63 chars)
Immediately check if the project name already exists:
MCP Tool: list_data_science_projects (from rhoai)
Parameters: none
- If project exists: Report to user and offer options: "Project
[name]already exists. Would you like to: (a) configure additional components on it, or (b) choose a different name?" WAIT for user decision. If user chooses (a), skip Step 2 and proceed to optional configuration steps (Steps 3-5). If user chooses (b), repeat the name check. - If project does not exist: Continue gathering remaining requirements below.
If rhoai unavailable or returns error: Use resources_list (from openshift) with apiVersion: v1, kind: Namespace, labelSelector: opendatahub.io/dashboard=true.
Ask the user for remaining settings:
- Display name: Human-readable project name for the RHOAI dashboard
- Description: Optional project description
- Data connections: Whether to configure S3 data connections (yes/no)
- Pipeline server: Whether to configure the pipeline server (yes/no, requires data connection)
- Model serving mode: "single" (default, one model per endpoint) or "multi" (multiple models per endpoint)
Present configuration table:
| Setting | Value | |
|---|---|---|
| Project name | [name] | |
| Display name | [display_name] | |
| Description | [description] | |
| Data connections | [yes/no] | |
| Pipeline server | [yes/no] | |
| Model serving mode | [single/multi] |
WAIT for user to confirm or modify the configuration.
Step 2: Create Data Science Project
MCP Tool: create_data_science_project (from rhoai)
Parameters:
name: project name from Step 1 - REQUIRED (DNS-compatible: lowercase alphanumeric and hyphens, max 63 chars)display_name: human-readable display name - REQUIREDdescription: project description - OPTIONAL
If rhoai unavailable or returns error: Use resources_create_or_update (from openshift) to create the Namespace with RHOAI labels. See openshift-fallback-templates.md for the YAML template.
Verify creation:
MCP Tool: get_project_details (from rhoai)
Parameters:
name: the created project name - REQUIRED
Confirm the project was created with proper RHOAI labels (opendatahub.io/dashboard: "true").
If rhoai unavailable or returns error: Use resources_get (from openshift) with apiVersion: v1, kind: Namespace, name: [project-name]. Check for label opendatahub.io/dashboard: "true".
Note: The get_project_details tool requires a name parameter (not namespace). If the tool returns a parameter error, fall back to OpenShift.
Error Handling:
- If name already taken -> Offer alternative name or configure existing project
- If RBAC error -> Report: "Insufficient permissions to create namespaces. Contact your cluster administrator."
- If name invalid -> Report DNS naming constraints and suggest a valid name
Output to user: "Data Science Project [name] created successfully."
Step 3: Configure Data Connections (Optional)
Skip this step if user declined data connections in Step 1.
Ask the user for S3 connection details:
- Connection name: Identifier for this data connection
- S3 bucket: Target bucket name
- S3 endpoint: S3-compatible endpoint URL (e.g.,
https://s3.amazonaws.com, MinIO endpoint) - Access key: AWS access key ID or S3-compatible access key
- Secret key: AWS secret access key or S3-compatible secret key
- Region: AWS region or empty for non-AWS S3
Display connection configuration (credentials REDACTED):
| Setting | Value | |
|---|---|---|
| Connection name | [name] | |
| Bucket | [bucket] | |
| Endpoint | [endpoint] | |
| Access key | [first-4-chars]**** | |
| Secret key | **** | |
| Region | [region] |
WAIT for user to confirm the connection details are correct.
MCP Tool: create_s3_data_connection (from rhoai)
Parameters:
namespace: project name from Step 2 - REQUIREDname: connection name - REQUIREDbucket: S3 bucket name - REQUIREDendpoint: S3 endpoint URL - REQUIREDaccess_key: access key ID - REQUIREDsecret_key: secret access key - REQUIREDregion: AWS region - OPTIONAL (omit for non-AWS S3)
If rhoai unavailable or returns error: Use resources_create_or_update (from openshift) to create the Secret with S3 annotations. See openshift-fallback-templates.md for the YAML template.
Verify creation:
MCP Tool: list_data_connections (from rhoai)
Parameters:
namespace: project name - REQUIRED
Confirm the data connection appears in the list.
If rhoai unavailable or returns error: Use resources_list (from openshift) with apiVersion: v1, kind: Secret, namespace: [namespace], labelSelector: opendatahub.io/dashboard=true. Filter results by annotation opendatahub.io/connection-type: s3.
Error Handling:
- If connection name already exists -> Ask: "Data connection
[name]already exists. Create with a different name?" - If RBAC error -> Report insufficient permissions to create Secrets in namespace
Output to user: "Data connection [name] created in project [namespace]."
Repeat this step if user wants to create multiple data connections.
Step 4: Configure Pipeline Server (Optional)
Skip this step if user declined pipeline server in Step 1.
Prerequisite check: A data connection must exist in the project (from Step 3 or pre-existing). If no data connections exist, inform user: "Pipeline server requires an S3 data connection for artifact storage. Would you like to create one now?" and return to Step 3.
MCP Tool: get_pipeline_server (from rhoai)
Parameters:
namespace: project name - REQUIRED
If pipeline server already exists, report its status and ask if user wants to reconfigure.
Display pipeline server configuration:
| Setting | Value | |
|---|---|---|
| Namespace | [namespace] | |
| Data connection | [data_connection_name] |
WAIT for user to confirm pipeline server setup.
Pipeline Server Creation (OpenShift direct — the create_pipeline_server RHOAI tool is not used because it constructs invalid DSPA manifests):
MCP Tool: resources_create_or_update (from openshift)
Create a DataSciencePipelinesApplication CR using the template from openshift-fallback-templates.md.
Parameters to fill in the template:
namespace: target namespacebucket: S3 bucket name from the data connectionhost: S3 endpoint without protocol prefix (e.g.,minio.namespace.svc:9000)scheme:httporhttpssecretName: name of the S3 data connection secret created in Step 3region: AWS region or empty string for MinIO
Verify DSPA is ready:
MCP Tool: resources_get (from openshift)
apiVersion:datasciencepipelinesapplications.opendatahub.io/v1alpha1,kind:DataSciencePipelinesApplication,name:dspa,namespace: [namespace]
Check .status.conditions for Ready=True. Poll every 15 seconds until ready or timeout (5 minutes).
Verify creation:
MCP Tool: get_pipeline_server (from rhoai)
Parameters:
namespace: project name - REQUIRED
Confirm the pipeline server is configured and initializing.
If rhoai unavailable or returns error: Use resources_get (from openshift) for the DSPA CR as described above.
Error Handling:
- If data connection not found -> Report: "Data connection
[name]not found in namespace. Create it first." - If pipeline server already exists -> Ask user whether to reconfigure or keep existing
- If RBAC error -> Report insufficient permissions
Output to user: "Pipeline server configured in project [namespace] using data connection [data_connection]."
Step 5: Enable Model Serving and Report
MCP Tool: set_model_serving_mode (from rhoai)
Parameters:
namespace: project name - REQUIREDmode: "single" or "multi" - REQUIRED (default: "single")
If rhoai unavailable or returns error: Patch the namespace annotation via resources_create_or_update (from openshift). Set annotation opendatahub.io/model-serving-mode to single or multi on the Namespace.
Final validation:
MCP Tool: get_project_status (from rhoai)
Parameters:
namespace: project name - REQUIRED
Report project summary:
| Component | Status | |
|---|---|---|
| Project | [name] (created / existing) | |
| Data connections | [count] configured | |
| Pipeline server | [configured / not configured] | |
| Model serving | [single / multi] mode enabled |
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingrh-ai-engineer/skills/ds-project-setup/SKILL.md
Popularity
- Repository stars
- 48
- Repository forks
- 32
- 7-day trend score
- 19
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/rhecosystemappeng/agentic-collections/ds-project-setup)