intersystems-community/iris-agentic-dev/iris-coverage-setup
Claude Code and agent skill by intersystems-community/iris-agentic-dev
- community
Checking that the SKILL.md file is still in the repository.
Enable the IRIS line-by-line monitor (bbsiz CPF parameter). Run once per container before measuring ObjectScript test coverage. Verifies $zu(84) is functional and diagnoses build incompatibility.
Install
npx vskill@latest install intersystems-community/iris-agentic-dev/iris-coverage-setupSKILL.md
/iris-coverage-setup — Enable IRIS Line-by-Line Monitor
Configure the IRIS instance so %Monitor.System.LineByLine can collect execution counts. Required before running /iris-coverage-run. Needs an IRIS restart.
Background
%Monitor.System.LineByLine wraps $zu(84,...) kernel calls. The shared memory buffer for line counting is controlled by bbsiz in iris.cpf [config]. It defaults to -1 (disabled). Without it set, Start() appears to succeed but collects nothing.
Build compatibility:
| Build | Works? | Notes | |
|---|---|---|---|
| AI builds (2026.x.0AI) | ✓ | Standard kernel | |
| SQLT.145+ / sqlt146 | ✓ | Standard kernel | |
| TBLP 127 (2026.3.0TBLP) | ✗ | $zu(84) not wired — <FUNCTION> error |
Step 1 — Check if monitor is already functional
If it throws <FUNCTION>: this IRIS build does not support $zu(84). Coverage measurement is not possible. Stop here and document the gap.
Step 2 — Set bbsiz and restart
Run in %SYS namespace (or via MCP tool with namespace="%SYS"):
Verify it wrote to iris.cpf:
IMPORTANT: Do NOT add `MonitorEnabled=1` to iris.cpf — that key is invalid and crashes IRIS on startup with "Invalid parameter name 'MonitorEnabled'".
Restart IRIS:
Step 3 — Verify monitor is functional after restart
If Start() returns ERROR #6060: Somebody else is using the Monitor — another process has the monitor. Stop it:
Step 4 — Verify result query returns data
If n = 0 despite code running — the monitor buffer allocated but $zu(84,0) returns 84 (state value, not error) and no counts were captured. This indicates the build doesn't fully support in-process line counting even with bbsiz set. Use dpgenai1 or an AI build.
Notes
bbsizis in[config]section, not[Monitor]section (which has no standard parameters)$zu(84,0)returning 84 is NOT an error code — it's the current state bitmask- Only one process can hold the monitor at a time — always
Stop()beforeStart() - Results must be queried in the same IRIS process that called
Stop() - INT routine name =
ClassName.1(not.cls, notClassName.INT)
Security
- Security scanPassed, 90 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 repositoryCheckingskills/iris-coverage-setup/SKILL.md
Popularity
- 7-day trend score
- 0
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/intersystems-community/iris-agentic-dev/iris-coverage-setup)