/iris-dev:iris-agentic-dev-setupfrom iris-dev
Installs the iris-agentic-dev binary, starts an IRIS instance, and registers the MCP server. Useful when IRIS tools are missing or disconnected.
Ships in iris-dev. 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.
None: SKILL.md is the whole skill.
Work through the steps in order. Each one ends in a command whose output decides the next step, so run the command rather than assuming the state.
The goal state: iris-agentic-dev on PATH, one IRIS instance reachable and authenticating, an
MCP server registered against it, and a query returning rows.
command -v iris-agentic-dev && iris-agentic-dev --version
Not found: step 2.
Found: compare its version with the latest release. The plugin's skills and hooks update with the plugin, but the binary does not, so an older binary runs under newer skills that describe tools it may not have:
curl -fsSL https://api.github.com/repos/intersystems-community/iris-agentic-dev/releases/latest \
| sed -n 's/.*"tag_name": *"v\([^"]*\)".*/\1/p'
If the binary is older, tell the user and offer to upgrade it before going on. With Homebrew,
brew upgrade iris-agentic-dev; otherwise repeat step 2, writing the new binary over the old one
at the path command -v iris-agentic-dev printed. On Windows a running .exe cannot be
overwritten: close Claude Code and any other client using it first, or rename the old file and put
the new one in its place. Ask before upgrading; do not do it unprompted. If it is current, or the
user declines, skip to step 3.
Mac, Homebrew:
brew tap intersystems-community/tap
brew install iris-agentic-dev
The tap is intersystems-community/tap, which Homebrew resolves to the
intersystems-community/homebrew-tap repository. There is no per-project tap.
Without Homebrew, download the release binary for this machine and check it against the
release's SHA256SUMS before installing it. There is one binary per architecture and they are
not interchangeable: the wrong one installs and then fails with cannot execute binary file,
or on an Intel Mac with Bad CPU type in executable. So read the architecture rather than
picking a line:
case "$(uname -s)-$(uname -m)" in
Darwin-arm64) ASSET=iris-agentic-dev-macos-arm64 ;;
Darwin-x86_64) ASSET=iris-agentic-dev-macos-x86_64 ;;
Linux-x86_64) ASSET=iris-agentic-dev-linux-x86_64 ;;
Linux-aarch64) ASSET=iris-agentic-dev-linux-aarch64 ;;
*) echo "no published binary for $(uname -s)-$(uname -m); build from source" >&2 ;;
esac
VERSION=1.7.1
base="https://github.com/intersystems-community/iris-agentic-dev/releases/download/v$VERSION"
DL="$(mktemp -d)"
curl -fsSL "$base/$ASSET" -o "$DL/$ASSET" &&
curl -fsSL "$base/SHA256SUMS" -o "$DL/SHA256SUMS" &&
(cd "$DL" && if command -v sha256sum >/dev/null; then sha256sum -c --ignore-missing SHA256SUMS;
else shasum -a 256 -c --ignore-missing SHA256SUMS; fi) &&
install -m 0755 "$DL/$ASSET" /usr/local/bin/iris-agentic-dev
VERSION is the release this skill ships with. When step 1 found a newer release and the user
agreed to upgrade, set VERSION to that release instead; the checksum file comes from the same
tag. The check prints <asset>: OK on success. If it prints FAILED or anything else, stop,
show the user the output, and do not install the file by other means.
On a Mac, once the check has passed, clear the download quarantine flag if one is set. The binary has only an ad-hoc signature, so Gatekeeper kills the first run while the flag is there:
xattr -d com.apple.quarantine /usr/local/bin/iris-agentic-dev 2>/dev/null
If /usr/local/bin is not writable, install into any directory on PATH and use that path
in step 5. An asset name that does not exist shows up as curl: (56) ... error: 404 and writes
no file, so the && chain stops before the check. Either way, check that
iris-agentic-dev --version prints a version before moving on.
Windows: download iris-agentic-dev-windows-x86_64.exe and SHA256SUMS from the
releases page, compare
(Get-FileHash .\iris-agentic-dev-windows-x86_64.exe).Hash with that file's line in
SHA256SUMS, and put it somewhere on PATH. The rest of this skill's Docker steps assume a Unix
shell; on Windows run them from PowerShell with Docker Desktop and adjust quoting.
Then note the absolute path, because step 5 needs it:
command -v iris-agentic-dev
Most developers already have one running. Starting a second wastes several minutes and then confuses auto-discovery. But a container that already exists is the user's, with their work in it, so finding one is a reason to ask, not a reason to change anything.
docker ps --filter expose=1972 --format '{{.Names}}\t{{.Image}}\t{{.Ports}}'
Every row is a candidate.
_SYSTEM and no other, and only then run step 4's command
with that container's name in place of iris-quickstart.docker ps shows it
bound to 0.0.0.0. Tell the user about that binding and leave it.docker run -d --name iris-quickstart -p 127.0.0.1:1972:1972 -p 127.0.0.1:52773:52773 \
intersystemsdc/iris-community:latest
The 127.0.0.1: in front of each port decides who can reach the instance: only this machine.
Without it Docker publishes on every interface, and on Linux its own firewall rules sit ahead of
ufw and firewalld, so having a firewall does not help. Remove the prefix only if the user wants
other machines on the network to log in. Change the host side of both mappings if those ports
are taken.
This image has no Docker healthcheck, so docker inspect reports an empty health status
forever. Wait on the REST endpoint instead, which is the thing that has to work:
until curl -sf -o /dev/null http://localhost:52773/api/atelier/ \
|| [ "$(curl -s -o /dev/null -w '%{http_code}' http://localhost:52773/api/atelier/)" = "401" ]; do
sleep 5
done
A 401 means IRIS is up and asking for credentials, which is exactly where step 4 starts. First
boot takes about a minute. The web server answers a little before the instance accepts a
session, so if step 4 prints Sign-on and JOB inhibited, wait ten seconds and run it again.
_SYSTEM password and confirm the portA fresh community container ships _SYSTEM / SYS already expired. Every REST call returns
401 until that is dealt with, and nothing in the 401 says so. The fix is to give _SYSTEM a new
password. Do not clear the expiry on every account: that leaves SuperUser, Admin and
CSPSystem with a password that is published in the documentation.
This step applies only to the container step 3 started. Never run it on a container this skill did not start; step 3 says what to do with one.
Generate the password on the host and send the ObjectScript on docker exec -i stdin, so the
password is never on a command line, in docker inspect or in a file:
PW="$(openssl rand -base64 18)"
printf 'Set p("Password")="%s",p("ChangePassword")=0\nSet sc=##class(Security.Users).Modify("_SYSTEM",.p)\nWrite $Select(sc:"password changed",1:$System.Status.GetErrorText(sc)),!\nHalt\n' "$PW" \
| docker exec -i iris-quickstart iris session IRIS -U %SYS
echo "_SYSTEM password: $PW"
password changed in the output is the success line. Never send the password through iad: do
not hand it to iris_admin, iris_credential_manage or any other tool to set. Those calls need a working
login, which an expired password does not give, and an iad older than the 1.7.0 fix would carry
the password in a scratch class's source. Tell the user the password once, in your reply, because
nothing stores it for them. It passes through this session that one time.
Starting the container with -e IRIS_PASSWORD=<password> also sets _SYSTEM's password on the intersystemsdc images, but the value then sits in docker inspect and in the docker run command line, so this skill does not use it.
Do not assume the web port is 52773. Read the mapping off the container, and read the address too:
docker port iris-quickstart
Each line should read -> 127.0.0.1:<port>. The number after the colon beside 52773/tcp is the
web port for every step below. Anything else you may have seen, including 1972, is the
superserver port and will not answer REST. An address of 0.0.0.0 means the docker run in
step 3 lost its prefix.
Confirm both at once, substituting the port you just read. curl -K - reads the credential from
stdin, so the password stays off the process list:
printf 'user = "_SYSTEM:%s"\n' "$PW" \
| curl -s -K - -o /dev/null -w '%{http_code}\n' http://localhost:52773/api/atelier/
200 means ready. 401 means the password command has not taken effect; re-run it and read its
output. Anything else, or no response, means IRIS is not serving yet. Shell variables do not
survive between separate tool calls, so run the blocks that use $PW in one call, or set PW=
again from the value you gave the user.
Use the absolute path from step 2. A bare name works only if the host shell's PATH includes it, which is not the same PATH your terminal has.
The password goes into the registration's launch settings, which the host keeps in the user's own
configuration. It does not go in a workspace file: .iris-agentic-dev.toml sits in a project
directory that gets committed and shared.
claude mcp add iris-dev /usr/local/bin/iris-agentic-dev mcp \
--env IRIS_USERNAME=_SYSTEM --env IRIS_PASSWORD="$PW"
If IRIS is not on the default port, pin it rather than leaving it to discovery:
claude mcp add iris-dev /usr/local/bin/iris-agentic-dev mcp \
--env IRIS_USERNAME=_SYSTEM --env IRIS_PASSWORD="$PW" \
--env IRIS_WEB_PORT=52773 --env IRIS_CONTAINER=iris-quickstart
A per-project alternative is a .iris-agentic-dev.toml in the workspace, which the server
re-reads without a restart. It names the container and the ports and nothing secret:
iris-agentic-dev init
Installing the plugin instead of registering by hand gets the server and all the ObjectScript skills in one step, which is the better route when the user has not already chosen one. Then give the server the password through its launch settings in the same way:
claude plugin marketplace add intersystems-community/iris-agentic-dev
claude plugin install iris-dev@iris-agentic-dev
Restart the session after either route, so the host picks up the new server.
iris-agentic-dev tool check_config --json
Read connected, port and container, and check the last two against what step 3 or 4 gave
you. connected: true on its own does not prove you reached the right instance.
A pin is advisory. --container, --web-port and their IRIS_* environment equivalents are
honoured while the target they name answers; the moment it does not, for a dead port or an
expired password alike, discovery carries on looking and settles on whatever else on the machine
does answer. It then reports connected: true against a database nobody asked about. Measured:
check_config --container iris-nope --web-port 59999 came back connected: true on another
container entirely. The two fields it prints are honest about where it landed, which is why
reading them is the check, and connected on its own is not.
Then prove it can read:
iris-agentic-dev query "SELECT COUNT(*) AS Classes FROM %Dictionary.ClassDefinition"
A few thousand rows is a stock instance. That is setup finished.
To add the ObjectScript skills to a host that is not using the plugin:
iris-agentic-dev skill install
Probe the server directly. This never touches the active connection, and it separates the two failures that look identical from the outside:
iris-agentic-dev tool iris_test_server --args '{"host":"localhost","web_port":52773,"username":"_SYSTEM","password":"<password>"}'
Read the two flags independently:
reachable: true, auth: true — the instance is fine, so the problem is which connection the
server resolved. Go back to step 5 and pin the port and container.reachable: true, auth: false with Authentication failed (HTTP 401) — TCP and HTTP both
worked and the credentials were refused. On a fresh container the first cause to check is the
expired default password, not a typo. The 401 is byte-for-byte identical whether the password
is wrong or merely expired, so confirm that step 4 ran before you start doubting the
password.reachable: false — nothing answered. Check that the container is up
(docker ps --filter name=iris-quickstart), and that you are using the web port from
docker port rather than 1972.Replace <password> with the one step 4 generated. Pass username and password explicitly on
this probe. Omitted, they are not filled in from
the active configuration, and a perfectly healthy server comes back auth: false, which sends
you chasing a credential problem that does not exist.
One error code lies: a 401 during connection setup can surface as IRIS_UNREACHABLE. The
instance is reachable; the credentials were rejected. Treat IRIS_UNREACHABLE alongside an
HTTP 401 as an authentication failure and work the credentials (step 4), not the network.
Two more things that look like connection failures:
skills/skills/iris-agentic-dev/nopws-setup/SKILL.md.check_config's write_tools_enabled and write_tools_source say what is off and what
decided it.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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-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".
/iris-coverage-runMeasure ObjectScript line coverage using %Monitor.System.LineByLine. Wraps a %UnitTest.Manager.RunTest() call, collects per-class hit/total counts, prints a coverage table. Prerequisite: iris-coverage-setup (bbsiz=4096, IRIS restarted).Other plugins' skills for the same job