/ibm-agentic-data-integration:di-agent-parameter-setsfrom IBM Agentic Data Integration
Guide for creating, editing, and using parameter sets (paramsets) in IBM watsonx.data integration. Covers parameter types, value sets, PROJDEF, local parameters, runtime parameters, flow parameters, #param# and ${param} reference syntax for both DataStage (batch) and StreamSets (streaming) flows, and parameterizing connection properties with external parameter sets. Use when the user wants to create, list, update, or delete parameter sets; manage value sets; attach parameter sets to flows or connections; parameterize connection properties; or reference parameters inside a flow or connection.
Ships in IBM Agentic Data Integration. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Never include any UUID in a reply. Project IDs, asset IDs, flow IDs, connection IDs, parameter set IDs — none of these may appear in your response, regardless of whether they came from a tool result or from your own session context. In particular, never open a reply with a phrase like "in your project
<uuid>" or "in project4c2d…". Always identify assets by name only. The only exception is aflow_linkfield returned ready-made by a tool.
StreamSets only supports
stringparameters. If the user's request involves a StreamSets flow and any requested parameter is notstringtype, stop immediately — before calling any tool. Explain the constraint, propose a corrected string-only plan, and wait for confirmation before proceeding. This check must happen beforelist_streamsets_flows, beforecreate_parameter_set, and before any other tool call.
Parameter sets are named collections of typed parameters stored as project-level assets. They let you define values once and reuse them across multiple flows — switching between environments (dev, test, prod) at job runtime without modifying the flow.
Before calling any tool, determine whether the target flow is:
string parameters only; no value sets, no PROJDEFMost parameter-set features are engine-specific. Getting this wrong leads to silent failures. → See resources/streaming_limitations.md for the full constraints and validation checklist.
| User need | Feature to use |
|---|---|
| Reuse values across multiple flows | Parameter set |
| Switch between dev / test / prod environments | Value set on a parameter set |
| One-off parameter for a single flow run | Local parameter (DataStage only) — use add_local_parameter |
| Project-level DataStage environment variables | PROJDEF |
| Parameterise a StreamSets flow | String-only parameter set |
| Manage connection values across environments | Attach parameter set to connection |
list_parameter_sets(project_id=..., name_filter=...) # use name_filter to narrow
get_parameter_set(parameter_set_id=..., project_id=...) # full details incl. value sets
Report by parameter set name only.
If the target is a StreamSets flow, verify every parameter type is string before calling any tool — see "Always Determine Flow Type First" above.
create_parameter_set(project_id=..., name=..., parameters=[...])
Confirm by parameter set name and parameters only.
For DataStage flows, all 11 types are supported. → resources/parameter_types.md for the full type table.
parameters is a full replacement list — any parameter omitted is deleted.
The tool enforces this automatically: if your submitted list would remove existing
parameters it returns an error naming the parameters that would be lost and asks
you to either include them or pass confirm_replacement=True.
Confirm changes by parameter set name and the updated parameter list.
The safest workflow is still to fetch first and merge:
get_parameter_set(...) # 1. fetch current parameters
update_parameter_set( # 2. submit full replacement list
parameter_set_id=...,
project_id=...,
parameters=[...merged...],
)
To intentionally drop parameters, pass confirm_replacement=True:
update_parameter_set(
parameter_set_id=...,
project_id=...,
parameters=[...reduced list...],
confirm_replacement=True,
)
Value sets let a single parameter set carry multiple environment snapshots:
manage_value_set(action="add", value_set_name="prod", values={...})
manage_value_set(action="replace", value_set_name="prod", values={...}) # overwrite
manage_value_set(action="remove", value_set_name="dev")
Confirm by parameter set name and value set name.
Never echo secret values back to the user. When a parameter set contains encrypted parameters, confirm the operation by naming the parameters that were set (e.g. "DB_PASS was stored") — never repeat the actual values in your response. This applies to confirmations, summaries, and plan previews.
→ resources/value_sets.md for full workflow and runtime selection.
attach_parameter_set_to_flow(project_id=..., flow_id=..., engine=..., parameter_set_name=...)
The registration is saved immediately. After confirming success, always tell the user the next step: to activate the parameters, add references to stage expressions using the correct syntax for the engine:
#setName.paramName#${setName__paramName}Do this in every attach confirmation reply — do not omit the next-step guidance even when the user only asked to attach. Confirm by flow name and parameter set name. → resources/flow_integration.md for reference syntax and workflow.
attach_parameter_set_to_connection(
project_id=...,
connection_id=...,
parameter_set_name=...,
property_mappings={"host": "DB_HOST", "port": "DB_PORT", "database": "DB_NAME"},
)
Confirm by connection name and parameter set name. If the tool result includes a runtime value-set selection example, relay it in prose (e.g. "To switch environments at runtime, pass the value set name in the job's runtime parameters") — do not reproduce it as a code block.
Replaces the listed connection property values with #paramSetName.paramName# references and enables the "Use external Parameter Sets" toggle on the connection. Use list_connections to find the connection_id, inspect_project_asset with asset_type="connection" to see the available property names, and list_parameter_sets / get_parameter_set to confirm parameter names.
→ resources/connection_integration.md for the full workflow.
get_flow_parameter_references requires a flow_id — never call it with an empty string. When the user gives a flow name, always call list_datastage_flows first to resolve the ID, then call get_flow_parameter_references with it. Do not attempt get_flow_parameter_references before the list call completes.
list_datastage_flows(entity_name=..., project_id=...) # 1. always do this first
get_flow_parameter_references(flow_id=..., project_id=...) # 2. then call with the id
Returns external_paramsets (parameter sets registered on the flow) and local_parameters (flow-scoped parameters). Report by flow name, parameter set names, and local parameter names. Use this before deleting a parameter set to confirm the flow still references it, or after attach_parameter_set_to_flow to verify the registration was saved.
DataStage only — engine is optional and defaults to "datastage"; pass engine="streamsets" only if you want the explicit not-supported error. This reports what is registered on the flow, not which stage expressions actually use those parameters; to find #setName.paramName# usage, retrieve the flow with retrieve_datastage_flow_code and search the stage property strings.
Local parameters are flow-scoped variables defined directly on the flow — not shared with other flows and not part of any parameter set. Reference them in stage expressions as #paramName# (no set name prefix).
add_local_parameter(
flow_id=..., project_id=...,
engine="datastage", # streamsets is not supported — returns an error
name="SCHEMA",
type="string", # all 11 DataStage types supported
value="PUBLIC", # optional default
)
Confirm by flow name and parameter name.
type accepts the same aliases as create_parameter_set: integer → int64, float → sfloat, list → enum.enum type requires valid_values=[...].subtype="envvar" is accepted as pass-through but has not been validated against the backend — treat as experimental until confirmed.remove_local_parameter(flow_id=..., project_id=..., engine="datastage", name=...)
Confirm by flow name and parameter name.
Removes the named parameter. Match is case-sensitive. Returns status="removed" on success or status="not_found" if the name does not exist — safe to call without a prior existence check.
update_parameter_set(parameter_set_id=..., project_id=..., name="NewName", description="...")
Confirm by old and new names only.
REQUIRED sequence — do not skip any step:
list_parameter_sets to resolve the name to an asset ID.get_asset_relationships (asset_type "parameter_set") with that ID before calling delete_parameter_set, regardless of whether you expect references.used_by is non-empty, warn the user of every referencing flow or connection and ask for confirmation before proceeding.used_by is empty, proceed to delete immediately — no confirmation turn is needed.delete_parameter_set only after step 3 is confirmed (or step 4 applies).# Step 1
list_parameter_sets(project_id=..., name_filter="MySet")
# Step 2 — always, unconditionally
get_asset_relationships(
assets=[{"asset_type": "parameter_set", "asset_id": "<resolved_id>"}],
project_id=...
)
# Step 5 — only after steps 3–4
delete_parameter_set(parameter_set_id=..., project_id=...)
Confirm deletion by parameter set name only.
Permanent and unrecoverable. The tool returns only {'deleted': True, 'parameter_set_id': ...} — it does not check for referencing flows. Deleting a set that is still referenced can leave those flows unable to validate or run until the broken references are removed.
| Tool | Purpose |
|---|---|
list_parameter_sets | List all sets in a project (excludes PROJDEF) |
get_parameter_set | Full details: parameters + value sets; includes streaming_warnings if the set has StreamSets incompatibilities |
create_parameter_set | Create a new set |
update_parameter_set | Rename, re-describe, or replace the parameters list; guards against accidental removal — use confirm_replacement=True to allow drops |
delete_parameter_set | Permanently delete a set; call get_asset_relationships first to find referencing flows, warn the user, then delete |
manage_value_set | Add / replace / remove a named value set |
attach_parameter_set_to_flow | Associate a set with a DataStage or StreamSets flow |
attach_parameter_set_to_connection | Parameterize connection properties with a parameter set; enables "Use external Parameter Sets" on the connection |
get_flow_parameter_references | Return external_paramsets and local_parameters registered on a DataStage flow (DataStage only) |
add_local_parameter | Add or overwrite a local parameter on a DataStage flow (DataStage only) |
remove_local_parameter | Remove a local parameter from a DataStage flow (DataStage only) |
PROJDEF is a reserved system name — never create a set with that name.update_parameter_set replaces the entire parameters list. Fetch first, merge, then submit.delete_parameter_set is permanent. Follow the 5-step sequence under "Delete a parameter set" above — get_asset_relationships before delete_parameter_set, unconditionally. Skip the confirmation turn only when used_by is empty; otherwise warn and confirm first.__. Only string parameters are injected.add_local_parameter and remove_local_parameter are DataStage only — passing engine="streamsets" returns an error immediately. On get_flow_parameter_references the engine argument is optional and defaults to "datastage".get_flow_parameter_references before add_local_parameter to avoid creating a duplicate under a different case.get_flow_parameter_references reports registration only. A set appearing in external_paramsets does not prove any stage expression uses it, and absence does not prove no #setName.paramName# text remains in the flow.attach_parameter_set_to_connection: both halves of property_mappings are validated before anything is patched — the keys must be properties the connection already has, and the values must be parameters on the named set. Use inspect_project_asset(asset_type="connection") to see available property names. Properties you don't map are left untouched, including secrets.update_datastage_flow replaces the entire flow definition, but it loads the stored flow first, so external_paramsets and local_parameters survive an edit — no re-attach is needed. Confirm with get_flow_parameter_references after edits that matter. → resources/flow_lifecycle_with_parameters.md for the full risk table.resources/common_mistakes.md (opens in a new tab)resources/connection_integration.md (opens in a new tab)resources/flow_integration.md (opens in a new tab)resources/flow_lifecycle_with_parameters.md (opens in a new tab)resources/parameter_types.md (opens in a new tab)resources/streaming_limitations.md (opens in a new tab)resources/troubleshooting.md (opens in a new tab)resources/value_sets.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
7 skills in this plugin
/di-agent-bug-reportGenerates a Markdown bug report for an IBM watsonx.data integration session. User can invoke directly. The agent MUST propose it (and must wait for explicit acceptance) after 3 or more consecutive calls to the same tool or the same sequence of tools result in a failure or the same error. Skip for non-watsonx.data integration sessions./di-agent-datastage-investigationDeep investigation of a failed run of a DataStage job already in operation — a scheduled or production job, or any job whose failure the user asks you to investigate. Works end-to-end from MCP tools: logs, job config, flow structure, connection health. Produces a root-cause diagnosis, not a fix. NOT for a run that failed while a flow was being built or edited — those are handled by the di-agent-flow-lifecycle skill, which runs its own investigation and loads this one only when a production-depth analysis is needed./di-agent-flow-datastageReference for the verbose watsonx.data integration SDK for DataStage (batch) flows, with exhaustive stage and property access — the full engine stage catalog. Load this only after the di-agent-flow-lifecycle router has selected the datastage-sdk authoring backend — this is a syntax and stage reference, not a decision about whether to use it. If you have not routed yet, load di-agent-flow-lifecycle instead./di-agent-flow-lifecycleEntry point for ALL flow work in watsonx.data integration — creating, editing, running, diagnosing a failed run, or backing up/restoring a flow. Load this FIRST whenever a request touches a data flow. It gathers intent — including which engine the flow runs on — routes to exactly one lifecycle state, and applies a fixed precedence order so routing is consistent run to run./di-agent-flow-pyflowAPI spec for pyflow, IBM's LLM-optimized Python DSL for authoring DataStage and StreamSets flows. Its compact surface and compile-time validation offer context efficiency, fast feedback, and correctness guarantees. Load this only after the di-agent-flow-lifecycle router has selected the pyflow authoring backend — this is a language reference, not a decision about whether to use it. If you have not routed yet, load di-agent-flow-lifecycle instead./di-agent-knowledge-engine-datastageQ&A reference for the DataStage parallel engine — parallelism, partitioning theory, APT configuration files, concurrent job execution, restart/recovery, disk/resource tuning, dataset performance, flow optimization (partitioning/sorting/memory), and per-stage semantics. Use for conceptual engine questions and stage property lookups regardless of authoring tool.npx claudepluginhub ibm/ibm-watsonx-data-integration-skills --plugin ibm-agentic-data-integration