willy92wins/dayz-modding-knowledge-pack/dayz-mcp-verify
Claude Code and agent skill by willy92wins/dayz-modding-knowledge-pack
- community
- ext:[{"type":"plugin","description":"Custom plugin integration"}]
Checking that the SKILL.md file is still in the repository.
Auto-test a DayZ mod in-game through dayz-mcp without keyboard or OCR: spawn a classname, orbit/capture, raycast collision, inspect placement/attachments/telemetry and emit PNG+JSON evidence. Compose with dayz-test-ingame; dayz_test_run/dayz_test_stop own the managed lifecycle, then this skill drives the bridge. Use for "auto-probar el mod", "verificar in-game con MCP", visual smoke/re-test, "comprobar que el .p3d carga/se ve/colisiona", automated spawn+capture+raycast, or the vehicle acceptance ladder (spawn→render→get-in→drive→wheel direction). Covers static objects, items/weapons, buildings without doors and vehicle placement/drivability. Player UI, door interaction, inventory use and firing remain manual. Also: ScriptConsoleTabRegistry, IsHeadless roboclient, UA_AM_INIT action inject.
Install
npx vskill@latest install willy92wins/dayz-modding-knowledge-pack/dayz-mcp-verifySemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as willy92wins/dayz-modding-knowledge-pack/dayz-mcp-verify.
DayZ MCP verify — auto-test in-game vía tools MCP
GATE 0 — ask WHO is driving, before touching anything (added 2026-08-07)
(until 1.29: managed dayz_test_run / dayz_test_stop and Mode=all capture still hold.) (since 1.30: Diag Script Console tabs register via ScriptConsoleTabRegistry; IsHeadless() names roboclients; SP PerformActionStart no-ops while pending. Details: dayz-1-30-mcp-verify.md.)
Before the first `dayz-mcp` tool in a verification run, ask the user whether they are driving or the MCP is. Neither is assumed. A single question per run, not per capture.
Why it is a gate and not a preference: with the user present, their manual cycle is faster and yields better results — spawns with VPP in seconds and evaluates the whole scene at a glance, while MCP loop needs to position camera, capture, and chain tools. MCP wins when the user is NOT there: early morning, unattended run, or while attending another front. Furthermore, changing mode is not free midway (clean manual test requires relaunching without @DayZ_MCP), so the decision is made at the start of the cycle or paid twice.
| Situation | Who drives | |
|---|---|---|
| User present and available | Them (VPP + direct judgment) — MCP only if they ask | |
| User absent / unattended run | MCP, and report is left for them with evidence | |
| Doubt | Ask. Never assume |
What does NOT change: MCP remains mandatory for what a human cannot measure by eye (telemetry, numerical raycast, exact placement, repeatable series). There you do not ask, you use it.
Measurement that originated gate (2026-08-07, corpus of 276 sessions): 63% of wall-clock time in a full cycle falls on user side, and 71% of their actual verifications are automatable with today's tools. That it is automatable does not imply it should be automated: with them present, their cycle rules.
WHAT THIS DOES
Drives an already launched DayZDiag client, via dayz-mcp MCP server tools, to verify a mod without human intervention: spawns object, views it from multiple angles (camera + window-grab), checks collision via raycast, reads placement/telemetry, and produces a report with pass/fail criteria and evidence. It is the automated observation loop bridging the gap between "PBO compiles/deploys" and "looks and behaves properly in-game", for the class of properties that DO NOT require keyboard input.
Server-authoritative + passive pixel capture. Control and data are engine-native (spawn, raycast, telemetry, camera); sole non-native piece is visual capture (window-grab of rendered client — MakeScreenshot is broken in diag, T165276).
COMPOSITION — public lifecycle + MCP verification
Build/deploy/launch belongs to `dayz-test-ingame` (its environment preflight runs on its own: P:\ mounted, junction P:\Mods, AddonBuilder, allowFilePatching). This skill invokes it with MCP mod added and then drives. Bridge verbs do not start or terminate processes; public test tools do orchestrate managed lifecycle.
Before operational flow, read canonical protocol: <runbooks>\dayz-mcp-agent-session-protocol.md. [EXACT][CLAIM-R21-MCP-ORCHESTRATED-TEST] Execute lifecycle with dayz_test_run and stop it with dayz_test_stop on exact run_id. Both tools possess FIFO queue, lease, heartbeat, and release; do not wrap them in a second session_acquire. Reserve session_* primitives for low-level mutations not already encapsulated. Every lifecycle is identified by run_id: sharing mod does not grant ownership. Under retail quarantine only reads are allowed; if whoever opened retail cannot close it via UI, declare manual_cleanup_required.
Bridge startup sequence (rev. 2026-09-06): `dayz_test_run` → `session_acquire_wait` → verbs. Never probe before adopting. "Do not wrap launch in another lease" does not mean run remains yours: upon completion, dayz_test_run RELEASES its owner lease (daemon audit: session_release_finished reason=owner_release right after launch) and run transitions to RUNNING_IDLE without owner (release_owner, process_lifecycle.py:958-976). From that instant the idle run fence rejects ALL /enqueue on that run, reads included: _enqueue_run_rejection discards flag mutation (loopback.py:1293-1296) and for RUNNING_IDLE returns run_not_owned (:1317-1318) with hint "This run has no owner (RUNNING_IDLE). Adopt the existing run before dispatching." (:99-102, :1323-1329). The counter-intuitive part: bridge_status counter is named fence.mutation_rejects_by_code (:2821-2822) and counts reads as well. Every verb crossing bridge falls there (query_*, telemetry, raycast, captures, world_spawn…) and also wait_for(players_at_least|players_at_most), which polls with query_all_players (server.py:2645-2650). wait_for(log_matches) does NOT fall: reads log files without touching bridge (server.py:2603-2637, :2686-2697).
dayz_test_run(...)→ retainrun_id.- Optional without adopting:
wait_for(log_matches, "…")to wait for startup via RPT. session_acquire_wait(purpose=…): grant adopts the ONLY ownerlessRUNNING_IDLErun and
declares it in adopted_run (_adopt_on_grant, loopback.py:3119-3120, :3193-3230). Check adopted_run.ok before first verb. With multiple idle runs it answers adopted_run.error = "multiple_idle_runs" and adopts none (:3202-3208): dayz_test_stop surplus run and repeat.
wait_for(players_at_least, 1)and remaining verbs.
- [EXACT] The adopted lease expires by itself (added 2026-09-27, LFPowerGrid, three runs): it lasts 120 s and is NOT renewed internally, fresh MCP client or not. Send
session_heartbeatat least every ~90 s during the whole run, including while a human plays. Past the deadline the run goes ownerless again (grace.remaining_scounts down) and the daemon stops it (lifecycle_stop_outcome: stopped), even with the user in front of the game. (measured in game, DayZ 1.30.164014 Exp)
session_release→dayz_test_stop(run_id).
With an MCP client prior to 8f5727f of DayZ_MCP (2026-09-06) rejection arrived as a BARE remote_error, without code or hint (ledger entry fb-20260906-193626-f45d, first attributed to a client without polling); with current client it arrives as run_not_owned: This run has no owner (RUNNING_IDLE)…. In both cases remedy is adopting, neither retrying nor relaunching. This rule corrects step 1 of recipe SP-292 and clarifies first bullet of SP-152, below.
Two lease failures around long waits (measured in game sessions, 2026-09-28): (1) wait_for over the log does NOT renew the lease — a wait longer than ~2 min expired with lease_expired; interleave session_heartbeat between waits. (2) When a user message interrupts an in-flight call (a long wait_for), the next session_heartbeat answers lease_invalid: token was never valid for this client; if the run is still alive, session_acquire_wait readopts it. Also: dayz_test_close shuts the run down in order, with a termination line on both sides. [EXACT]
Companion externo: dayz-labs
[EXACT][CLAIM-R21-MCP-COMPANION-AUTHORITY] external_companion_no_lifecycle_authority. Release dayz-labs v0.1.35, reviewed at pinned commit dbd6ad3e54e30c81a9aeb88fcb9f60f007804c2a, can serve as reference or optional companion. Its start/stop/restart verbs are excluded while DayZ_MCP holds a run: only dayz_test_run / dayz_test_stop on exact run_id govern that lifecycle. Do not install or update companion as part of a gate; always document the examined pinned_version.
Its interface is WPF and captures its own application: wpf_not_layout_evidence. A correct capture from dayz-labs does not validate the parser, proportions, clipping, or semantics of a DayZ .layout; UI viewer needs its own render and comparison against in-game evidence.
The dayz_test_run request must select Mode=all, build when PBO changed, and @DayZ_MCP as additional dependency:
-Mode all(server + client) is MANDATORY: visual capture reads from **rendered
client**. A headless -Mode server has no window to grab.
@DayZ_MCPis loaded alongside the mod under test; both peers (server + client bridge) poll the
MCP server loopback.
PREREQUISITES (gate before driving)
- `dayz-mcp` registered and connectable. PRIMARY gate: are tools
mcp__dayz-mcp__* available in session? (ToolSearch finds them → gate PASS). claude mcp list is SECONDARY and NOT reliable: gives false × Failed to connect with server operational — do not block on it if ToolSearch sees tools. Tools are only available in a session started WITH server already registered (broker registration --client, see TROUBLESHOOTING).
- Bridge config seeded. In-game bridge reads
dayz_mcp.json(url + key + pollHz) from
its profiles; MCP server uses <DayZ_MCP_dev>\tools\.dayz_mcp.key. Seed the SAME key in launch profiles with install-mcp.ps1 pointing to directories generated by dayz-test.ps1:
``powershell <DayZ_MCP_dev>\tools\install-mcp.ps1 -ServerProfiles "<TargetMod>_dev\_server\profiles" -ClientProfiles "<TargetMod>_dev\_client\profiles" -MissionPath "<...>\mpmissions\dayzOffline.chernarusplus" ```
[verify on first run] — generic seeding (arbitrary mod + @DayZ_MCP via dayz-test.ps1) was until now only exercised through run-fase3.ps1. The FIRST run of this skill validates that bridge finds config in these paths; if bridge_status reports last_poll_age_s = null, config is not where bridge looks for it — adjust path and declare it.
- `bridge_status` green. ALWAYS first call:
bridge_status.server_peermust
have fresh last_poll_age_s (not null). For capture, client_peer as well. never polled → bridge did not start (config/key/startup) → abort and diagnose, do not keep driving blindly.
- **Mods passed via
extra_mods/base_modsmust be REAL DIRECTORY underP:\Mods
(→ !Workshop); Steam junctions ARE NOT valid.** Two layers, confusing them costs a session:
- Public boundary
_valid_public_mod(DayZ_MCP_dev\tools\dayz_mcp\dayz_test_tool.py:75-85)
rejects :, \ and / across all projects → absolute workshop path never passes through tool. That is by design, NOT a gap in your project's policy. (Updated 2026-10-03: the boundary now also accepts an absolute path inside the selected project's `mod_roots`; `_valid_public_mod` calls `dayz_test_request._valid_mod_entry` (`dayz_test_tool.py:269-272`, `dayz_test_request.py:222-233`, DayZ_MCP_dev `506de5d`). A workshop path lies outside them and still fails, with `bad_mod`.)
- Subscribed mods exposed by Steam in
!Workshop(@CF,@Dabs Framework,
@VPPAdminTools) are Junctions to steamapps\workshop\content\221100\<id>, and path identity guard rejects them → dayz_test_failed, which is the generic catch-all of server.py:1101 and swallows the real cause.
Operational consequence: CF/Dabs/VPP are only loaded by declaring them with absolute path in project default_base_mods inside launcher request-policy.json — which is how SUB_BRZ and LFHeli declare them. Mods that are real directories (@DayZ_MCP, @LFHeliCore, mod under test) do go via extra_mods with relative name.
Diagnosis in one command: Get-Item '<!Workshop>\<@Mod>' -Force | Select-Object LinkType → Junction = relative does not work. Measured 2026-08-02 with preflight=true (pure dry-check: dayz_test_worker.py:533-534 returns before build and launching anything): without mods OK · @DayZ_MCP OK · @A6_SR2M OK · @CF FAIL · base_mods=["@CF"] FAIL.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/dayz-mcp-verify/SKILL.md
Popularity
- Repository stars
- 16
- Repository forks
- 5
- 7-day trend score
- 19
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
pluginCustom plugin integration
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/willy92wins/dayz-modding-knowledge-pack/dayz-mcp-verify)