Dayz search download

From DayZ-n-Chill/Agentic-Z · View interactive version

Dayz search download is an AI agent skill from the GitHub repository DayZ-n-Chill/Agentic-Z. Downloads the prebuilt DayZ RAG search index from the repo's GitHub releases, verifies its SHA-256 and installs it for the dayz-rag MCP server. Use when setting up a fresh machine instead of building the index locally with /dayz-search-index.

How to use this skill

Skill file

<!-- skill-dir-note -->

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\.

/dayz-search-download

Pull the prebuilt vanilla-source vector index from the repo's GitHub releases instead of building it locally with /dayz-search-index, skipping the local build and its Voyage API embedding cost.

Follow skills/_shared/dayz-conventions.md.

When to use this vs. `/dayz-search-index`

| Scenario | Use |

|---|---|

| Fresh clone, just want DayZ agents to work | /dayz-search-download |

| You re-extracted vanilla data after a DayZ update | /dayz-search-index --full (rebuild against your local data) |

| You changed embed model in .env | /dayz-search-index --full |

The downloaded index is built against vanilla DayZ at the release-tagged version. If your local DayZ install is on a newer patch and you need precise recall against your installed source, rebuild locally.

Where it lands

~/.claude/dayz-search-index/, the same path /dayz-search-index writes to. Per-user, outside the repo, survives clones.

Releases have published the index under two asset names, dayz-rag-index-v0.1.0.tar.gz (most releases) and dayz-search-index-<version>.tar.gz (1.2.0 and 1.2.1). The skill accepts either, and either top-level folder name inside the archive (dayz-rag-index/ or dayz-search-index/), and always installs to ~/.claude/dayz-search-index/. Release 1.2.2 and every release from v2.0.0 on shipped with neither asset. Without --tag, a latest release like that is skipped: the skill prints a [WARN] line naming the latest tag and installs from the newest published (non-draft, non-prerelease) release that has an index asset. With --tag naming such a release it exits non-zero with a [FAIL] line.

After download the folder holds what /dayz-search-index writes (lancedb/, manifest.json, config.json), plus release-tag.txt, the release tag that was installed (written by this skill). If the old folder held usage.log (the token ledger /dayz-search-index uses for its free-tier check) or embed-checkpoint.bin (vectors from an unfinished local build), they are copied into the new index, so tokens you already spent still count. The release index was built before oversize class blocks were split into windows, so very long classes are only partly searchable; run /dayz-search-index --full if you need full coverage.

How to run

Latest release that has an index asset (default):

python "<skill-dir>\download.py"

Specific version:

python "<skill-dir>\download.py" --tag 1.2.1

Overwrite an existing index without the prompt (this also reinstalls when the installed tag already matches):

python "<skill-dir>\download.py" --force

Install an asset that has no published SHA-256 digest (every current release asset has one, so this is only for an asset uploaded without it):

python "<skill-dir>\download.py" --allow-unverified

Output

Each line is a [LEVEL] tag (INFO, OK, WARN, or FAIL for the error that ends a failed run), a tab, then the message:

DayZ RAG index downloader

[INFO]	Repo: DayZ-n-Chill/Agentic-Z
[INFO]	Resolving latest release...
[WARN]	Latest release <latest> has no index asset; using <tag>, the newest release that has one.
[OK]	Release: <tag>
[INFO]	Asset: dayz-rag-index-v0.1.0.tar.gz (<size> MB)
[INFO]	Target: C:\Users\you\.claude\dayz-search-index
[INFO]	Downloading... <size>/<size> MB (100%)
[OK]	Downloaded <size> MB
[OK]	SHA-256 verified.
[INFO]	Extracting...
[OK]	Indexed source chunks: <count>
[OK]	Embed model: voyage-code-3
[OK]	Done. The dayz-rag MCP server picks up the new index on its next search.

Idempotency

Upgrading an existing index (agents)

An agent's shell cannot answer the overwrite prompt. When the run ends on the Existing index ... not replaced [FAIL] line, ask the user whether to replace the installed index with the named tag. If they agree, rerun the same command with --force added; if not, stop and leave the index as it is.

Integrity checks

After downloading

The dayz-rag MCP server picks up the new index on its next search: it reopens the table whenever manifest.json changes. A restart of Claude Code (or a reconnect with /mcp) also works. Downloading needs no VOYAGE_API_KEY, but the server embeds each search query with Voyage, so add the key to .env before searching.

Dependencies

Do not

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.