/questviva:questvivafrom Quest Viva
Write, edit, check, play, and publish Quest Viva and Quest 5 text adventure games and gamebooks (.aslx files). Covers rooms, objects, exits, commands, ASL scripts, and the qv CLI tool.
Ships in Quest Viva. 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.
Read when SKILL.md points to them.
Quest Viva is a system for text adventures and gamebooks, the successor to Quest 5. A game is one .aslx file: XML holding the game, its rooms, objects, commands and functions, with scripts in Quest's own language, ASL. Publishing makes a .quest file, a zip package to play or upload.
Links in this skill such as elements are pages of Quest Viva's documentation. Read one with the docs tool of the qv MCP server, giving the link as page (reference/elements), or on the web under https://beta.questviva.com, such as https://beta.questviva.com/reference/elements/. https://beta.questviva.com/llms.txt lists every page.
.aslx file has rules of its own..aslx file with a <game> element; other .aslx files beside it, with no <game>, are its libraries. If there's more than one game, ask which. Give the MCP tools its full path.templatetype="gamebook" on its <asl> element and includes GamebookCore.aslx: it's made of pages and links, not rooms and commands, so read gamebooks. Everything else is a text adventure..aslx files can be edited. A .quest file is a published package. Ask the author for the .aslx it was published from; don't unzip it and change what's inside. Quest 1 to 4 games (.asl, .cas) can be played but not checked, and this skill doesn't cover writing them.For a new game, start from the template at the top of the primer, with a new GUID for gameid (uuidgen makes one) and the author's title.
qv, Quest Viva's command-line tool, checks, tests, plays, previews and publishes games. qv mcp --debug-tools runs it as an MCP server whose tools do the same things inside the conversation: check, run_walkthrough, start_game, send_command, evaluate, tick, docs, list_functions, describe_function, preview and publish. The Quest Viva plugin for Claude Code starts that server itself, as qv. Without the MCP server, the commands below do most of the same; evaluate, docs, list_functions and describe_function have no command-line equivalent, so read the docs on the web instead.
If qv isn't found, or the MCP server's tools aren't there, it isn't installed. Tell the author how to install it, and then to restart the agent (in Claude Code, /mcp can reconnect the server instead):
dotnet tool install -g QuestViva.Cli --prereleaseqv-<platform> download from the newest 6.1.0-beta release at https://github.com/textadventures/quest/releases, put somewhere on the PATH. Releases before 6.1 don't have qv.Until then, edit carefully from the primer and the docs, and tell the author that nothing has been checked.
After every change to the game:
check tool, or qv check game.aslx --json. It reports script commands and functions that don't exist, expressions that don't parse, wrong numbers of arguments, duplicate names, clashing verbs and anything that stops the game loading, each with its element and attribute. It exits 1 when there are problems. Loading errors, such as an exit to a missing room, hide everything else: fix them and check again. A clean check doesn't mean the game works, only that its scripts can run. Object and variable names aren't checked, and nor is passing the wrong kind of thing, such as a door object to UnlockExit, which wants the exit: only a walkthrough or playing catches those.<walkthrough> in the game with a list of steps, each a command a player would type or an assert: with an ASL expression that must be true (walkthroughs). Run one with run_walkthrough or qv walkthrough game.aslx <name>; with no name, qv walkthrough runs them all, and exits 1 if the game has none. It fails on a false assert:, a script error, a menu answer that isn't an option, or the game ending early, and its random numbers are seeded, so it gives the same result every time.
assert: that shows it, and run it to see it fail. Then fix the game and see it pass.start_game with the game's path, then send_command for each command. start_game with no path restarts the game, reading the file again, so it picks up your edits. evaluate works out an expression against the game's state, such as game.pov.parent or lamp.lit. Without the MCP tools, write the commands as a walkthrough and run it with qv walkthrough game.aslx <name>, which prints each command and the game's response. Piping commands into qv play (printf 'look\ntake lamp\n' | qv play game.aslx) works too, but doesn't echo the commands.docs searches the documentation (query foreach, MoveObject, locked exit) or reads a page, and it matches the version of qv that's running; without them, read the pages on the web. list_functions lists the functions the game can call, and describe_function shows one's parameters, its body and where it's defined: the game, one of its libraries or Quest's own.preview tool, or qv preview game.aslx, which runs until stopped, so start it in the background. Both give a URL on 127.0.0.1 that plays the game in Quest's browser player and reloads whenever the game's folder changes. Give the author the URL to try your change; if you have a browser tool, open it yourself.publish, or qv publish game.aslx for a .quest file, --format html for one web page or --format zip for a web page with its player. It checks the game first and refuses if there are problems; don't add --force unless the author says to.describe_function, and only do it when the author wants that behaviour changed..quest file, or the libraries built into Quest, such as Core.aslx and English.aslx, which aren't in the game's folder anyway: the game gets them from the version of Quest that runs it.gameid, which identifies the game when it's published, or the version on <asl>, unless the author asks to upgrade it (game file versions).qv publish packs every file at the top of the folder into the .quest file, and qv preview serves them.docs, and see elements for how several of them look in the XML.<inherit name="editor_room" /> and every object <inherit name="editor_object" />, as the editor does. When an object uses a feature such as a container or a light source, also set the feature attribute (feature_container and so on) the editor sets, or the editor hides that object's settings for it (feature attributes).Read these when you need more than the above:
.aslx format, attributes and their types, XML escaping, the ASL script language, the text processor, commands and verbs, common mistakes. Read before writing anything.start script. Read when adding any of these.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
quest-viva, text-adventure, gamebook, aslx, asl-scripting, game-development
npx claudepluginhub textadventures/quest --plugin questvivaOther plugins' skills for the same job