Help us improve
Share bugs, ideas, or general feedback.
From agentic-z
Bootstraps COT admin permissions on a DayZ test server by auto-launching, waiting for character spawn, editing per-player permission files, and relaunching.
npx claudepluginhub dayz-n-chill/agentic-z --plugin agentic-zHow this skill is triggered — by the user, by Claude, or both
Slash command
/agentic-z:dayz-cot-bootstrapThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
<!-- skill-dir-note -->
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Explores codebases via GitNexus: discover repos, query execution flows, trace processes, inspect symbol callers/callees, and review architecture.
Share bugs, ideas, or general feedback.
Path note:
<skill-dir>in commands below is the absolute path of this skill's folder. When the agent loads this skill the harness exposes the skill's base directory; substitute it before running. Sibling skills are reached via<skill-dir>\..\dayz-X\.
One-shot workflow for getting COT admin on a fresh test instance. COT writes its PermissionsFramework/Players/<id>.json and PermissionsFramework/Permissions/<id>.txt (along with the global Roles/{admin,everyone}.txt) on first server boot once a player has loaded in; those per-player files don't exist before that and can't be edited ahead of time. So the workflow is forced into two passes:
admin role to your Players JSON, then flip 0 → 2 in your Permissions/<id>.txt. Roles/everyone.txt and the other Roles/*.txt files are left alone — this is a strictly per-player grant.This skill automates all three steps. Counterpart to /dayz-launch-test — same launch contract, plus the COT-specific bootstrap dance.
Follow .claude/skills/_shared/dayz-conventions.md.
python "<skill-dir>\bootstrap.py" <ModName> [<ModName2> ...] [--server <instance>] [--port N] [--timeout SEC]
| Argument | Required? | Notes |
|---|---|---|
<ModName> ... | yes | One or more mod names already built (PBO must exist at P:\Mods\@<ModName>\Addons\). @CF and @Community-Online-Tools are auto-prepended to the mod chain — don't pass them yourself. |
--server | no | Server instance to launch on. Default chernarus. Must have been added via /dayz-add-server. |
--port | no | Server port. Default 2302. |
--timeout | no | Seconds to wait for your character to load on the first pass before giving up. Default 600 (10 minutes). |
/dayz-preflight; halts on non-zero.~/.claude/local-memory/dayz-current-project.txt.@CF + @Community-Online-Tools are subscribed at P:\Mods\ and that each user-passed mod has at least one PBO. Prepends CF + COT to the mod chain (dedup).<project>/.server/<instance>/serverDZ.cfg and the mission folder exist; auto-appends allowFilePatching = 1; if missing.<project>/.server/<instance>/Profiles/PermissionsFramework/Players/*.json for new files appearing. The first JSON written is COT registering your character. (Files present before launch are ignored, only newly-created or newly-modified files count.) On a solo test box there's normally exactly one player and exactly one new file.taskkill /IM DayZDiag_x64.exe /F on both server and client."admin" into its Roles[] array (idempotent — skips if already present).Permissions/<id>.txt: replace every line ending in 0 with 2. The script waits up to 15s for that file to appear (COT writes the JSON and the personal perms file close together but not always simultaneously). Space between perm name and digit is preserved.Roles/everyone.txt and the rest of Roles/*.txt are NEVER modified. Flipping everyone.txt would silently grant every connecting player full admin, which is unsafe even on a solo box and is not the COT-intended scoping./dayz-preflight returns non-zero./dayz-init first to set up the wizard cache).@CF or @Community-Online-Tools is not subscribed in Steam Workshop. (Check P:\Mods\@CF\Addons\ and P:\Mods\@Community-Online-Tools\Addons\.)/dayz-build-pbo <ModName> first).DayZDiag_x64.exe is not found.--server hasn't been added yet (run /dayz-add-server <instance> first).<project>/.server/<instance>/Profiles/script.log and the latest DayZDiag_x64_*.RPT (in either Profiles/ or <project>/.server/!ClientDiagLogs/) for errors.Re-running on the same instance:
"admin" in Roles, the JSON edit is a no-op.Permissions/<id>.txt is already all 2s, the flip is a no-op.Roles/everyone.txt and the other Roles/*.txt files are not read or written, so re-runs cannot drift their contents.[Pass 1/2] Launching server + client to generate COT permission files...
[OK] Server PID: 12345 Client PID: 67890
Waiting up to 600s for COT to register your character...
(watching <project>/.server/<instance>/Profiles/PermissionsFramework/Players/)
[OK] Detected new player file: flFK...HTY.json
[OK] Killed 2 DayZDiag_x64.exe process(es).
[Edit] Applying COT admin permissions (per-player only)...
[OK] Granted admin to flFK...HTY
[OK] flFK...HTY.txt: flipped 156 line(s) from 0 -> 2
[Pass 2/2] Relaunching with admin permissions...
[OK] Server PID: 13579 Client PID: 24680
You are now COT admin on '<instance>'. Open the COT menu in-game (default keybind: BACKSPACE).
Server logs: <project>/.server/<instance>/Profiles
Client logs: <project>/.server/!ClientDiagLogs
CF or Community-Online-Tools as mod names — they're auto-prepended. Passing them manually is a no-op (dedup) but it's noise./dayz-launch-test. This skill is only for the COT admin bootstrap dance./dayz-stop-test to clean up.Roles/everyone.txt (or any Roles/*.txt). The skill is intentionally per-player. Solo test boxes have exactly one player; grant goes to that player's JSON + Permissions/<id>.txt only.