Not loaded · from iris-dev
Guides setup of InterSystems IRIS containers (irishealth-community, AI Hub) with VSCode ObjectScript extension. Covers factory methods, two-container architecture, FHIR setup, and enterprise-vs-community web server split.
Claude Code won't load this skill
It ships in iris-dev at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
| Image | WebServer in iris.cpf | Port 52773 direct | Atelier REST | Solution |
|---|---|---|---|---|
iris:2026.1 (enterprise) | 0 — disabled | ❌ | ✅ via webgateway | See below |
iris-community:2026.1 | 1 — enabled | ✅ | ✅ | Direct port 52773 |
irishealth-community | 1 — enabled | ✅ | ✅ | Direct port 52773 |
irishealth:2026.2.0AI.* | 0 — disabled | ❌ | ✅ via webgateway | See below |
Enterprise images have WebServer=0 — the httpd binary and CSP.ini are not installed. However, the intersystems/webgateway sidecar container DOES work for Atelier REST. The webgateway uses CSP On (not SetHandler) to route all requests through the CSP module to IRIS via the superserver, and IRIS routes /api/atelier/ internally.
Three bugs that cause 404/403/500 during setup (verified 2026-05-03 — see iris-vscode-objectscript skill for full detail):
Configuration_Initialized appears, not immediately[LOCAL] — the gateway needs a login in CSP.ini's [LOCAL] section, and the default tries CSPSystem which doesn't exist; the iris-vscode-objectscript skill's init script fills it from ISC_WG_USER and ISC_WG_PASSWORD in the environment, never from a literalCSP On inside <Location />, NOT SetHandler csp-handler-saAlso required after first start: a new _SYSTEM password — fresh enterprise containers force a password change that blocks the webgateway connection. Use step 4 of the iris-agentic-dev-setup skill: it generates the password and sends it on docker exec -i stdin. Do not un-expire every account, which leaves the published SYS working on all of them. These steps are for a container you just started; ask before running them on one that already exists.
Load the iris-vscode-objectscript skill for the complete working webgateway-init.sh and docker-compose.
The intersystems.objectscript extension connects via Atelier REST on port 52773 (the IRIS private web server), not the superserver port 1972.
// ~/Library/Application Support/Code/User/settings.json (macOS)
// %APPDATA%\Code\User\settings.json (Windows)
{
"intersystems.servers": {
"my-iris-dev": {
"webServer": {
"host": "localhost",
"port": 52773, // ← IRIS private web server, NOT superserver
"pathPrefix": "", // empty for default, "/iris" if behind a proxy
},
"username": "_SYSTEM",
"description": "iris-community:2026.1 dev container",
},
},
"objectscript.conn": {
"server": "my-iris-dev",
"ns": "USER",
"active": true,
},
}
If your container maps 52773 to a different host port (e.g. "127.0.0.1:64773:52773"), use the host port in settings:
"webServer": {
"host": "localhost",
"port": 64773 // ← whatever the docker -p maps 52773 to on the host
}
Verify the connection works before opening VSCode ($PW is the _SYSTEM password from the setup skill's step 4; curl -K - keeps it off the process list):
printf 'user = "_SYSTEM:%s"\n' "$PW" | curl -s -K - "http://localhost:64773/api/atelier/" | python3 -c \
"import sys,json; d=json.load(sys.stdin); print(d['result']['content']['version'])"
# → IRIS 2026.1 (or similar) confirms Atelier REST is working
IRISContainer.health() | IRISContainer.ai_hub() | |
|---|---|---|
| Image | intersystemsdc/irishealth-community:latest | <registry>/intersystems/irishealth:2026.2.0AI.159.0 |
| Port 1972 | ✅ SuperServer | ✅ SuperServer |
| Port 52773 | ✅ FHIR HTTP / web portal | ❌ WebServer=0 |
| FHIR R4 endpoint | ✅ pre-installed | ❌ (class exists, no HTTP) |
%AI.Agent, VECTOR | ❌ | ✅ |
| License key | No | No |
| Registry | docker.io | not public — see below |
AI Hub builds are early-access images and are not published to Docker Hub. <registry>
stands for whichever registry your InterSystems contact gave you access to; released IRIS
images are on containers.intersystems.com. Replace the placeholder before running anything
below, and ask the user for the image name rather than guessing one.
from iris_devtester import IRISContainer
# FHIR R4 — Foundation.Install + InstallInstance baked at build time
# No ZPM, no network. Ready in ~90 seconds.
with IRISContainer.health() as iris:
h = iris.fhir_health_check()
print(h.report())
# Endpoint: http://localhost:52773/csp/healthshare/demo/fhir/r4
# FHIR: R4 v4.0.1 — 148 resource types
# AI Hub — %AI.Agent, %AI.MCP.Service, VECTOR SQL, SuperServer only
# Requires pull access to an AI Hub build image (not on Docker Hub)
with IRISContainer.ai_hub(build="159") as iris:
conn = iris.get_connection() # port 1972 only
# iris.cls("%AI.Agent") accessible
The health() container has this baked at build time:
set $NAMESPACE = "HSLIB"
do:'##class(%SYS.Namespace).Exists("demo") ##class(HS.Util.Installer.Foundation).Install("demo")
set $NAMESPACE = "demo"
set appKey = "/csp/healthshare/demo/fhir/r4"
set strategyClass = "HS.FHIRServer.Storage.Json.InteractionsStrategy"
set metadataPackages = $LISTBUILD("[email protected]","[email protected]")
do ##class(HS.FHIRServer.Installer).InstallInstance(appKey, strategyClass, metadataPackages)
~30 seconds, zero network calls.
/durable Volume OwnershipNamed Docker volumes mount as root. irisowner (uid 51773) cannot write.
ai_hub() defaults to tmpfs:/durable. For persistence, pass durable_path:
iris = IRISContainer.ai_hub(durable_path="/host/path/durable")
# Host path must be pre-chowned: chown 51773:51773 /host/path/durable
docker-compose init-container pattern (from grongierisc template):
services:
init-permissions:
image: alpine:latest
volumes: [iris-data:/dur]
command: sh -c "chown -R 51773:51773 /dur"
iris:
depends_on:
init-permissions:
condition: service_completed_successfully
volumes:
iris-data:
The -a hook in /iris-main runs after IRIS is already started. Any startup script under -a that calls iris start IRIS quietly will fail with "database already running" and exit. Scripts under -a must assume IRIS is live — poll port 1972, do not call iris start.
irishealth:2026.2.0AI.* has WebServer=0 in iris.cpf. No csp/bin/ directory. Port 52773 not available. FHIR HTTP endpoint not reachable. For both %AI.* and FHIR HTTP: use two-container split.
%AI.* in Read-Only irislib%AI.Agent, %AI.MCP.Service, %AI.ToolSet, %AI.Policy.Authorization live in irislib — a read-only database. Cannot export as UDL/XML. Cannot transplant to community image.
services:
fhir:
image: intersystemsdc/irishealth-community:latest
ports: ["127.0.0.1:1972:1972", "127.0.0.1:52773:52773"]
# FHIR R4: http://localhost:52773/csp/healthshare/demo/fhir/r4
ai_hub:
image: <registry>/intersystems/irishealth:2026.2.0AI.159.0
ports: ["127.0.0.1:11972:1972"]
volumes:
- type: tmpfs
target: /durable
tmpfs: { uid: 51773, gid: 51773 }
# %AI.Agent: connect to localhost:11972 via DBAPI
from iris_devtester.containers.models import FHIRContainerHealth
h = iris.fhir_health_check()
h.fhir_version # "4.0.1"
h.endpoint # "http://localhost:52773/csp/healthshare/demo/fhir/r4"
h.resource_types_count # 148
h.ready # True if accessible and fhir_version set
h.report() # human-readable summary
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub intersystems-community/iris-agentic-dev --plugin iris-dev40 skills in this plugin
/ensemble-productionManage and observe IRIS Interoperability productions — lifecycle, logs, queues, and message tracing. Covers pyprod Python API, ObjectScript Ens.Director, and MCP tool flow./iris-agentic-devConfigure, connect, and troubleshoot the iris-agentic-dev MCP server (iris_execute/iris_query/iris_doc/docs_introspect/kb/etc.) against an IRIS container or instance. Use when its tools return IRIS_UNREACHABLE, when pointing it at a new IRIS, or when a connection edit "isn't taking effect." Covers the .iris-agentic-dev.toml config, live file-watch reload, the OrbStack port-discovery gotcha, and the docker-exec fallback./iris-agentic-dev-setupInstall the iris-agentic-dev binary, get an IRIS instance running, and register the MCP server. Use when the IRIS tools are missing, when check_config reports disconnected, or when the user asks to set up, install, or connect iris-agentic-dev./iris-ai-hubIRIS AI Hub (%AI.* classes, EAP builds): where the upstream docs are and which file covers what, how to check them against the installed build, and the %AI.Agent / %AI.Tool / %AI.ToolSet / ConfigStore / Wallet / MCP server facts measured on 2026.3.0AI builds 139 and 154. Load when building or debugging AI Hub agents, tools, providers or MCP servers./iris-connectivityUse when connecting to IRIS from Python, Java, JDBC, ODBC, or any external language. IRIS connection APIs have specific package names, port numbers, and syntax that differ from every other database./iris-container-graceful-shutdownIRIS data persists across container restarts ONLY if IRIS is stopped gracefully before docker stop. Without this, docker stop sends SIGKILL after grace period, leaving the WIJ (write image journal) dirty. Data recovers on next start but takes 30-300s. Load when: stopping IRIS containers, setting up docker-compose for production, or debugging "tables exist but rows are gone after restart".
Other plugins' skills for the same job